Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java60 return UserHandle.isSameApp(packageUid, callerUid); in matches()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java84 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/
DAppTaskImpl.java100 if (!mService.isSameApp(callingUid, callingPackage)) { in moveToFront()
DRecentTasks.java383 return UserHandle.isSameApp(callingUid, mRecentsUid); in isCallerRecents()
391 return cn.equals(mRecentsComponent) && UserHandle.isSameApp(uid, mRecentsUid); in isRecentsComponent()
DActivityTaskManagerService.java2374 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/
DUserHandle.java152 public static boolean isSameApp(int uid1, int uid2) { in isSameApp() method in UserHandle
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java366 if (!UserHandle.isSameApp(ai.uid, uid)) { in enforceCallerIsSameApp()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java221 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) { in cancelIntentSender()
DActivityManagerService.java5437 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/
DSliceManager.java487 if (UserHandle.isSameApp(uid, Process.myUid())) { in enforceSlicePermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java240 if (UserHandle.isSameApp(binder.getCallingUid(), SYSTEM_UID)) { in enforceCallingOrSelfPermission()
/frameworks/base/core/java/android/content/
DContentProvider.java660 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner()
742 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java687 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) { in addActiveOwnerLocked()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java494 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/
DUserManagerService.java2017 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()
DComponentResolver.java267 || !UserHandle.isSameApp(p.info.applicationInfo.uid, uid))) { in queryProviders()
DPackageManagerService.java5795 && 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)) {
DShortcutService.java1512 return UserHandle.isSameApp(callingUid, Process.SYSTEM_UID); in isCallerSystem()
/frameworks/base/core/java/android/app/
DActivityManager.java3752 if (owningUid >= 0 && UserHandle.isSameApp(uid, owningUid)) {
DActivityThread.java2254 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java2104 || UserHandle.isSameApp(callingUid, mSystemUiUid)
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7447 if (!UserHandle.isSameApp(ai.uid, uid)) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8813 return UserHandle.isSameApp(mInjector.binderGetCallingUid(), Process.SYSTEM_UID); in isCallerWithSystemUid()
/frameworks/base/config/
Dboot-image-profile.txt12335 HSPLandroid/os/UserHandle;->isSameApp(II)Z