Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java60 return UserHandle.isSameApp(packageUid, callerUid); in matches()
/frameworks/base/core/java/android/os/
DUserHandle.java108 public static boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserHandle
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java373 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked()
/frameworks/base/core/java/android/content/
DContentProvider.java545 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner()
622 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java591 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrPhoneOrSameApp()
DSMSDispatcher.java1748 if (!UserHandle.isSameApp(ai.uid, Binder.getCallingUid())) { in checkCallerIsPhoneOrCarrierApp()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1530 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersPermission()
1544 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageOrCreateUsersPermission()
1563 if (!UserHandle.isSameApp(uid, Process.SYSTEM_UID) && uid != Process.ROOT_UID) { in checkSystemOrRoot()
2566 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser()
DShortcutService.java1186 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in isCallerSystem()
DPackageManagerService.java6570 && UserHandle.isSameApp(p.info.applicationInfo.uid, uid)))
17584 if (!UserHandle.isSameApp(pi.applicationInfo.uid, callingUid)) {
17730 if (!UserHandle.isSameApp(uid, pkgSetting.appId)) {
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3265 if (!UserHandle.isSameApp(Process.SYSTEM_UID, Binder.getCallingUid())) { in someUserHasAccount()
3486 if (packageUid != -1 && UserHandle.isSameApp(callingUid, Process.myUid())) { in getAccountsAsUser()
3648 if (!UserHandle.isSameApp(callingUid, Process.myUid())) { in getAccountsForPackage()
/frameworks/base/core/java/android/app/
DActivityManager.java3324 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) { in checkComponentPermission()
DActivityThread.java1913 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3653 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrSameApp()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7052 if (!UserHandle.isSameApp(callingUid, uid)) { in getIntentSender()
7227 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()
17007 result = UserHandle.isSameApp(aInfo.uid, Process.PHONE_UID) in isSingleton()
17024 return UserHandle.isSameApp(callingUid, componentUid) in isValidSingletonCall()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6335 return UserHandle.isSameApp(mInjector.binderGetCallingUid(), Process.SYSTEM_UID); in isCallerWithSystemUid()