/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/accounts/ |
D | ChooseAccountActivity.java | 84 if (UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate() 90 if (!UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate()
|
/frameworks/base/services/net/java/android/net/ |
D | NetworkStackClient.java | 489 if (caller != Process.SYSTEM_UID && !UserHandle.isSameApp(caller, Process.BLUETOOTH_UID) 490 && !UserHandle.isSameApp(caller, Process.PHONE_UID)) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTaskImpl.java | 100 if (!mService.isSameApp(callingUid, callingPackage)) { in moveToFront()
|
D | RecentTasks.java | 383 return UserHandle.isSameApp(callingUid, mRecentsUid); in isCallerRecents() 391 return cn.equals(mRecentsComponent) && UserHandle.isSameApp(uid, mRecentsUid); in isRecentsComponent()
|
D | ActivityTaskManagerService.java | 2359 if (!isSameApp(callingUid, callingPackage)) { in moveTaskToFrontLocked() 2416 boolean isSameApp(int callingUid, @Nullable String packageName) { in isSameApp() method in ActivityTaskManagerService 2425 return UserHandle.isSameApp(callingUid, uid); in isSameApp()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 152 public static boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserHandle
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 366 if (!UserHandle.isSameApp(ai.uid, uid)) { in enforceCallerIsSameApp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingIntentController.java | 220 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()
|
D | ActivityManagerService.java | 5408 if (!UserHandle.isSameApp(callingUid, uid)) { in getIntentSender() 14018 result = UserHandle.isSameApp(aInfo.uid, PHONE_UID) in isSingleton() 14035 return UserHandle.isSameApp(callingUid, componentUid) in isValidSingletonCall()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 485 if (UserHandle.isSameApp(uid, Process.myUid())) { in enforceSlicePermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 238 if (UserHandle.isSameApp(binder.getCallingUid(), SYSTEM_UID)) { in enforceCallingOrSelfPermission()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 583 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrPhoneOrSameApp()
|
D | SMSDispatcher.java | 2007 if (!UserHandle.isSameApp(ai.uid, Binder.getCallingUid())) { in checkCallerIsPhoneOrCarrierApp()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 660 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner() 742 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 687 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 494 boolean isSystemUid = UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in getAccountsAndVisibilityForPackage() 677 if (UserHandle.isSameApp(uid, Process.SYSTEM_UID)) { in resolveAccountVisibility() 4056 if (!UserHandle.isSameApp(Process.SYSTEM_UID, Binder.getCallingUid())) { 4301 ((UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) 4436 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID)) { 4459 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) 4463 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) && type == null) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1958 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersPermission() 1969 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersOrPermission() 1993 if (!UserHandle.isSameApp(uid, Process.SYSTEM_UID) && uid != Process.ROOT_UID) { in checkSystemOrRoot() 3156 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser()
|
D | ComponentResolver.java | 266 || !UserHandle.isSameApp(p.info.applicationInfo.uid, uid))) { in queryProviders()
|
D | PackageManagerService.java | 5862 && UserHandle.isSameApp(installerPackageSetting.appId, Binder.getCallingUid()); 5991 && UserHandle.isSameApp(installerPackageSetting.appId, Binder.getCallingUid()); 6592 if (!UserHandle.isSameApp(Binder.getCallingUid(), Process.SYSTEM_UID)) { 13299 if (hidden && !UserHandle.isSameApp(callingUid, pkgSetting.appId) 13697 && UserHandle.isSameApp(packageUid, callingUid); 20892 if (!UserHandle.isSameApp(pi.applicationInfo.uid, callingUid)) { 21336 if (!UserHandle.isSameApp(callingUid, pkgSetting.appId)) {
|
D | ShortcutService.java | 1512 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in isCallerSystem()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 1313 if (!UserHandle.isSameApp(uid, Process.BLUETOOTH_UID)) { in setCallback()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3745 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) {
|
D | ActivityThread.java | 2235 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 2106 || UserHandle.isSameApp(callingUid, mSystemUiUid)
|