/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPackageFilter.java | 56 return UserHandle.isSameApp(packageUid, callerUid); in matches()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 92 public static final boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserHandle
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 484 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner() 552 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 373 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 590 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrPhoneOrSameApp()
|
D | SMSDispatcher.java | 1724 if (!UserHandle.isSameApp(ai.uid, Binder.getCallingUid())) { in checkCallerIsPhoneOrCarrierApp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 461 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/ |
D | UserManagerService.java | 1443 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser() 1456 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in setApplicationRestrictions()
|
D | PackageManagerService.java | 4027 && 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/ |
D | ActivityManager.java | 2481 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) { in checkComponentPermission()
|
D | ActivityThread.java | 1710 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2250 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/ |
D | NotificationManagerService.java | 2854 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrSameApp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6480 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()
|