Home
last modified time | relevance | path

Searched refs:getNameForUid (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/vms/
DVmsBrokerServiceTest.java68 when(packageManager.getNameForUid(0)).thenReturn("test.package1"); in testAddSubscription()
84 when(packageManager.getNameForUid(0)).thenReturn("test.package2"); in testAddSubscriptionLayer()
100 when(packageManager.getNameForUid(0)).thenReturn("test.package3"); in testAddSubscriptionLayerVersion()
116 when(packageManager.getNameForUid(0)).thenReturn("test.package3"); in testMultipleSubscriptionsSameClientCallsPackageManagerOnce()
122 verify(packageManager, times(1)).getNameForUid(0); in testMultipleSubscriptionsSameClientCallsPackageManagerOnce()
131 when(packageManager.getNameForUid(0)).thenReturn(null); in testUnknownPackageName()
174 when(packageManager.getNameForUid(0)).thenReturn("test.package0"); in testMultipleSubscriptionsPackageManager()
175 when(packageManager.getNameForUid(1)).thenReturn("test.package1"); in testMultipleSubscriptionsPackageManager()
176 when(packageManager.getNameForUid(2)).thenReturn("test.package2"); in testMultipleSubscriptionsPackageManager()
177 when(packageManager.getNameForUid(3)).thenReturn("test.package0"); in testMultipleSubscriptionsPackageManager()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java123 throw new SecurityException("Caller " + pm.getNameForUid(callingUid) in requestBugreport()
139 throw new SecurityException("Caller " + pm.getNameForUid(callingUid) in requestBugreport()
DCarUxRestrictionsManagerService.java525 "Caller " + mContext.getPackageManager().getNameForUid(Binder.getCallingUid()) in setUxRChangeBroadcastEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java131 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getScreenUsageTimeMs()
157 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getProcessBackgroundTimeMs()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java67 public String getNameForUid(int uid) { in getNameForUid() method in ContactsMockPackageManager
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java136 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getScreenUsageTimeMs()
162 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getProcessBackgroundTimeMs()
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java446 String packageName = mPackageManager.getNameForUid(callingUid); in getCallingPackage()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java972 String callingPackageName = mContext.getPackageManager().getNameForUid( in notifyConfigChangedForSubId()
1100 String packageName = mContext.getPackageManager().getNameForUid(uid); in onReceive()
DPhoneInterfaceManager.java6149 String packageName = mApp.getPackageManager().getNameForUid(uid); in getWorkSource()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java178 String appName = service.getPackageManager().getNameForUid(appUid); in add()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java91 getPackageManager().getNameForUid(packageUid));
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java497 return getPackageManager().getNameForUid(mInjector.getCallingUid());
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java767 String callingApp = mAdapterService.getPackageManager().getNameForUid( in logManufacturerInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java633 String appName = getPackageManager().getNameForUid(mUserUid); in getUserAppName()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1135 "Caller " + mPackageManager.getNameForUid(Binder.getCallingUid()) in setEnableActivityBlocking()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4480 String userName = pm.getNameForUid(callingUid); in exceptionMessage()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java5357 final String name = pm.getNameForUid(uid); in getCallingPackageName()