Searched refs:getNameForUid (Results 1 – 17 of 17) sorted by relevance
68 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 …]
123 throw new SecurityException("Caller " + pm.getNameForUid(callingUid) in requestBugreport()139 throw new SecurityException("Caller " + pm.getNameForUid(callingUid) in requestBugreport()
525 "Caller " + mContext.getPackageManager().getNameForUid(Binder.getCallingUid()) in setUxRChangeBroadcastEnabled()
131 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getScreenUsageTimeMs()157 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getProcessBackgroundTimeMs()
67 public String getNameForUid(int uid) { in getNameForUid() method in ContactsMockPackageManager
136 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getScreenUsageTimeMs()162 Log.v(TAG, "package: " + mPackageManager.getNameForUid(uid.getUid())); in getProcessBackgroundTimeMs()
446 String packageName = mPackageManager.getNameForUid(callingUid); in getCallingPackage()
972 String callingPackageName = mContext.getPackageManager().getNameForUid( in notifyConfigChangedForSubId()1100 String packageName = mContext.getPackageManager().getNameForUid(uid); in onReceive()
6149 String packageName = mApp.getPackageManager().getNameForUid(uid); in getWorkSource()
178 String appName = service.getPackageManager().getNameForUid(appUid); in add()
91 getPackageManager().getNameForUid(packageUid));
497 return getPackageManager().getNameForUid(mInjector.getCallingUid());
767 String callingApp = mAdapterService.getPackageManager().getNameForUid( in logManufacturerInfo()
633 String appName = getPackageManager().getNameForUid(mUserUid); in getUserAppName()
1135 "Caller " + mPackageManager.getNameForUid(Binder.getCallingUid()) in setEnableActivityBlocking()
4480 String userName = pm.getNameForUid(callingUid); in exceptionMessage()
5357 final String name = pm.getNameForUid(uid); in getCallingPackageName()