Home
last modified time | relevance | path

Searched refs:uuid1 (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DProfileManagerTest.java81 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/
Dgroups_test.cc173 Uuid uuid1 = in TEST_F() local
177 ASSERT_NE(uuid1, uuid2); in TEST_F()
181 DeviceGroups::Get()->AddDevice(GetTestAddress(1), uuid1, 8); in TEST_F()
187 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid1, 8)); in TEST_F()
195 Uuid uuid1 = in TEST_F() local
201 DeviceGroups::Get()->AddDevice(GetTestAddress(1), uuid1, 8); in TEST_F()
204 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid1, 8)); in TEST_F()
211 EXPECT_CALL(*callbacks, OnGroupRemoved(uuid1, 8)).Times(0); in TEST_F()
278 Uuid uuid1 = in TEST_F() local
282 ASSERT_NE(uuid1, uuid2); in TEST_F()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DUserProfileIdDaoSharedPreferencesImplTest.java77 UUID uuid1 = UUID.randomUUID(); in testSetId_idExist_overrideExistingId() local
80 mUserProfileIdDao.setUserProfileId(uuid1); in testSetId_idExist_overrideExistingId()
85 uuid1.toString()); in testSetId_idExist_overrideExistingId()
86 assertEquals(mUserProfileIdDao.getUserProfileId(), uuid1); in testSetId_idExist_overrideExistingId() local
/packages/modules/Bluetooth/system/bta/test/
Dbta_dm_cust_uuid_test.cc30 static const Uuid uuid1 = Uuid::From128BitBE( 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/system/gd/rust/linux/stack/src/
Dbluetooth_admin.rs289 let uuid1: Uuid = [1; 16].into(); in test_set_service_allowed() localVariable
292 let uuids = vec![uuid1, uuid2, uuid3]; in test_set_service_allowed()
295 assert!(admin.is_service_allowed(uuid1)); in test_set_service_allowed()
300 admin.set_allowed_services(vec![uuid1, uuid3]); in test_set_service_allowed()
303 assert!(admin.is_service_allowed(uuid1)); in test_set_service_allowed()
311 assert!(!admin.is_service_allowed(uuid1)); in test_set_service_allowed()
314 assert_eq!(admin.get_blocked_services(&uuids), vec![uuid1, uuid3]); in test_set_service_allowed()
Dbluetooth_gatt.rs4340 let uuid1 = Uuid::from_string("00000000000000000000000000000001").unwrap(); in test_context_map_clients() localVariable
4341 map.add(&uuid1, callback1); in test_context_map_clients()
4342 let found = map.get_by_uuid(&uuid1); in test_context_map_clients()
4379 map.set_client_id(&uuid1, 3); in test_context_map_clients()
4385 let found = map.get_by_uuid(&uuid1); in test_context_map_clients()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/utils/
DStorageUtilsTest.java48 UUID uuid1 = UUID.randomUUID(); in uuidToBytesAndBack_oneUuid() local
50 byte[] bytes = getSingleByteArray(List.of(uuid1, uuid2)); in uuidToBytesAndBack_oneUuid()
52 assertThat(bytesToUuids(bytes)).containsExactly(uuid1, uuid2); in uuidToBytesAndBack_oneUuid()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/le/
DScanRecordTest.java182 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParser() local
185 assertThat(data.getServiceUuids().contains(uuid1)).isTrue(); in testParser()
250 ParcelUuid uuid1 = ParcelUuid.fromString("0000110A-0000-1000-8000-00805F9B34FB"); in testParserMultipleManufacturerSpecificData() local
253 assertThat(data.getServiceUuids().contains(uuid1)).isTrue(); in testParserMultipleManufacturerSpecificData()
/packages/modules/Bluetooth/system/gd/hci/
Duuid_unittest.cc160 auto uuid1 = Uuid::kEmpty; in TEST() local
163 ASSERT_TRUE(uuid1 < uuid2); in TEST()
164 ASSERT_TRUE(uuid1 != uuid2); in TEST()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DMedicalResourceHelperTest.java92 UUID uuid1 = in getReadTableRequest_usingMedicalResourceId_correctQuery() local
97 List<String> hexValues = List.of(getHexString(uuid1), getHexString(uuid2)); in getReadTableRequest_usingMedicalResourceId_correctQuery()
/packages/modules/Bluetooth/system/btcore/test/
Dproperty_test.cc149 const Uuid* uuid1 = property_as_uuids(property, &uuid_cnt1); in TEST_F() local
150 EXPECT_EQ(uuid0, *uuid1); in TEST_F()
/packages/modules/Connectivity/tests/cts/multidevices/
Dtether_utils.py46 return base64.b64encode(uuid.uuid1().bytes).decode("utf-8").strip("=")
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerTest.java365 UUID uuid1 = in insertMultipleMedicalResources_readMultipleResources() local
375 uuid1.toString(), in insertMultipleMedicalResources_readMultipleResources()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_gatt_client.h62 bluetooth::Uuid* uuid1; member
/packages/modules/Bluetooth/system/btif/src/
Dbtif_gatt_client.cc859 params->uuid1->ToString(), params->u2, params->u3); in btif_gattc_test_command_impl()
862 params->u3, *params->uuid1) != GATT_SUCCESS) in btif_gattc_test_command_impl()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DCustomUuidEirFragment.java141 (EditText) v.findViewById(R.id.uuid1), in onCreateView()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattService.java3601 int command, UUID uuid1, String bda1, int p1, int p2, int p3, int p4, int p5) { in gattTestCommand() argument
3605 if (uuid1 != null) { in gattTestCommand()
3608 uuid1.getLeastSignificantBits(), in gattTestCommand()
3609 uuid1.getMostSignificantBits(), in gattTestCommand()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_gatt.cpp2538 Uuid uuid1 = from_java_uuid(uuid1_msb, uuid1_lsb); in gattTestNative() local
2542 params.uuid1 = &uuid1; in gattTestNative()