Searched refs:isSameApp (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPackageFilter.java | 60 return UserHandle.isSameApp(packageUid, callerUid); in matches()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 108 public static boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserHandle
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 373 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 545 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner() 622 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 591 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrPhoneOrSameApp()
|
D | SMSDispatcher.java | 1748 if (!UserHandle.isSameApp(ai.uid, Binder.getCallingUid())) { in checkCallerIsPhoneOrCarrierApp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1530 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()
|
D | ShortcutService.java | 1186 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in isCallerSystem()
|
D | PackageManagerService.java | 6570 && 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/ |
D | AccountManagerService.java | 3265 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/ |
D | ActivityManager.java | 3324 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) { in checkComponentPermission()
|
D | ActivityThread.java | 1913 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3653 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrSameApp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 7052 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/ |
D | DevicePolicyManagerService.java | 6335 return UserHandle.isSameApp(mInjector.binderGetCallingUid(), Process.SYSTEM_UID); in isCallerWithSystemUid()
|