Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceFieldSizeValidatorTest.java46 private static final Flags FLAGS = CommonFixture.FLAGS_FOR_TEST; field in CustomAudienceFieldSizeValidatorTest
49 new CustomAudienceFieldSizeValidator(FLAGS);
56 String tooLongName = getStringWithLength(FLAGS.getFledgeCustomAudienceMaxNameSizeB() * 2); in testNameTooLong()
65 FLAGS.getFledgeCustomAudienceMaxNameSizeB(), in testNameTooLong()
74 FLAGS.getFledgeCustomAudienceMaxBiddingLogicUriSizeB()); in testBiddingLogicUriTooLong()
83 FLAGS.getFledgeCustomAudienceMaxBiddingLogicUriSizeB(), in testBiddingLogicUriTooLong()
92 FLAGS.getFledgeCustomAudienceMaxDailyUpdateUriSizeB()); in testDailyUpdateUriTooLong()
101 FLAGS.getFledgeCustomAudienceMaxDailyUpdateUriSizeB(), in testDailyUpdateUriTooLong()
109 FLAGS.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB() * 2); in testUserBiddingSignalsTooBig()
118 FLAGS.getFledgeCustomAudienceMaxUserBiddingSignalsSizeB(), in testUserBiddingSignalsTooBig()
[all …]
DCustomAudienceQuantityCheckerTest.java42 private static final Flags FLAGS = FakeFlagsFactory.getFlagsForTest(); field in CustomAudienceQuantityCheckerTest
53 mChecker = new CustomAudienceQuantityChecker(mCustomAudienceDao, FLAGS); in setup()
85 .setTotalOwnerCount(FLAGS.getFledgeCustomAudienceMaxOwnerCount()) in testExistOwnerAndOwnerReachMax_success()
103 .setTotalOwnerCount(FLAGS.getFledgeCustomAudienceMaxOwnerCount()) in testOwnerExceedMax()
129 FLAGS.getFledgeCustomAudienceMaxCount()) in testTotalCountExceedMax()
157 FLAGS.getFledgeCustomAudiencePerAppMaxCount()) in testPerOwnerCountExceedMax()
DCustomAudienceImplTest.java87 private static final Flags FLAGS = field in CustomAudienceImplTest
113 FLAGS); in setup()
263 new CustomAudienceQuantityChecker(mCustomAudienceDaoMock, FLAGS), in testJoinCustomAudienceWithSubdomains_runNormally()
266 FLAGS, in testJoinCustomAudienceWithSubdomains_runNormally()
270 FLAGS); in testJoinCustomAudienceWithSubdomains_runNormally()
282 Duration.ofMillis(FLAGS.getFledgeCustomAudienceDefaultExpireInMs()), in testJoinCustomAudienceWithSubdomains_runNormally()
DCustomAudienceTimestampValidatorTest.java35 private static final Flags FLAGS = FakeFlagsFactory.getFlagsForTest(); field in CustomAudienceTimestampValidatorTest
38 CommonFixture.FIXED_CLOCK_TRUNCATED_TO_MILLI, FLAGS);
142 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/Bluetooth/system/gd/rust/linux/utils/src/
Dadv_parser.rs8 const FLAGS: u8 = 0x01; constant
53 iterate_adv_data(bytes, FLAGS).next().map_or(0, |v| v[0]) in extract_flags()
120 FLAGS, in test_extract_flags()
147 let payload: Vec<u8> = vec![2, FLAGS, 3]; in test_extract_service_uuids()
153 FLAGS, in test_extract_service_uuids()
205 let payload: Vec<u8> = vec![2, FLAGS, 3]; in test_extract_name()
209 let payload: Vec<u8> = vec![2, FLAGS, 3, 5, COMPLETE_LOCAL_NAME, 116, 101, 115, 116]; in test_extract_name()
213 let payload: Vec<u8> = vec![2, FLAGS, 3, 5, SHORTENED_LOCAL_NAME, 116, 101, 115, 116]; in test_extract_name()
220 let payload: Vec<u8> = vec![2, FLAGS, 3]; in test_extract_service_data()
297 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/discovery/device/
Ddata_parser_unittest.cc31 0x5, static_cast<uint8_t>(GapDataType::FLAGS), 0xde, 0xad, 0xbe, 0xef};
34 static_cast<uint8_t>(GapDataType::FLAGS),
40 static_cast<uint8_t>(GapDataType::FLAGS),
111 ASSERT_EQ(gap_data.data_type_, GapDataType::FLAGS); in TEST()
124 ASSERT_EQ(gap_data[0].data_type_, GapDataType::FLAGS); in TEST()
130 ASSERT_EQ(gap_data[1].data_type_, GapDataType::FLAGS); in TEST()
180 ASSERT_EQ(bluetooth::hci::GapDataType::FLAGS, data.data_type_); in TEST()
203 ASSERT_EQ(bluetooth::hci::GapDataType::FLAGS, data.data_type_); in TEST()
228 ASSERT_EQ(bluetooth::hci::GapDataType::FLAGS, data.data_type_); in TEST()
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dinit_flags.rs58 FLAGS.lock().unwrap().$flag
66 FLAGS.lock().unwrap().$flag
204 *FLAGS.lock().unwrap() = InitFlags::get_defaults_for_test(); in set_all_for_testing()
243 static ref FLAGS: Mutex<InitFlags> = Mutex::new(InitFlags::default());
256 *FLAGS.lock().unwrap() = flags; in load()
261 FLAGS.lock().unwrap().dump() in dump()
/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/tools/rootcanal/test/
Dpcap_filter_unittest.cc39 0x2, static_cast<uint8_t>(GapDataType::FLAGS), 0x0}; in TEST_F()
50 static_cast<uint8_t>(GapDataType::FLAGS), in TEST_F()
74 static_cast<uint8_t>(GapDataType::FLAGS), in TEST_F()
/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/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/contracts/
Ddata.kt10 import com.android.onboarding.contracts.provisioning.FLAGS
59FLAGS.FLAG_SUPPORTED_MODES_ORGANIZATION_OWNED or FLAGS.FLAG_SUPPORTED_MODES_DEVICE_OWNER in <lambda>()
/packages/modules/SdkExtensions/
Dkeep-flagged-apis.sh21 FLAGS="$1"
30 sed "s|^[^#].*$|--revert-annotation '!$FLAGGED(\"\\0\")'|" $FLAGS
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/xfrm/
DStructXfrmUsersaInfoTest.java77 private static final short FLAGS = 0; field in StructXfrmUsersaInfoTest
100 FLAGS); in testEncode()
125 assertEquals(FLAGS, struct.flags); in testDecode()
DXfrmNetlinkNewSaMessageTest.java125 private static final short FLAGS = 0; field in XfrmNetlinkNewSaMessageTest
144 assertEquals(FLAGS, xfrmUsersaInfo.flags); in testDecode()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/
DAbstractGlobalKillSwitchFlipper.java41 private static final String[] FLAGS = {FLAG}; field in AbstractGlobalKillSwitchFlipper
53 return FLAGS; in getFlagsRoulette()
/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/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterFlags.kt301 private val FLAGS: List<Flag<*>> = in <lambda>() constant
402 DeviceConfig.getProperties(NAMESPACE_PRIVACY, *FLAGS.map { it.name }.toTypedArray()) in <lambda>()
415 FLAGS.filter { it.name != isEnabledFlag.name } in <lambda>()
430 FLAGS.filter { it.name != isEnabledFlag.name } in <lambda>()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java221 final int FLAGS = Spannable.SPAN_INCLUSIVE_INCLUSIVE; in formatUsage() local
226 enlargedValue.setSpan(new RelativeSizeSpan(larger), 0, enlargedValue.length(), FLAGS); in formatUsage()
235 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/floss/build/rustup/
Drustup.sh32 rustup-init [FLAGS] [OPTIONS]
34 FLAGS:

12