Home
last modified time | relevance | path

Searched refs:clientUid (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/metrics/
DRkpdClientOperation.java64 public static RkpdClientOperation getRegistration(int clientUid, in getRegistration() argument
66 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in getRegistration()
71 public static RkpdClientOperation getKey(int clientUid, in getKey() argument
73 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in getKey()
78 public static RkpdClientOperation cancelGetKey(int clientUid, in cancelGetKey() argument
80 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in cancelGetKey()
85 public static RkpdClientOperation storeUpgradedKey(int clientUid, in storeUpgradedKey() argument
87 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in storeUpgradedKey()
91 private RkpdClientOperation(int clientUid, String remotelyProvisionedComponent, in RkpdClientOperation() argument
93 mClientUid = clientUid; in RkpdClientOperation()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DProvisionedKeyDao.java107 public abstract ProvisionedKey getKeyForClientAndIrpc(String irpcHal, int clientUid, int keyId); in getKeyForClientAndIrpc() argument
114 public abstract int upgradeKeyBlob(int clientUid, byte[] oldKeyBlob, byte[] newKeyBlob); in upgradeKeyBlob() argument
131 public ProvisionedKey getOrAssignKey(String irpcHal, Instant minExpiry, int clientUid, in getOrAssignKey() argument
133 ProvisionedKey existingKey = getKeyForClientAndIrpc(irpcHal, clientUid, keyId); in getOrAssignKey()
142 availableKey.clientUid = clientUid; in getOrAssignKey()
DProvisionedKey.java60 public Integer clientUid; field in ProvisionedKey
89 && Objects.equals(clientUid, that.clientUid) in equals()
95 int result = Objects.hash(irpcHal, truncate(expirationTime), clientUid, keyId); in hashCode()
114 + ", clientUid=" + clientUid in toString()
/packages/services/Car/service/src/com/android/car/stats/
DCarStatsService.java121 public VmsClientLogger getVmsClientLogger(int clientUid) { in getVmsClientLogger() argument
123 if (!mVmsClientStats.contains(clientUid)) { in getVmsClientLogger()
124 String packageName = mPackageManager.getNameForUid(clientUid); in getVmsClientLogger()
128 mVmsClientStats.put(clientUid, new VmsClientLogger(clientUid, packageName)); in getVmsClientLogger()
130 return mVmsClientStats.get(clientUid); in getVmsClientLogger()
DVmsClientLogger.java67 VmsClientLogger(int clientUid, @Nullable String clientPackage) { in VmsClientLogger() argument
68 mUid = clientUid; in VmsClientLogger()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRkpdDatabaseTest.java220 mProvisionedKey1.clientUid = FAKE_CLIENT_UID; in testGetKeyForClientAndIrpc()
223 mProvisionedKey2.clientUid = FAKE_CLIENT_UID_2; in testGetKeyForClientAndIrpc()
241 mProvisionedKey1.clientUid = FAKE_CLIENT_UID; in testUpgradeKeyBlob()
258 mProvisionedKey1.clientUid = FAKE_CLIENT_UID; in testCorrectClientUpgradesKeyBlob()
273 mProvisionedKey1.clientUid = FAKE_CLIENT_UID; in testUpgradeNonExistentKeyBlob()
295 assertThat(databaseKey.clientUid).isNull(); in testAssignKey()
302 assertThat(assignedKey.clientUid).isEqualTo(FAKE_CLIENT_UID); in testAssignKey()
343 mProvisionedKey1.clientUid = FAKE_CLIENT_UID; in testUpgradeWithNullKeyBlob()
357 mProvisionedKey1.clientUid = FAKE_CLIENT_UID; in testUpgradeWithDuplicateKeyBlob()
359 mProvisionedKey2.clientUid = FAKE_CLIENT_UID; in testUpgradeWithDuplicateKeyBlob()
DProvisionedKeyTest.java53 key.clientUid = sRandom.nextInt(); in randomKey()
76 cloneKey.clientUid = clone(origKey.clientUid); in clone()
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java144 int clientUid = mGetCallingUid.getAsInt(); in registerClient() local
145 String clientPackage = mPackageManager.getNameForUid(clientUid); in registerClient()
146 if (DBG) Slogf.d(TAG, "registerClient uid: " + clientUid + " package: " + clientPackage); in registerClient()
148 mStatsService.getVmsClientLogger(clientUid) in registerClient()
157 mStatsService.getVmsClientLogger(clientUid) in registerClient()
163 mClientMap.put(clientToken, new VmsClientInfo(clientUid, clientPackage, callback, in registerClient()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java265 int clientUid) { in hasAnyHostConflict() argument
271 && adv.hasHostConflict(newInfo, clientUid))) { in hasAnyHostConflict()
423 boolean hasHostConflict(@NonNull NsdServiceInfo newInfo, int clientUid) { in hasHostConflict() argument
424 return getConflictingRegistrationDueToHost(newInfo, clientUid) >= 0; in hasHostConflict()
457 int getConflictingRegistrationDueToHost(@NonNull NsdServiceInfo info, int clientUid) { in getConflictingRegistrationDueToHost() argument
465 if (clientUid != otherRegistration.mClientUid in getConflictingRegistrationDueToHost()
633 private Registration(@NonNull NsdServiceInfo serviceInfo, int clientUid, in Registration() argument
638 this.mClientUid = clientUid; in Registration()
872 MdnsAdvertisingOptions advertisingOptions, int clientUid) { in addOrUpdateService() argument
904 registration = new Registration(service, clientUid, advertisingOptions); in addOrUpdateService()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DAudioPlaybackConfigurationBuilder.java55 AudioPlaybackConfigurationBuilder setClientUid(int clientUid) { in setClientUid() argument
56 mClientUid = clientUid; in setClientUid()
DAudioFocusStackTest.java116 private static AudioFocusInfo createAudioFocusInfo(String clientId, int clientUid, int usage) { in createAudioFocusInfo() argument
124 return new AudioFocusInfo(builder.build(), clientUid, clientId, in createAudioFocusInfo()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DAudioFocusInfoBuilder.java47 public AudioFocusInfoBuilder setClientUid(int clientUid) { in setClientUid() argument
48 mClientUid = clientUid; in setClientUid()
DCarZonesAudioFocusTestBase.java303 AudioClientInfo(int usage, int clientUid, String clientId) { in AudioClientInfo() argument
305 mClientUid = clientUid; in AudioClientInfo()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxStatsdLogger.java211 int method, int callResult, int latencyMillis, int clientUid) {
217 clientUid,
DSdkSandboxManagerService.java1216 int clientUid = Binder.getCallingUid();
1217 if (Process.isSdkSandboxUid(clientUid)) {
1218 clientUid = Process.getAppUidForSdkSandboxUid(clientUid);
1220 logSandboxActivityApiLatency(method, callResult, latencyMillis, clientUid);
1224 int method, int callResult, int latencyMillis, int clientUid) {
1227 method, callResult, latencyMillis, clientUid);
/packages/modules/RemoteKeyProvisioning/app/aidl/com/android/rkpdapp/
DIRemotelyProvisionedKeyPool.aidl48 RemotelyProvisionedKey getAttestationKey(in int clientUid, in @utf8InCpp String irpcId); in getAttestationKey() argument
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/
DIAdIdProviderService.aidl31 in int clientUid, in String clientPackageName, in IGetAdIdProviderCallback callback); in getAdIdProvider() argument
DAdIdProviderService.java54 public abstract AdId onGetAdId(int clientUid, @NonNull String clientPackageName) in onGetAdId() argument
/packages/modules/AdServices/adservices/framework/java/android/adservices/appsetid/
DIAppSetIdProviderService.aidl30 oneway void getAppSetId(in int clientUid, in String clientPackageName, in getAppSetId() argument
DAppSetIdProviderService.java51 public abstract AppSetId onGetAppSetId(int clientUid, @NonNull String clientPackageName) in onGetAppSetId() argument
/packages/apps/Music/kotlin/src/com/android/music/
DMediaPlaybackService.kt62 …override fun onGetRoot(clientPackageName: String, clientUid: Int, rootHints: Bundle?): BrowserRoot… in onGetRoot()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java73 public RegistrationBinder(Context context, int clientUid, SystemInterface systemInterface, in RegistrationBinder() argument
77 mClientUid = clientUid; in RegistrationBinder()
/packages/modules/AdServices/adservices/tests/cts/adid/src/com/android/adservices/tests/adid/
DAdIdProviderTest.java45 public AdId onGetAdId(int clientUid, String clientPackageName) throws IOException { in onGetAdId() argument
/packages/modules/AdServices/adservices/tests/cts/appsetid/src/com/android/adservices/tests/appsetid/
DAppSetIdProviderTest.java41 public AppSetId onGetAppSetId(int clientUid, String clientPackageName) { in onGetAppSetId() argument
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java71 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument

12