Home
last modified time | relevance | path

Searched refs:FLAGS (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceFieldSizeValidatorTest.java43 private static final Flags FLAGS = CommonFixture.FLAGS_FOR_TEST; field in CustomAudienceFieldSizeValidatorTest
46 new CustomAudienceFieldSizeValidator(FLAGS);
50 String tooLongName = getStringWithLength(FLAGS.getFledgeCustomAudienceMaxNameSizeB() * 2); in testNameTooLong()
59 FLAGS.getFledgeCustomAudienceMaxNameSizeB(), in testNameTooLong()
68 FLAGS.getFledgeCustomAudienceMaxBiddingLogicUriSizeB()); in testBiddingLogicUriTooLong()
77 FLAGS.getFledgeCustomAudienceMaxBiddingLogicUriSizeB(), in testBiddingLogicUriTooLong()
86 FLAGS.getFledgeCustomAudienceMaxDailyUpdateUriSizeB()); in testDailyUpdateUriTooLong()
95 FLAGS.getFledgeCustomAudienceMaxDailyUpdateUriSizeB(), in testDailyUpdateUriTooLong()
103 FLAGS.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB() * 2); in testUserBiddingSignalsTooBig()
112 FLAGS.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB(), in testUserBiddingSignalsTooBig()
[all …]
DCustomAudienceQuantityCheckerTest.java40 private static final Flags FLAGS = FlagsFactory.getFlagsForTest(); field in CustomAudienceQuantityCheckerTest
48 mChecker = new CustomAudienceQuantityChecker(mCustomAudienceDao, FLAGS); in setup()
80 .setTotalOwnerCount(FLAGS.getFledgeCustomAudienceMaxOwnerCount()) in testExistOwnerAndOwnerReachMax_success()
98 .setTotalOwnerCount(FLAGS.getFledgeCustomAudienceMaxOwnerCount()) in testOwnerExceedMax()
124 FLAGS.getFledgeCustomAudienceMaxCount()) in testTotalCountExceedMax()
152 FLAGS.getFledgeCustomAudiencePerAppMaxCount()) in testPerOwnerCountExceedMax()
DCustomAudienceTimestampValidatorTest.java33 private static final Flags FLAGS = FlagsFactory.getFlagsForTest(); field in CustomAudienceTimestampValidatorTest
36 CommonFixture.FIXED_CLOCK_TRUNCATED_TO_MILLI, FLAGS);
137 Duration.ofMillis(FLAGS.getFledgeCustomAudienceMaxExpireInMs()), in testNullActivationTimeWithExpireAfterMax()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeCallbackHandlerTest.java36 private static final int FLAGS = 0; field in CarVolumeCallbackHandlerTest
61 mHandler.onVolumeGroupChange(ZONE_ID, GROUP_ID, FLAGS); in onVolumeGroupChange_callsAllRegisteredCallbacks()
71 .that(mCallback1.mFlags).isEqualTo(FLAGS); in onVolumeGroupChange_callsAllRegisteredCallbacks()
81 .that(mCallback2.mFlags).isEqualTo(FLAGS); in onVolumeGroupChange_callsAllRegisteredCallbacks()
88 mHandler.onVolumeGroupChange(ZONE_ID, GROUP_ID, FLAGS); in onVolumeGroupChange_doesNotCallUnregisteredCallbacks()
102 mHandler.onVolumeGroupChange(ZONE_ID, GROUP_ID, FLAGS); in onVolumeGroupChange_doesNotCallDeprioritizedCallback()
118 mHandler.onVolumeGroupChange(ZONE_ID, GROUP_ID, FLAGS); in onVolumeGroupChange_callReprioritizedCallback()
128 mHandler.onVolumeGroupChange(ZONE_ID, GROUP_ID, FLAGS); in onVolumeGroupChange_doesNotCallThrows()
140 mHandler.onGroupMuteChange(ZONE_ID, GROUP_ID, FLAGS); in onGroupMuteChange_callsAllRegisteredCallbacks()
154 mHandler.onGroupMuteChange(ZONE_ID, GROUP_ID, FLAGS); in onGroupMuteChanged_doesNotCallUnregisteredCallbacks()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBCustomAudienceTest.java44 private static final Flags FLAGS = FlagsFactory.getFlagsForTest(); field in DBCustomAudienceTest
46 Duration.ofMillis(FLAGS.getFledgeCustomAudienceDefaultExpireInMs());
59 FLAGS)); in testFromServiceObject_success() local
73 FLAGS)); in testFromServiceObject_successNoFilters() local
86 FLAGS)); in testFromServiceObject_nullCustomAudience()
101 FLAGS)); in testFromServiceObject_nullCallerPackageName()
116 FLAGS)); in testFromServiceObject_nullCurrentTime()
131 FLAGS)); in testFromServiceObject_nullDefaultExpireIn()
164 FLAGS)); in testFromServiceObject_noAdsData_lastUpdatedSetToZero() local
183 FLAGS)); in testFromServiceObject_activationTimeBeforeCurrentTime_setToNow()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dadv_parser.rs9 const FLAGS: u8 = 0x01; constant
54 iterate_adv_data(bytes, FLAGS).next().map_or(0, |v| v[0]) in extract_flags()
121 FLAGS, in test_extract_flags()
148 let payload: Vec<u8> = vec![2, FLAGS, 3]; in test_extract_service_uuids()
154 FLAGS, in test_extract_service_uuids()
208 let payload: Vec<u8> = vec![2, FLAGS, 3]; in test_extract_name()
212 let payload: Vec<u8> = vec![2, FLAGS, 3, 5, COMPLETE_LOCAL_NAME, 116, 101, 115, 116]; in test_extract_name()
216 let payload: Vec<u8> = vec![2, FLAGS, 3, 5, SHORTENED_LOCAL_NAME, 116, 101, 115, 116]; in test_extract_name()
223 let payload: Vec<u8> = vec![2, FLAGS, 3]; in test_extract_service_data()
300 let payload: Vec<u8> = vec![2, FLAGS, 3]; in test_extract_manufacturer_data()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2ChallengeResponseTest.java38 private static final int FLAGS = 0; field in EapMsChapV2ChallengeResponseTest
45 ID_INT, PEER_CHALLENGE_BYTES, NT_RESPONSE_BYTES, FLAGS, PEER_NAME_BYTES); in testConstructor()
51 assertEquals(FLAGS, challengeResponse.flags); in testConstructor()
63 FLAGS, in testConstructorInvalidChallenge()
78 FLAGS, in testConstructorInvalidNtResponse()
104 ID_INT, PEER_CHALLENGE_BYTES, NT_RESPONSE_BYTES, FLAGS, PEER_NAME_BYTES); in testEncode()
/packages/modules/Bluetooth/system/blueberry/grpc/
Dblueberry_device_controller.py20 FLAGS = flags.FLAGS variable
27 futures.ThreadPoolExecutor(max_workers=FLAGS.threads),
28 ports=(FLAGS.port,)) # pytype: disable=wrong-keyword-args
Dblueberry_test_client.py15 FLAGS = flags.FLAGS variable
33 with grpc.secure_channel(FLAGS.server, channel_creds) as channel:
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dinit_flags.rs59 FLAGS.lock().unwrap().$flag
67 FLAGS.lock().unwrap().$flag
78 FLAGS.lock().unwrap().$flag = value;
86 FLAGS.lock().unwrap().$flag = value;
330 let guard = FLAGS.lock().unwrap(); in get_log_level_for_tag()
337 *FLAGS.lock().unwrap() = InitFlags::get_defaults_for_test(); in set_all_for_testing()
432 static ref FLAGS: Mutex<InitFlags> = Mutex::new(InitFlags::default());
445 *FLAGS.lock().unwrap() = flags; in load()
453 FLAGS.lock().unwrap().dump() in dump()
514 FLAGS.lock().unwrap().default_log_level = LOG_TAG_INFO; in explicit_flag()
/packages/modules/Bluetooth/system/blueberry/utils/command_line_runner/
Drun_bluetooth_tests.py23 FLAGS = flags.FLAGS variable
183 dut_config_dict_list = [parse_flag_value(value) for value in FLAGS.bt_dut]
209 test_config_dict_list = [parse_flag_value(value) for value in FLAGS.bt_test]
/packages/modules/Bluetooth/system/blueberry/controllers/
Dgrpc_bt_target_mock.py31 FLAGS = flags.FLAGS variable
63 self.channel = grpc.secure_channel(FLAGS.server, self.channel_creds)
Dgrpc_bt_sync_mock.py31 FLAGS = flags.FLAGS variable
64 self.channel = grpc.secure_channel(FLAGS.server, self.channel_creds)
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterFlags.kt298 private val FLAGS: List<Flag<*>> = in <lambda>() constant
414 DeviceConfig.getProperties(NAMESPACE_PRIVACY, *FLAGS.map { it.name }.toTypedArray()) in <lambda>()
427 FLAGS.filter { it.name != isEnabledFlag.name } in <lambda>()
442 FLAGS.filter { it.name != isEnabledFlag.name } in <lambda>()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DMediaVolumeSliderWorkerTest.java43 protected static final int FLAGS = 0; field in MediaVolumeSliderWorkerTest
81 mWorker.getVolumeChangeCallback().onGroupVolumeChanged(TEST_ZONE_ID, GROUP_ID, FLAGS); in onGroupVolumeChanged_updateVolumeAndMute()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java248 final int FLAGS = Spannable.SPAN_INCLUSIVE_INCLUSIVE; in formatUsage() local
253 enlargedValue.setSpan(new RelativeSizeSpan(larger), 0, enlargedValue.length(), FLAGS); in formatUsage()
262 fullTemplate.setSpan(new RelativeSizeSpan(smaller), 0, fullTemplate.length(), FLAGS); in formatUsage()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DFetchProfile.java41 FLAGS, enumConstant
/packages/modules/Bluetooth/system/gd/hci/
Dle_advertising_manager_test.cc257 data_item.data_type_ = GapDataType::FLAGS; in SetUp()
321 data_item.data_type_ = GapDataType::FLAGS; in SetUp()
370 data_item.data_type_ = GapDataType::FLAGS; in SetUp()
431 data_item.data_type_ = GapDataType::FLAGS; in SetUp()
487 data_item.data_type_ = GapDataType::FLAGS; in TEST_F()
538 data_item.data_type_ = GapDataType::FLAGS; in TEST_F()
620 data_item.data_type_ = GapDataType::FLAGS; in TEST_F()
677 data_item.data_type_ = GapDataType::FLAGS; in TEST_F()
Dle_scanning_manager_test.cc102 data_item.data_.push_back(static_cast<uint8_t>(hci::GapDataType::FLAGS)); in make_advertising_report()
598 data_item.data_.push_back(static_cast<uint8_t>(GapDataType::FLAGS)); in TEST_F()
657 flags_data.data_.push_back(static_cast<uint8_t>(GapDataType::FLAGS)); in TEST_F()
/packages/modules/Bluetooth/floss/build/rustup/
Drustup.sh32 rustup-init [FLAGS] [OPTIONS]
34 FLAGS:
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java268 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal()
269 fetchFields.add(ImapConstants.FLAGS); in fetchInternal()
322 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal()
323 final ImapList flags = fetchList.getKeyedListOrEmpty(ImapConstants.FLAGS); in fetchInternal()
/packages/modules/Bluetooth/tools/rootcanal/rust/
DCMakeLists.txt15 corrosion_import_crate(MANIFEST_PATH ${ROOTCANAL_ROOT}/rust/Cargo.toml FLAGS
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapConstants.java57 public static final String FLAGS = "FLAGS"; field in ImapConstants
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java123 private static final int FLAGS = 0; field in EapMsChapV2MethodStateMachine
296 FLAGS, in process()
/packages/modules/Bluetooth/tools/rootcanal/
DCMakeLists.txt7 FLAGS --offline --verbose --verbose)

12