Home
last modified time | relevance | path

Searched refs:uuid2 (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/system/bta/groups/
Dgroups_test.cc164 Uuid uuid2 = Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() local
165 ASSERT_NE(uuid1, uuid2); in TEST_F()
170 DeviceGroups::Get()->AddDevice(GetTestAddress(1), uuid2, 9); in TEST_F()
171 DeviceGroups::Get()->AddDevice(GetTestAddress(2), uuid2, 9); in TEST_F()
176 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid2, 9)).Times(0); in TEST_F()
184 Uuid uuid2 = Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() local
188 DeviceGroups::Get()->AddDevice(GetTestAddress(1), uuid2, 9); in TEST_F()
191 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid2, 9)).Times(0); in TEST_F()
198 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid2, 9)); in TEST_F()
263 Uuid uuid2 = Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() local
[all …]
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/le/
DScanRecordTest.java179 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testParser() local
182 assertThat(data.getServiceUuids().contains(uuid2)).isTrue(); in testParser()
191 assertThat(data.getServiceData().containsKey(uuid2)).isTrue(); in testParser()
192 assertThat(data.getServiceData().get(uuid2)).isEqualTo(new byte[] {0x50, 0x64}); in testParser()
245 ParcelUuid uuid2 = ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB"); in testParserMultipleManufacturerSpecificData() local
248 assertThat(data.getServiceUuids().contains(uuid2)).isTrue(); in testParserMultipleManufacturerSpecificData()
257 assertThat(data.getServiceData().containsKey(uuid2)).isTrue(); in testParserMultipleManufacturerSpecificData()
258 assertThat(data.getServiceData().get(uuid2)).isEqualTo(new byte[] {0x50, 0x64}); in testParserMultipleManufacturerSpecificData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DUserProfileIdDaoSharedPreferencesImplTest.java84 UUID uuid2 = UUID.randomUUID(); in testSetId_idExist_overrideExistingId() local
86 mUserProfileIdDao.setUserProfileId(uuid2); in testSetId_idExist_overrideExistingId()
90 .isEqualTo(uuid2.toString()); in testSetId_idExist_overrideExistingId()
91 assertThat(mUserProfileIdDao.getUserProfileId()).isEqualTo(uuid2); in testSetId_idExist_overrideExistingId()
/packages/modules/Bluetooth/system/bta/test/
Dbta_dm_cust_uuid_test.cc33 static const Uuid uuid2 = variable
43 tBTA_CUSTOM_UUID curr1_expect = {uuid2, handle2}; in TEST_F()
49 ASSERT_STREQ(uuid2.ToString().c_str(), curr1.custom_uuid.ToString().c_str()); in TEST_F()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_admin.rs432 let uuid2: Uuid = [2; 16].into(); in test_set_service_allowed() localVariable
434 let uuids = vec![uuid1, uuid2, uuid3]; in test_set_service_allowed()
438 assert!(admin_helper.is_service_allowed(&uuid2)); in test_set_service_allowed()
446 assert!(!admin_helper.is_service_allowed(&uuid2)); in test_set_service_allowed()
448 assert_eq!(admin_helper.get_blocked_services(&uuids), vec![uuid2]); in test_set_service_allowed()
450 admin_helper.set_allowed_services(vec![uuid2]); in test_set_service_allowed()
454 assert!(admin_helper.is_service_allowed(&uuid2)); in test_set_service_allowed()
Dbluetooth_gatt.rs4321 let uuid2 = Uuid::from_string("00000000000000000000000000000002").unwrap(); in test_context_map_clients() localVariable
4322 map.add(&uuid2, callback2); in test_context_map_clients()
4323 let found = map.get_by_uuid(&uuid2); in test_context_map_clients()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/utils/
DStorageUtilsTest.java54 UUID uuid2 = 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/
Duuid_unittest.cc159 auto uuid2 = Uuid::FromString("11111111-1111-1111-1111-111111111111"); in TEST() local
161 ASSERT_TRUE(uuid1 < uuid2); in TEST()
162 ASSERT_TRUE(uuid1 != uuid2); in TEST()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DProfileManagerTest.java82 Optional<UUID> uuid2 = mProfileManager.addServiceProfile(2); in testAddServiceProfile() local
85 assertFalse(uuid2.isEmpty()); in testAddServiceProfile()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DMedicalDataSourceHelperTest.java241 UUID uuid2 = 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()
2516 UUID uuid2 = 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()
2562 UUID uuid2 = 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DCustomUuidEirFragment.java142 (EditText) v.findViewById(R.id.uuid2), in onCreateView()
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessControllerTest.java2274 UUID uuid2 = UUID.nameUUIDFromBytes(seed2.getBytes()); in testUpdateSystemSelectionChannels() local
2281 SatelliteInfo satelliteInfo2 = new SatelliteInfo(uuid2, satellitePosition2, Arrays.stream( in testUpdateSystemSelectionChannels()
2399 UUID uuid2 = UUID.nameUUIDFromBytes(seed2.getBytes()); in testUpdateSystemSelectionChannels_HandleInvalidInput() local
2406 SatelliteInfo satelliteInfo2 = new SatelliteInfo(uuid2, satellitePosition2, bandList2, in testUpdateSystemSelectionChannels_HandleInvalidInput()
/packages/modules/Bluetooth/tools/rootcanal/packets/
Dhci_packets.pdl6963 uuid2: 8[2],
/packages/modules/Bluetooth/system/pdl/hci/
Dhci_packets.pdl7385 uuid2: 8[2],