/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/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 | 2374 if (!isSameApp(callingUid, callingPackage)) { in moveTaskToFrontLocked() 2431 boolean isSameApp(int callingUid, @Nullable String packageName) { in isSameApp() method in ActivityTaskManagerService 2440 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 | 221 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()
|
D | ActivityManagerService.java | 5437 if (!UserHandle.isSameApp(callingUid, uid)) { in getIntentSender() 14102 result = UserHandle.isSameApp(aInfo.uid, PHONE_UID) in isSingleton() 14119 return UserHandle.isSameApp(callingUid, componentUid) in isValidSingletonCall()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 487 if (UserHandle.isSameApp(uid, Process.myUid())) { in enforceSlicePermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 240 if (UserHandle.isSameApp(binder.getCallingUid(), SYSTEM_UID)) { in enforceCallingOrSelfPermission()
|
/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() 4083 if (!UserHandle.isSameApp(Process.SYSTEM_UID, Binder.getCallingUid())) { 4328 ((UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) 4460 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID)) { 4483 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) 4487 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) && type == null) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 2017 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersPermission() 2028 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersOrPermission() 2052 if (!UserHandle.isSameApp(uid, Process.SYSTEM_UID) && uid != Process.ROOT_UID) { in checkSystemOrRoot() 3383 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser()
|
D | ComponentResolver.java | 267 || !UserHandle.isSameApp(p.info.applicationInfo.uid, uid))) { in queryProviders()
|
D | PackageManagerService.java | 5795 && UserHandle.isSameApp(installerPackageSetting.appId, Binder.getCallingUid()); 5924 && UserHandle.isSameApp(installerPackageSetting.appId, Binder.getCallingUid()); 6525 if (!UserHandle.isSameApp(Binder.getCallingUid(), Process.SYSTEM_UID)) { 12855 if (hidden && !UserHandle.isSameApp(callingUid, pkgSetting.appId) 13254 && UserHandle.isSameApp(packageUid, callingUid); 20290 if (!UserHandle.isSameApp(pi.applicationInfo.uid, callingUid)) { 20744 if (!UserHandle.isSameApp(callingUid, pkgSetting.appId)) {
|
D | ShortcutService.java | 1512 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in isCallerSystem()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3752 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) {
|
D | ActivityThread.java | 2254 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 2104 || UserHandle.isSameApp(callingUid, mSystemUiUid)
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 7447 if (!UserHandle.isSameApp(ai.uid, uid)) {
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 8813 return UserHandle.isSameApp(mInjector.binderGetCallingUid(), Process.SYSTEM_UID); in isCallerWithSystemUid()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 12335 HSPLandroid/os/UserHandle;->isSameApp(II)Z
|