Searched refs:callingUid (Results 1 – 7 of 7) sorted by relevance
483 int callingUid;485 callingUid = ActivityManagerNative.getDefault()496 String[] callingPackages = mPm.getPackagesForUid(callingUid);514 return callingUid;
119 final int callingUid = getCallingUid();120 if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {121 throw new IllegalStateException("uid " + callingUid
148 int callingUid = Binder.getCallingUid(); in checkCallingPackage() local150 String[] uidPkgs = pm.getPackagesForUid(callingUid); in checkCallingPackage()
118 public void scanPackagesByUid(int callingUid) { in scanPackagesByUid() argument119 final String[] callerPackages = mPackageManager.getPackagesForUid(callingUid); in scanPackagesByUid()
4975 int callingUid = Binder.getCallingUid(); in exceptionMessage() local4977 String userName = pm.getNameForUid(callingUid); in exceptionMessage()4981 sb.append(callingUid); in exceptionMessage()4984 final String[] callerPackages = pm.getPackagesForUid(callingUid); in exceptionMessage()
1003 int callingUid = Binder.getCallingUid(); in shouldRestrictVisibility() local1005 callingUid != mSystemUid && in shouldRestrictVisibility()1006 callingUid != mDefContainerUid; in shouldRestrictVisibility()
284 public void setNdefCallback(INdefPushCallback callbackNdef, int callingUid) { in setNdefCallback() argument287 mValidCallbackPackages = mPackageManager.getPackagesForUid(callingUid); in setNdefCallback()