Home
last modified time | relevance | path

Searched refs:serviceInstanceID (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DUuidBundleWrapperTest.java38 UUID serviceInstanceID = new UUID(100, 50); in testStatus() local
41 .setServiceInstanceID(Optional.of(serviceInstanceID)) in testStatus()
44 assertEquals(status.getServiceInstanceID().get(), serviceInstanceID); in testStatus() local
49 assertEquals(fromBundle.getServiceInstanceID().get(), serviceInstanceID); in testStatus() local
DProfileManagerTest.java107 UUID serviceInstanceID = new UUID(100, 50); in testLoadServiceProfile() local
108 ServiceProfileInfo serviceProfileInfo = new ServiceProfileInfo(serviceInstanceID, in testLoadServiceProfile()
113 testMap.put(serviceProfileInfo.serviceInstanceID, serviceProfileInfo); in testLoadServiceProfile()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DServiceProfileData.java52 public final UUID serviceInstanceID; field in ServiceProfileData.ServiceProfileInfo
85 public ServiceProfileInfo(UUID serviceInstanceID, int uid, in ServiceProfileInfo() argument
87 this.serviceInstanceID = serviceInstanceID; in ServiceProfileInfo()
173 .serviceInstanceID.toString()); in serializeData()
229 serviceProfileDataMap.put(serviceProfileInfo.serviceInstanceID, serviceProfileInfo); in deserializeDataVersion1()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/profile/
DUuidBundleWrapper.java35 public UuidBundleWrapper(Optional<UUID> serviceInstanceID) { in UuidBundleWrapper() argument
36 mServiceInstanceID = serviceInstanceID; in UuidBundleWrapper()
83 public UuidBundleWrapper.Builder setServiceInstanceID(Optional<UUID> serviceInstanceID) { in setServiceInstanceID() argument
84 mServiceInstanceID = serviceInstanceID; in setServiceInstanceID()
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DProfileManager.java118 UUID serviceInstanceID; in addServiceProfile() local
122 serviceInstanceID = UUID.randomUUID(); in addServiceProfile()
124 } while(mServiceProfileMap.containsKey(serviceInstanceID) && num_tries < MAX_RETRIES); in addServiceProfile()
129 ServiceProfileInfo serviceProfileInfo = new ServiceProfileInfo(serviceInstanceID, in addServiceProfile()
131 mServiceProfileMap.put(serviceInstanceID, serviceProfileInfo); in addServiceProfile()
143 return Optional.of(serviceInstanceID); in addServiceProfile()
147 public int removeServiceProfile(UUID serviceInstanceID) { in removeServiceProfile() argument
149 if (mServiceProfileMap.containsKey(serviceInstanceID)) { in removeServiceProfile()
150 ServiceProfileInfo serviceProfileInfo = mServiceProfileMap.get(serviceInstanceID); in removeServiceProfile()
151 mServiceProfileMap.remove(serviceInstanceID); in removeServiceProfile()
DRangingSessionController.java232 service_instance_id = serviceProfileInfo.serviceInstanceID; in SessionInfo()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DServiceProfileDataTest.java65 UUID serviceInstanceID = new UUID(100, 500); in testSerializeData() local
68 assertEquals(serviceConfig.getServiceInstanceId(), serviceInstanceID.toString()); in testSerializeData()
106 UUID serviceInstanceID = new UUID(100, 500); in toSerialize() local
111 new ServiceProfileInfo(serviceInstanceID, uid, packageName, serviceID); in toSerialize()
115 mServiceProfileMap.put(serviceInstanceID, mServiceProfileInfo); in toSerialize()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceImplTest.java701 UUID serviceInstanceID = new UUID(100, 50); in testAddServiceProfile() local
705 .thenReturn(Optional.of(serviceInstanceID)); in testAddServiceProfile()
720 serviceInstanceID); in testAddServiceProfile() local
788 UUID serviceInstanceID = new UUID(100, 50); in testRemoveServiceProfile() local
795 .setServiceInstanceID(Optional.of(serviceInstanceID)) in testRemoveServiceProfile()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceImpl.java500 Optional<UUID> serviceInstanceID = mUwbInjector in addServiceProfile() local
504 .setServiceInstanceID(serviceInstanceID) in addServiceProfile()