/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/ |
D | UuidBundleWrapperTest.java | 38 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
|
D | ProfileManagerTest.java | 107 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/ |
D | ServiceProfileData.java | 52 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/ |
D | UuidBundleWrapper.java | 35 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/ |
D | ProfileManager.java | 118 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()
|
D | RangingSessionController.java | 232 service_instance_id = serviceProfileInfo.serviceInstanceID; in SessionInfo()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | ServiceProfileDataTest.java | 65 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/ |
D | UwbServiceImplTest.java | 701 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/ |
D | UwbServiceImpl.java | 500 Optional<UUID> serviceInstanceID = mUwbInjector in addServiceProfile() local 504 .setServiceInstanceID(serviceInstanceID) in addServiceProfile()
|