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.java381 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.java1754 if (!UserHandle.isSameApp(ai.uid, Binder.getCallingUid())) { in checkCallerIsPhoneOrCarrierApp()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1576 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersPermission()
1590 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageOrCreateUsersPermission()
1609 if (!UserHandle.isSameApp(uid, Process.SYSTEM_UID) && uid != Process.ROOT_UID) { in checkSystemOrRoot()
2627 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser()
DShortcutService.java1455 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in isCallerSystem()
DPackageManagerService.java6545 && UserHandle.isSameApp(p.info.applicationInfo.uid, uid))) in queryContentProviders()
11749 if (hidden && !UserHandle.isSameApp(uid, pkgSetting.appId) in setApplicationHiddenSettingAsUser()
17801 if (!UserHandle.isSameApp(pi.applicationInfo.uid, callingUid)) { in enforceOwnerRights()
17964 if (!UserHandle.isSameApp(uid, pkgSetting.appId)) { in setEnabledSetting()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3579 if (!UserHandle.isSameApp(Process.SYSTEM_UID, Binder.getCallingUid())) {
3800 if (packageUid != -1 && UserHandle.isSameApp(callingUid, Process.myUid())) {
3962 if (!UserHandle.isSameApp(callingUid, Process.myUid())) {
/frameworks/base/core/java/android/app/
DActivityManager.java3370 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) { in checkComponentPermission()
DActivityThread.java1933 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3694 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSameApp()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7146 if (!UserHandle.isSameApp(callingUid, uid)) { in getIntentSender()
7321 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()
17295 result = UserHandle.isSameApp(aInfo.uid, Process.PHONE_UID) in isSingleton()
17312 return UserHandle.isSameApp(callingUid, componentUid) in isValidSingletonCall()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6632 return UserHandle.isSameApp(mInjector.binderGetCallingUid(), Process.SYSTEM_UID); in isCallerWithSystemUid()