Home
last modified time | relevance | path

Searched refs:isSameApp (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/os/
DUserId.java55 public static final boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserId
/frameworks/base/services/java/com/android/server/
DClipboardService.java261 if (!UserId.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked()
DAppWidgetServiceImpl.java576 if (!UserId.isSameApp(callingUid, getUidForPackage(packageName))) { in callerHasBindAppWidgetPermission()
1355 if (!UserId.isSameApp(callingUid, packageUid)) { in enforceCallingUid()
DNotificationManagerService.java1274 if (!UserId.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrSameApp()
/frameworks/base/core/java/android/app/
DActivityManager.java1822 if (owningUid >= 0 && UserId.isSameApp(uid, owningUid)) { in checkComponentPermission()
DActivityThread.java1672 ? !UserId.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java2947 && UserId.isSameApp(p.info.applicationInfo.uid, uid))) in queryContentProviders()
8240 if (!allowedByPermission && !UserId.isSameApp(uid, pkgSetting.appId)) { in setEnabledSetting()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java4410 if (!UserId.isSameApp(callingUid, uid)) { in getIntentSender()
4507 if (!UserId.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()