/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 | 77 if (UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate() 83 if (!UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate()
|
D | GrantCredentialsPermissionActivity.java | 86 if (!UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && mCallingUid != mUid) { in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 255 if (UserHandle.isSameApp(binder.getCallingUid(), SYSTEM_UID)) { in enforceCallingOrSelfPermission() 503 if (UserHandle.isSameApp(binder.getCallingUid(), SYSTEM_UID)) { in checkPermission()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 366 if (!UserHandle.isSameApp(ai.uid, uid)) { in enforceCallerIsSameApp()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 179 public static boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserHandle
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 488 if (UserHandle.isSameApp(uid, Process.myUid())) { in enforceSlicePermission()
|
/frameworks/base/services/people/java/com/android/server/people/ |
D | PeopleService.java | 129 return UserHandle.isSameApp(uid, Process.SYSTEM_UID) || uid == Process.ROOT_UID; in isSystemOrRoot()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 822 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked() 980 if (UserHandle.isSameApp(uid, clipboard.primaryClipUid)) { in showAccessNotificationLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingIntentController.java | 246 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()
|
D | ActivityManagerService.java | 4920 if (!UserHandle.isSameApp(owningUid, uid)) { in getIntentSenderWithFeatureAsApp() 11934 result = UserHandle.isSameApp(aInfo.uid, PHONE_UID) in isSingleton() 11951 return UserHandle.isSameApp(callingUid, componentUid) in isValidSingletonCall()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 457 UserHandle.isSameApp(context.getApplicationInfo().uid, Process.myUid()); in loadDrawableAsUser()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 763 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner() 846 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 400 return UserHandle.isSameApp(callingUid, mRecentsUid); in isCallerRecents() 408 return cn.equals(mRecentsComponent) && UserHandle.isSameApp(uid, mRecentsUid); in isRecentsComponent()
|
D | ActivityTaskManagerService.java | 2089 private boolean isSameApp(int callingUid, @Nullable String packageName) { in isSameApp() method in ActivityTaskManagerService 2098 return UserHandle.isSameApp(callingUid, uid); in isSameApp() 2112 if (isSameApp(callingUid, packageName)) { in assertPackageMatchesCallingUid()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 499 boolean isSystemUid = UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in getAccountsAndVisibilityForPackage() 683 if (UserHandle.isSameApp(uid, Process.SYSTEM_UID)) { in resolveAccountVisibility() 4172 if (!UserHandle.isSameApp(Process.SYSTEM_UID, Binder.getCallingUid())) { 4417 ((UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) 4543 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID)) { 4566 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) 4570 if (!UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) && type == null) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 2536 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersPermission() 2547 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) in hasManageUsersOrPermission() 2571 if (!UserHandle.isSameApp(uid, Process.SYSTEM_UID) && uid != Process.ROOT_UID) { in checkSystemOrRoot() 4457 || !UserHandle.isSameApp(Binder.getCallingUid(), getUidForPackage(packageName))) { in getApplicationRestrictionsForUser()
|
D | ComponentResolver.java | 376 || !UserHandle.isSameApp(pkg.getUid(), uid))) { in queryProviders()
|
D | PackageManagerService.java | 10192 if (!UserHandle.isSameApp(Binder.getCallingUid(), Process.SYSTEM_UID)) { in findPersistentPreferredActivity() 15915 if (hidden && !UserHandle.isSameApp(callingUid, pkgSetting.appId) in setApplicationHiddenSettingAsUser() 16381 && UserHandle.isSameApp(packageUid, callingUid); in enforceCanSetPackagesSuspendedAsUser() 23791 if (!UserHandle.isSameApp(callingUid, componentUid)) { 23804 if (allowedCallerUid == -1 || !UserHandle.isSameApp(callingUid, allowedCallerUid)) { 23905 if (!UserHandle.isSameApp(callingUid, pkgSetting.appId)) { 28023 && UserHandle.isSameApp(installerPackageSetting.appId, callingUid); 28512 || !UserHandle.isSameApp(contactsProvider.applicationInfo.uid, callingUid)) {
|
D | ShortcutService.java | 1615 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in isCallerSystem()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 1382 if ((UserHandle.isSameApp(callingUid, Process.SYSTEM_UID) && callingPid != Process.myPid()) in setAppStandbyBuckets()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 2429 return (UserHandle.isSameApp(mSystemUiUid, uid) in isExemptFromExactAlarmPermission() 2493 || UserHandle.isSameApp(callingUid, mSystemUiUid)
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3954 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) { in checkComponentPermission()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 3728 final boolean callerIsMediaStore = UserHandle.isSameApp(Binder.getCallingUid(), in getVolumeList()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 9524 return UserHandle.isSameApp(caller.getUid(), Process.SYSTEM_UID); 9528 return UserHandle.isSameApp(caller.getUid(), Process.ROOT_UID); 9532 return UserHandle.isSameApp(caller.getUid(), Process.SHELL_UID);
|