/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/ |
D | ProfileManagerTest.java | 81 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testAddServiceProfile() local 84 assertFalse(uuid1.isEmpty()); in testAddServiceProfile() 124 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testActivateProfile() local 129 mProfileManager.activateProfile(mAttributionSource, mSessionHandle, uuid1.get(), in testActivateProfile() 137 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testStartRanging() local 142 mProfileManager.activateProfile(mAttributionSource, mSessionHandle, uuid1.get(), in testStartRanging() 154 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testStopRanging() local 159 mProfileManager.activateProfile(mAttributionSource, mSessionHandle, uuid1.get(), in testStopRanging() 174 Optional<UUID> uuid1 = mProfileManager.addServiceProfile(1); in testCloseRanging() local 179 mProfileManager.activateProfile(mAttributionSource, mSessionHandle, uuid1.get(), in testCloseRanging()
|
/packages/modules/Bluetooth/system/bta/groups/ |
D | groups_test.cc | 163 Uuid uuid1 = Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() local 165 ASSERT_NE(uuid1, uuid2); in TEST_F() 169 DeviceGroups::Get()->AddDevice(GetTestAddress(1), uuid1, 8); in TEST_F() 175 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid1, 8)); in TEST_F() 183 Uuid uuid1 = Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() local 187 DeviceGroups::Get()->AddDevice(GetTestAddress(1), uuid1, 8); in TEST_F() 190 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid1, 8)); in TEST_F() 197 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid1, 8)).Times(0); in TEST_F() 262 Uuid uuid1 = Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() local 264 ASSERT_NE(uuid1, uuid2); in TEST_F() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/ |
D | UserProfileIdDaoSharedPreferencesImplTest.java | 72 UUID uuid1 = UUID.randomUUID(); in testSetId_idExist_overrideExistingId() local 75 mUserProfileIdDao.setUserProfileId(uuid1); in testSetId_idExist_overrideExistingId() 80 .isEqualTo(uuid1.toString()); in testSetId_idExist_overrideExistingId() 81 assertThat(mUserProfileIdDao.getUserProfileId()).isEqualTo(uuid1); in testSetId_idExist_overrideExistingId()
|
/packages/modules/Bluetooth/system/bta/test/ |
D | bta_dm_cust_uuid_test.cc | 30 static const Uuid uuid1 = variable 42 tBTA_CUSTOM_UUID curr0_expect = {uuid1, handle1}; in TEST_F() 46 ASSERT_STREQ(uuid1.ToString().c_str(), curr0.custom_uuid.ToString().c_str()); in TEST_F()
|
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/le/ |
D | ScanRecordTest.java | 178 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParser() local 181 assertThat(data.getServiceUuids().contains(uuid1)).isTrue(); in testParser() 244 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParserMultipleManufacturerSpecificData() local 247 assertThat(data.getServiceUuids().contains(uuid1)).isTrue(); in testParserMultipleManufacturerSpecificData()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_admin.rs | 431 let uuid1: Uuid = [1; 16].into(); in test_set_service_allowed() localVariable 434 let uuids = vec![uuid1, uuid2, uuid3]; in test_set_service_allowed() 437 assert!(admin_helper.is_service_allowed(&uuid1)); in test_set_service_allowed() 442 admin_helper.set_allowed_services(vec![uuid1, uuid3]); in test_set_service_allowed() 445 assert!(admin_helper.is_service_allowed(&uuid1)); in test_set_service_allowed() 453 assert!(!admin_helper.is_service_allowed(&uuid1)); in test_set_service_allowed() 456 assert_eq!(admin_helper.get_blocked_services(&uuids), vec![uuid1, uuid3]); in test_set_service_allowed()
|
D | bluetooth_gatt.rs | 4304 let uuid1 = Uuid::from_string("00000000000000000000000000000001").unwrap(); in test_context_map_clients() localVariable 4305 map.add(&uuid1, callback1); in test_context_map_clients() 4306 let found = map.get_by_uuid(&uuid1); in test_context_map_clients() 4337 map.set_client_id(&uuid1, 3); in test_context_map_clients() 4343 let found = map.get_by_uuid(&uuid1); in test_context_map_clients()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/utils/ |
D | StorageUtilsTest.java | 53 UUID uuid1 = UUID.randomUUID(); in uuidToBytesAndBack_oneUuid() local 55 byte[] bytes = getSingleByteArray(List.of(uuid1, uuid2)); in uuidToBytesAndBack_oneUuid() 57 assertThat(bytesToUuids(bytes)).containsExactly(uuid1, uuid2); in uuidToBytesAndBack_oneUuid()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | uuid_unittest.cc | 158 auto uuid1 = Uuid::kEmpty; in TEST() local 161 ASSERT_TRUE(uuid1 < uuid2); in TEST() 162 ASSERT_TRUE(uuid1 != uuid2); in TEST()
|
/packages/modules/Connectivity/staticlibs/testutils/host/python/ |
D | tether_utils.py | 35 return base64.b64encode(uuid.uuid1().bytes).decode("utf-8").strip("=")
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_gatt_client.h | 62 bluetooth::Uuid* uuid1; member
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | MedicalDataSourceHelperTest.java | 240 UUID uuid1 = UUID.randomUUID(); in getReadTableRequest_usingMedicalDataSourceId_correctQuery() local 242 List<String> hexValues = List.of(getHexString(uuid1), getHexString(uuid2)); in getReadTableRequest_usingMedicalDataSourceId_correctQuery() 245 MedicalDataSourceHelper.getReadTableRequest(List.of(uuid1, uuid2)); in getReadTableRequest_usingMedicalDataSourceId_correctQuery() 2515 UUID uuid1 = UUID.randomUUID(); in getReadQueryForDataSourcesFilterOnIdsAndAppIdsAndResourceTypes_correctQuery() local 2517 List<UUID> dataSourceIds = List.of(uuid1, uuid2); in getReadQueryForDataSourcesFilterOnIdsAndAppIdsAndResourceTypes_correctQuery() 2518 List<String> dataSourceIdsHexValues = List.of(getHexString(uuid1), getHexString(uuid2)); in getReadQueryForDataSourcesFilterOnIdsAndAppIdsAndResourceTypes_correctQuery() 2561 UUID uuid1 = UUID.randomUUID(); in getReadQueryForDataSources_withNullResourceType_correctQuery() local 2563 List<UUID> dataSourceIds = List.of(uuid1, uuid2); in getReadQueryForDataSources_withNullResourceType_correctQuery() 2564 List<String> dataSourceIdsHexValues = List.of(getHexString(uuid1), getHexString(uuid2)); in getReadQueryForDataSources_withNullResourceType_correctQuery()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_gatt_client.cc | 834 disc_name[params->u1], test_cb.conn_id, params->uuid1->ToString(), params->u2, in btif_gattc_test_command_impl() 837 params->u3, *params->uuid1) != GATT_SUCCESS) { in btif_gattc_test_command_impl()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | CustomUuidEirFragment.java | 141 (EditText) v.findViewById(R.id.uuid1), in onCreateView()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | GattService.java | 2644 int command, UUID uuid1, String bda1, int p1, int p2, int p3, int p4, int p5) { in gattTestCommand() argument 2648 if (uuid1 != null) { in gattTestCommand() 2651 uuid1.getLeastSignificantBits(), in gattTestCommand() 2652 uuid1.getMostSignificantBits(), in gattTestCommand()
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/ |
D | SatelliteAccessControllerTest.java | 2263 UUID uuid1 = UUID.nameUUIDFromBytes(seed1.getBytes()); in testUpdateSystemSelectionChannels() local 2270 SatelliteInfo satelliteInfo1 = new SatelliteInfo(uuid1, satellitePosition1, Arrays.stream( in testUpdateSystemSelectionChannels() 2387 UUID uuid1 = UUID.nameUUIDFromBytes(seed1.getBytes()); in testUpdateSystemSelectionChannels_HandleInvalidInput() local 2394 SatelliteInfo satelliteInfo1 = new SatelliteInfo(uuid1, satellitePosition1, bandList1, in testUpdateSystemSelectionChannels_HandleInvalidInput()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_gatt.cpp | 2697 Uuid uuid1 = from_java_uuid(uuid1_msb, uuid1_lsb); in gattTestNative() local 2701 params.uuid1 = &uuid1; in gattTestNative()
|