Searched refs:packageUid (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPackageFilter.java | 45 int packageUid = -1; in matches() local 47 packageUid = pm.getPackageUid(mPackageName, UserHandle.USER_OWNER); in matches() 52 if (packageUid == -1) { in matches() 56 return UserHandle.isSameApp(packageUid, callerUid); in matches()
|
/frameworks/base/core/java/android/net/ |
D | NetworkScorerAppManager.java | 71 public NetworkScorerAppData(String packageName, int packageUid, CharSequence scorerName, in NetworkScorerAppData() argument 75 mPackageUid = packageUid; in NetworkScorerAppData()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkScorerAppManagerTest.java | 130 private Pair<ResolveInfo, ResolveInfo> buildResolveInfo(String packageName, int packageUid, in buildResolveInfo() argument 141 resolveInfo.activityInfo.applicationInfo.uid = packageUid; in buildResolveInfo()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 640 final int packageUid = getUidForPackage(packageName, grantId); in hasBindAppWidgetPermission() local 641 if (packageUid < 0) { in hasBindAppWidgetPermission() 664 final int packageUid = getUidForPackage(packageName, grantId); in setBindAppWidgetPermission() local 665 if (packageUid < 0) { in setBindAppWidgetPermission() 3202 final int packageUid = getUidForPackage(packageName, userId); in isCallerBindAppWidgetWhiteListedLocked() local 3203 if (packageUid < 0) { in isCallerBindAppWidgetWhiteListedLocked()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2588 int packageUid, in getAccountsAsUser() argument 2608 if (packageUid != -1 && UserHandle.isSameApp(callingUid, Process.myUid())) { in getAccountsAsUser() 2609 callingUid = packageUid; in getAccountsAsUser() 2771 int packageUid = -1; in getAccountsByTypeForPackage() local 2773 packageUid = AppGlobals.getPackageManager().getPackageUid( in getAccountsByTypeForPackage() 2780 packageUid, opPackageName); in getAccountsByTypeForPackage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 2246 final int packageUid = mPms.getPackageUid(packageName, UserHandle.getUserId(callerUid)); in isUidOwnerOfPackageOrSystem() local 2250 packageUid + ", callerUid = " + callerUid); in isUidOwnerOfPackageOrSystem() 2253 return callerUid == packageUid; in isUidOwnerOfPackageOrSystem()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 14378 int packageUid = -1; in setEnabledSetting() local 14475 packageUid = UserHandle.getUid(userId, pkgSetting.appId); in setEnabledSetting() 14477 (flags&PackageManager.DONT_KILL_APP) != 0, components, packageUid); in setEnabledSetting() 14485 boolean killFlag, ArrayList<String> componentNames, int packageUid) { in sendPackageChangedBroadcast() argument 14495 extras.putInt(Intent.EXTRA_UID, packageUid); in sendPackageChangedBroadcast() 14497 new int[] {UserHandle.getUserId(packageUid)}); in sendPackageChangedBroadcast()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 8151 final int packageUid = pm.getPackageUid(packageName, UserHandle.getUserId(callingUid)); in getPersistedUriPermissions() local 8152 if (packageUid != callingUid) { in getPersistedUriPermissions()
|