Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java56 return UserHandle.isSameApp(packageUid, callerUid); in matches()
/frameworks/base/core/java/android/os/
DUserHandle.java92 public static final boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserHandle
/frameworks/base/core/java/android/content/
DContentProvider.java484 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner()
552 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java373 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java590 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrPhoneOrSameApp()
DSMSDispatcher.java1724 if (!UserHandle.isSameApp(ai.uid, Binder.getCallingUid())) { in checkCallerIsPhoneOrCarrierApp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java461 public boolean isSameApp(int uid, int pid) { in isSameApp() method in WifiServiceImpl.BatchedScanRequest
537 if (r.isSameApp(uid, pid) && (settings == null || settings.equals(r.settings))) { in stopBatchedScan()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1443 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser()
1456 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in setApplicationRestrictions()
DPackageManagerService.java4027 && UserHandle.isSameApp(p.info.applicationInfo.uid, uid))) in queryContentProviders()
12089 if (!UserHandle.isSameApp(pi.applicationInfo.uid, callingUid)) { in enforceOwnerRights()
12171 if (!allowedByPermission && !UserHandle.isSameApp(uid, pkgSetting.appId)) { in setEnabledSetting()
/frameworks/base/core/java/android/app/
DActivityManager.java2481 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) { in checkComponentPermission()
DActivityThread.java1710 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2250 if (packageUid != -1 && UserHandle.isSameApp(callingUid, Process.myUid())) { in getAccountsAsUser()
2352 if (!UserHandle.isSameApp(callingUid, Process.myUid())) { in getAccountsForPackage()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2854 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrSameApp()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6480 if (!UserHandle.isSameApp(callingUid, uid)) { in getIntentSender()
6575 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()
15297 result = UserHandle.isSameApp(aInfo.uid, Process.PHONE_UID) in isSingleton()
15315 return UserHandle.isSameApp(callingUid, componentUid) in isValidSingletonCall()