Home
last modified time | relevance | path

Searched refs:callingUid (Results 1 – 7 of 7) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java483 int callingUid;
485 callingUid = ActivityManagerNative.getDefault()
496 String[] callingPackages = mPm.getPackagesForUid(callingUid);
514 return callingUid;
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java119 final int callingUid = getCallingUid();
120 if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {
121 throw new IllegalStateException("uid " + callingUid
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutsProvider.java148 int callingUid = Binder.getCallingUid(); in checkCallingPackage() local
150 String[] uidPkgs = pm.getPackagesForUid(callingUid); in checkCallingPackage()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java118 public void scanPackagesByUid(int callingUid) { in scanPackagesByUid() argument
119 final String[] callerPackages = mPackageManager.getPackagesForUid(callingUid); in scanPackagesByUid()
DContactsDatabaseHelper.java4975 int callingUid = Binder.getCallingUid(); in exceptionMessage() local
4977 String userName = pm.getNameForUid(callingUid); in exceptionMessage()
4981 sb.append(callingUid); in exceptionMessage()
4984 final String[] callerPackages = pm.getPackagesForUid(callingUid); in exceptionMessage()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1003 int callingUid = Binder.getCallingUid(); in shouldRestrictVisibility() local
1005 callingUid != mSystemUid && in shouldRestrictVisibility()
1006 callingUid != mDefContainerUid; in shouldRestrictVisibility()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java284 public void setNdefCallback(INdefPushCallback callbackNdef, int callingUid) { in setNdefCallback() argument
287 mValidCallbackPackages = mPackageManager.getPackagesForUid(callingUid); in setNdefCallback()