/aosp_15_r20/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/ |
D | CarAudioManagerTest.java | 49 private static final int TEST_FLAGS = 0; field in CarAudioManagerTest 138 mCarAudioManager.setGroupVolume(groudId, volume, TEST_FLAGS); in test_setGroupVolume() 139 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groudId, volume, TEST_FLAGS); in test_setGroupVolume() 183 mCarAudioManager.setVolumeGroupMute(PRIMARY_AUDIO_ZONE, groupId, true, TEST_FLAGS); in setVolumeGroupMute_toMute_mutesVolumeGroup() 187 mCarAudioManager.setVolumeGroupMute(PRIMARY_AUDIO_ZONE, groupId, muteState, TEST_FLAGS); in setVolumeGroupMute_toMute_mutesVolumeGroup() 198 mCarAudioManager.setVolumeGroupMute(PRIMARY_AUDIO_ZONE, groupId, false, TEST_FLAGS); in setVolumeGroupMute_toUnMute_unMutesVolumeGroup() 202 mCarAudioManager.setVolumeGroupMute(PRIMARY_AUDIO_ZONE, groupId, muteState, TEST_FLAGS); in setVolumeGroupMute_toUnMute_unMutesVolumeGroup() 217 TEST_FLAGS); in setGroupVolume_whileMuted_unMutesVolumeGroup() 218 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, minVolume, TEST_FLAGS); in setGroupVolume_whileMuted_unMutesVolumeGroup() 224 mCarAudioManager.setVolumeGroupMute(PRIMARY_AUDIO_ZONE, groupId, muteState, TEST_FLAGS); in setGroupVolume_whileMuted_unMutesVolumeGroup() [all …]
|
/aosp_15_r20/external/igt-gpu-tools/tests/ |
H A D | syncobj_wait.c | 303 flags_for_test_flags(uint32_t test_flags) in flags_for_test_flags() argument 307 if (test_flags & WAIT_FOR_SUBMIT) in flags_for_test_flags() 310 if (test_flags & WAIT_ALL) in flags_for_test_flags() 317 test_single_wait(int fd, uint32_t test_flags, int expect) in test_single_wait() argument 320 uint32_t flags = flags_for_test_flags(test_flags); in test_single_wait() 323 if (test_flags & (WAIT_SUBMITTED | WAIT_SIGNALED)) in test_single_wait() 326 if (test_flags & WAIT_SIGNALED) in test_single_wait() 345 test_wait_delayed_signal(int fd, uint32_t test_flags) in test_wait_delayed_signal() argument 348 uint32_t flags = flags_for_test_flags(test_flags); in test_wait_delayed_signal() 352 if (test_flags & WAIT_FOR_SUBMIT) { in test_wait_delayed_signal() [all …]
|
/aosp_15_r20/external/OpenCL-CTS/test_conformance/basic/ |
H A D | test_writeimage.cpp | 203 const cl_image_format img_format, cl_mem_flags test_flags) in check_format() argument 205 return is_image_format_required(img_format, test_flags, image_type, device) in check_format() 206 || is_image_format_supported(context, test_flags, image_type, in check_format() 216 const cl_mem_flags test_flags[] = { CL_MEM_WRITE_ONLY, CL_MEM_READ_WRITE }; in test_writeimage() local 218 for (size_t i = 0; i < ARRAY_SIZE(test_flags) && !err; i++) in test_writeimage() 221 test_flags[i]); in test_writeimage() 224 test_flags[i])) in test_writeimage() 227 test_flags[i]); in test_writeimage() 238 const cl_mem_flags test_flags[] = { CL_MEM_WRITE_ONLY, CL_MEM_READ_WRITE }; in test_writeimage_int16() local 240 for (size_t i = 0; i < ARRAY_SIZE(test_flags) && !err; i++) in test_writeimage_int16() [all …]
|
/aosp_15_r20/external/autotest/server/site_tests/firmware_Cr50BID/ |
H A D | firmware_Cr50BID.py | 153 self.add_test(hex(self.test_bid_int), self.test_flags, self.SUCCESS) 158 self.add_test(hex(test_bid), self.test_flags, self.SUCCESS) 164 self.add_test(hex(test_bid), self.test_flags, self.BID_ERROR) 170 self.add_test(hex(test_bid), self.test_flags, self.SUCCESS) 180 flag_str = bin(self.test_flags).split('b')[1] 188 if self.test_flags: 193 test_flags = self.test_flags | (1 << zero_index) 194 self.add_test(self.test_bid_sym, test_flags, self.SUCCESS) 198 test_flags = self.test_flags ^ (1 << one_index) 199 self.add_test(self.test_bid_sym, test_flags, self.BID_ERROR) [all …]
|
/aosp_15_r20/external/bazelbuild-rules_rust/.bazelci/ |
H A D | presubmit.yml | 97 test_flags: 106 test_flags: 113 test_flags: 266 test_flags: *aspects_flags 284 test_flags: *aspects_flags 294 test_flags: *nightly_flags 304 test_flags: *nightly_aspects_flags 544 test_flags: 557 test_flags: 573 test_flags: [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/ |
D | MaintenanceJobServiceTest.java | 81 private static final Flags TEST_FLAGS = FakeFlagsFactory.getFlagsForTest(); field in MaintenanceJobServiceTest 125 doReturn(TEST_FLAGS.getAdSelectionExpirationWindowS()) in testOnStartJob_TopicsKillSwitchOn() 181 TEST_FLAGS); in testOnStartJob_SelectAdsKillSwitchOn() 231 TEST_FLAGS); in testOnStartJob_SignalsDisabled() 289 TEST_FLAGS); in testOnStartJob_killSwitchOnDoesFledgeJobWhenTopicsJobThrowsException() 295 doReturn(TEST_FLAGS.getAdSelectionExpirationWindowS()) in testOnStartJob_killSwitchOnDoesFledgeJobWhenTopicsJobThrowsException() 358 TEST_FLAGS); in testOnStartJob_killSwitchOnDoesTopicsJobWhenFledgeThrowsException() 490 doReturn(TEST_FLAGS.getMaintenanceJobPeriodMs()) in testScheduleIfNeeded_ScheduledWithSameParameters() 493 doReturn(TEST_FLAGS.getMaintenanceJobFlexMs()).when(mMockFlags).getMaintenanceJobFlexMs(); in testScheduleIfNeeded_ScheduledWithSameParameters() 509 doReturn(TEST_FLAGS.getMaintenanceJobPeriodMs()) in testScheduleIfNeeded_ScheduledWithDifferentParameters() [all …]
|
/aosp_15_r20/external/tink/kokoro/testutils/ |
H A D | run_bazel_tests.sh | 46 TEST_FLAGS=() 61 t) TEST_FLAGS=($(echo "${OPTARG}" | tr ',' '\n')) ;; 101 TEST_FLAGS+=( 109 TEST_FLAGS+=( --jvmopt="-Djava.net.preferIPv6Addresses=true" ) 112 TEST_FLAGS+=( --experimental_inprocess_symlink_creation ) 116 readonly TEST_FLAGS 125 time "${BAZEL_CMD}" test "${TEST_FLAGS[@]}" -- ... || bazel_test_return="$?" 133 time "${BAZEL_CMD}" test "${TEST_FLAGS[@]}" -- "${MANUAL_TARGETS[@]}"
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceDaoTest.java | 98 private static final Flags TEST_FLAGS = FakeFlagsFactory.getFlagsForTest(); field in CustomAudienceDaoTest 213 CREATION_TIME_1, TEST_FLAGS)) 258 CREATION_TIME_2, TEST_FLAGS)) 271 LAST_UPDATED_TIME_2, TEST_FLAGS)) 324 CREATION_TIME_2, TEST_FLAGS)) 382 CREATION_TIME_MINUS_THREE_DAYS, TEST_FLAGS)) 410 CREATION_TIME_MINUS_THREE_DAYS, TEST_FLAGS)) 1165 doReturn(TEST_FLAGS).when(FlagsFactory::getFlags); in getByPrimaryKey_keyExistOrNotExist() 1201 doReturn(TEST_FLAGS).when(FlagsFactory::getFlags); in deleteByPrimaryKey_keyExist() 1238 doReturn(TEST_FLAGS).when(FlagsFactory::getFlags); in deleteByPrimaryKey_keyNotExist() [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/topics/src/com/android/adservices/service/topics/ |
D | EpochJobServiceTest.java | 92 private static final Flags TEST_FLAGS = FakeFlagsFactory.getFlagsForTest(); field in EpochJobServiceTest 160 .thenReturn(TEST_FLAGS.getTopicsEpochJobPeriodMs()); in testOnStartJob_rescheduleEpochJobEnabled() 161 when(mMockFlags.getTopicsEpochJobFlexMs()).thenReturn(TEST_FLAGS.getTopicsEpochJobFlexMs()); in testOnStartJob_rescheduleEpochJobEnabled() 195 .thenReturn(TEST_FLAGS.getTopicsEpochJobPeriodMs()); in testRescheduleEpochJobEnabled_withLogging() 196 when(mMockFlags.getTopicsEpochJobFlexMs()).thenReturn(TEST_FLAGS.getTopicsEpochJobFlexMs()); in testRescheduleEpochJobEnabled_withLogging() 340 doReturn(TEST_FLAGS.getTopicsEpochJobPeriodMs()) in testScheduleIfNeeded_ScheduledWithSameParameters() 343 doReturn(TEST_FLAGS.getTopicsEpochJobFlexMs()).when(mMockFlags).getTopicsEpochJobFlexMs(); in testScheduleIfNeeded_ScheduledWithSameParameters() 359 doReturn(TEST_FLAGS.getTopicsEpochJobPeriodMs()) in testScheduleIfNeeded_ScheduledWithDifferentParameters() 362 doReturn(TEST_FLAGS.getTopicsEpochJobFlexMs()).when(mMockFlags).getTopicsEpochJobFlexMs(); in testScheduleIfNeeded_ScheduledWithDifferentParameters() 374 doReturn(TEST_FLAGS.getTopicsEpochJobFlexMs() + 1) in testScheduleIfNeeded_ScheduledWithDifferentParameters() [all …]
|
/aosp_15_r20/external/bazelbuild-rules_android/mobile_install/ |
H A D | launcher.bzl | 30 TEST_FLAGS={test_flags} 34 if [[ ! -z ${{TEST_FLAGS}} ]]; then 51 if [[ ! -z ${{TEST_FLAGS}} ]]; then 53 -flagfile="${{TEST_FLAGS}}" \ 65 test_flags = "", 71 test_flags = test_flags, 155 test_flags = getattr(out_launcher_flags, path_type) if test_args or is_test else "",
|
H A D | launcher_direct.bzl | 29 TEST_FLAGS={test_flags} 34 if [[ ! -z ${{TEST_FLAGS}} ]]; 39 -flagfile="${{TEST_FLAGS}}" \ 54 test_flags = ""): 58 test_flags = test_flags, 141 test_flags = getattr(out_launcher_flags, path_type) if test_args or is_test else "",
|
/aosp_15_r20/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/ |
D | CarAudioManagerUnitTest.java | 89 private static final int TEST_FLAGS = 0; field in CarAudioManagerUnitTest 203 mCarAudioManager.setGroupVolume(TEST_VOLUME_GROUP_ID, TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withoutZoneId() 206 TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withoutZoneId() 212 TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withZoneId() 215 TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withZoneId() 221 TEST_VOLUME_GROUP_ID, TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withServiceRemoteException() 224 TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withServiceRemoteException() 759 serviceCallback.onMasterMuteChanged(TEST_REAR_RIGHT_ZONE_ID, TEST_FLAGS); in onMasterMuteChanged_forICarVolumeEventCallback() 762 TEST_REAR_RIGHT_ZONE_ID, TEST_FLAGS); in onMasterMuteChanged_forICarVolumeEventCallback() 764 TEST_REAR_RIGHT_ZONE_ID, TEST_FLAGS); in onMasterMuteChanged_forICarVolumeEventCallback() [all …]
|
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/copts/ |
H A D | copts.py | 143 def GccStyleFilterAndCombine(default_flags, test_flags): argument 144 """Merges default_flags and test_flags for GCC and LLVM. 148 test_flags: A list of flags that are only used in tests 151 A combined list of default_flags and test_flags, but with all flags of the 152 form '-Wwarning' removed if test_flags contains a flag of the form 155 remove = set(["-W" + f[5:] for f in test_flags if f[:5] == "-Wno-"]) 156 return [f for f in default_flags if f not in remove] + test_flags
|
/aosp_15_r20/external/abseil-cpp/absl/copts/ |
H A D | copts.py | 143 def GccStyleFilterAndCombine(default_flags, test_flags): argument 144 """Merges default_flags and test_flags for GCC and LLVM. 148 test_flags: A list of flags that are only used in tests 151 A combined list of default_flags and test_flags, but with all flags of the 152 form '-Wwarning' removed if test_flags contains a flag of the form 155 remove = set(["-W" + f[5:] for f in test_flags if f[:5] == "-Wno-"]) 156 return [f for f in default_flags if f not in remove] + test_flags
|
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/copts/ |
H A D | copts.py | 140 def GccStyleFilterAndCombine(default_flags, test_flags): argument 141 """Merges default_flags and test_flags for GCC and LLVM. 145 test_flags: A list of flags that are only used in tests 148 A combined list of default_flags and test_flags, but with all flags of the 149 form '-Wwarning' removed if test_flags contains a flag of the form 152 remove = set(["-W" + f[5:] for f in test_flags if f[:5] == "-Wno-"]) 153 return [f for f in default_flags if f not in remove] + test_flags
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/copts/ |
D | copts.py | 140 def GccStyleFilterAndCombine(default_flags, test_flags): argument 141 """Merges default_flags and test_flags for GCC and LLVM. 145 test_flags: A list of flags that are only used in tests 148 A combined list of default_flags and test_flags, but with all flags of the 149 form '-Wwarning' removed if test_flags contains a flag of the form 152 remove = set(["-W" + f[5:] for f in test_flags if f[:5] == "-Wno-"]) 153 return [f for f in default_flags if f not in remove] + test_flags
|
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/copts/ |
H A D | copts.py | 144 def GccStyleFilterAndCombine(default_flags, test_flags): argument 145 """Merges default_flags and test_flags for GCC and LLVM. 149 test_flags: A list of flags that are only used in tests 152 A combined list of default_flags and test_flags, but with all flags of the 153 form '-Wwarning' removed if test_flags contains a flag of the form 156 remove = set(["-W" + f[5:] for f in test_flags if f[:5] == "-Wno-"]) 157 return [f for f in default_flags if f not in remove] + test_flags
|
/aosp_15_r20/external/autotest/server/site_tests/firmware_Cr50PartialBoardId/ |
H A D | firmware_Cr50PartialBoardId.py | 51 self.test_flags = self.ALLOW_FLAGS | self.image_flags 124 bid = (self.test_brand, None, self.test_flags) 132 second_bid = (self.test_brand, None, self.test_flags) 140 partial_bid = (cr50_utils.ERASED_BID_STR, None, self.test_flags) 142 cr50_utils.ERASED_BID_STR, self.test_flags) 146 updated_brand_bid = (self.test_brand, None, self.test_flags) 153 bid = (cr50_utils.ERASED_BID_STR, '00000000', self.test_flags)
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/memfd_create/ |
H A D | memfd_create04.c | 35 } test_flags[] = { variable 47 static void check_hugepage_support(struct test_flag *test_flags) in check_hugepage_support() argument 53 strcat(pattern, test_flags->h_size); in check_hugepage_support() 56 test_flags->exp_err = ENODEV; in check_hugepage_support() 64 tflag = test_flags[n]; in memfd_huge_x_controller() 96 .tcnt = ARRAY_SIZE(test_flags),
|
/aosp_15_r20/external/bazelbuild-rules_python/.bazelci/ |
H A D | presubmit.yml | 39 test_flags: 42 test_flags: 47 test_flags: 56 test_flags: 73 test_flags: 97 test_flags: 174 test_flags: 188 test_flags: 199 test_flags:
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceUpdatableDataTest.java | 57 private static final Flags TEST_FLAGS = new CustomAudienceUpdateableDataTestFlags(); field in CustomAudienceUpdatableDataTest 101 TEST_FLAGS); in testBuildUpdatableDataSuccess() 493 TEST_FLAGS); in testBuildEmptyUpdatableDataSuccess() 508 TEST_FLAGS); in testBuildEmptyUpdatableDataSuccess() 553 TEST_FLAGS); in testBuildEmptyUpdatableDataWithNonEmptyResponseSuccess() 577 TEST_FLAGS); in testHarmlessJunkIgnoredInUpdatableDataCreateFromResponse() 591 TEST_FLAGS); in testHarmlessJunkIgnoredInUpdatableDataCreateFromResponse() 636 TEST_FLAGS); in testUnsuccessfulInitialUpdateResultCausesUnsuccessfulUpdate() 653 TEST_FLAGS); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()
|
/aosp_15_r20/external/bazel-skylib/.bazelci/ |
H A D | presubmit.yml | 24 test_flags: *reusable_test_flags 57 test_flags: 75 test_flags: 106 test_flags: 124 test_flags:
|
/aosp_15_r20/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
H A D | RadioAlertUnitTest.java | 36 private static final int TEST_FLAGS = 0; field in RadioAlertUnitTest 130 TEST_GEOCODE_1.writeToParcel(parcel, TEST_FLAGS); in writeToParcel_forGeocode() 209 TEST_POLYGON_COORDINATE_START.writeToParcel(parcel, TEST_FLAGS); in writeToParcel_forCoordinate() 298 TEST_POLYGON.writeToParcel(parcel, TEST_FLAGS); in writeToParcel_forPolygon() 368 TEST_AREA_1.writeToParcel(parcel, TEST_FLAGS); in writeToParcel_forAlertArea() 480 TEST_ALERT_INFO_2.writeToParcel(parcel, TEST_FLAGS); in writeToParcel_forAlertInfoWithNullLanguage() 493 TEST_ALERT_INFO_1.writeToParcel(parcel, TEST_FLAGS); in writeToParcel_forAlertInfoWithNonnullLanguage() 570 TEST_ALERT.writeToParcel(parcel, TEST_FLAGS); in writeToParcel()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_pipe.c | 1072 static void si_test_vmfault(struct si_screen *sscreen, uint64_t test_flags) in si_test_vmfault() argument 1085 if (test_flags & DBG(TEST_VMFAULT_CP)) { in si_test_vmfault() 1090 if (test_flags & DBG(TEST_VMFAULT_SHADER)) { in si_test_vmfault() 1152 uint64_t test_flags; in radeonsi_screen_create_impl() local 1179 test_flags = debug_get_flags_option("AMD_TEST", test_options, 0); in radeonsi_screen_create_impl() 1492 if (test_flags & DBG(TEST_CLEAR_BUFFER)) in radeonsi_screen_create_impl() 1495 if (test_flags & DBG(TEST_COPY_BUFFER)) in radeonsi_screen_create_impl() 1498 if (test_flags & DBG(TEST_IMAGE_COPY)) in radeonsi_screen_create_impl() 1501 if (test_flags & (DBG(TEST_CB_RESOLVE) | DBG(TEST_COMPUTE_BLIT))) in radeonsi_screen_create_impl() 1502 si_test_blit(sscreen, test_flags); in radeonsi_screen_create_impl() [all …]
|
/aosp_15_r20/external/bazelbuild-rules_go/.bazelci/ |
H A D | presubmit.yml | 24 test_flags: 36 test_flags: 52 test_flags: 63 test_flags: 249 test_flags: 336 test_flags: 348 test_flags: 369 test_flags:
|