/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationEnforcer.java | 150 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserStateQuerent() 180 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserSelector() 205 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in callerIsLegacyUserSelector() 224 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in callerIsLegacyUserQuerent() 261 boolean filterAppAccess(@NonNull String packageName, int callingUid, @UserIdInt int userId); in filterAppAccess() method
|
D | DomainVerificationService.java | 1480 && mConnection.filterAppAccess(pkgName, callingUid, userIdForFilter)) { in getAndValidateAttachedLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DomainVerificationConnection.java | 91 public boolean filterAppAccess(String packageName, int callingUid, int userId) { in filterAppAccess() method in DomainVerificationConnection 92 return mPm.snapshotComputer().filterAppAccess( in filterAppAccess()
|
D | PackageManagerInternalBase.java | 131 public final boolean filterAppAccess(AndroidPackage pkg, int callingUid, int userId) { in filterAppAccess() method in PackageManagerInternalBase 132 return snapshot().filterAppAccess(pkg, callingUid, userId); in filterAppAccess() 137 public final boolean filterAppAccess(String packageName, int callingUid, int userId, in filterAppAccess() method in PackageManagerInternalBase 139 return snapshot().filterAppAccess(packageName, callingUid, userId, filterUninstalled); in filterAppAccess() 144 public final boolean filterAppAccess(int uid, int callingUid) { in filterAppAccess() method in PackageManagerInternalBase 145 return snapshot().filterAppAccess(uid, callingUid); in filterAppAccess()
|
D | Computer.java | 342 boolean filterAppAccess(AndroidPackage pkg, int callingUid, int userId); in filterAppAccess() method 343 boolean filterAppAccess(String packageName, int callingUid, int userId, in filterAppAccess() method 345 boolean filterAppAccess(int uid, int callingUid); in filterAppAccess() method
|
D | LauncherAppsService.java | 647 if (mPackageManagerInternal.filterAppAccess( in shouldHideFromSuggestions() 1146 if (mPackageManagerInternal.filterAppAccess(packageName, callingUid, userId)) { in getSuspendedPackageLauncherExtras() 2223 return !mPackageManagerInternal.filterAppAccess(packageName, cookie.callingUid, in isPackageVisibleToListener()
|
D | ComputerEngine.java | 2994 public boolean filterAppAccess(AndroidPackage pkg, int callingUid, int userId) { in filterAppAccess() method in ComputerEngine 2999 public boolean filterAppAccess(String packageName, int callingUid, int userId, in filterAppAccess() method in ComputerEngine 3006 public boolean filterAppAccess(int uid, int callingUid) { in filterAppAccess() method in ComputerEngine
|
/frameworks/base/services/core/java/android/content/pm/ |
D | PackageManagerInternal.java | 806 public abstract boolean filterAppAccess( in filterAppAccess() method in PackageManagerInternal 815 public boolean filterAppAccess(@NonNull String packageName, int callingUid, int userId) { in filterAppAccess() method in PackageManagerInternal 816 return filterAppAccess(packageName, callingUid, userId, true /* filterUninstalled */); in filterAppAccess() 829 public abstract boolean filterAppAccess( in filterAppAccess() method in PackageManagerInternal 840 public abstract boolean filterAppAccess(int uid, int callingUid); in filterAppAccess() method in PackageManagerInternal
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationEnforcerTest.kt | 86 whenever(filterAppAccess(eq(VISIBLE_PKG), anyInt(), anyInt())) { false } in <lambda>() 87 whenever(filterAppAccess(eq(INVISIBLE_PKG), anyInt(), anyInt())) { in <lambda>() 117 whenever(filterAppAccess(eq(VISIBLE_PKG), anyInt(), anyInt())) { false } in <lambda>() 118 whenever(filterAppAccess(eq(INVISIBLE_PKG), anyInt(), anyInt())) { in <lambda>()
|
D | DomainVerificationUserSelectionOverrideTest.kt | 80 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
|
D | DomainVerificationSettingsMutationTest.kt | 262 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
|
D | DomainVerificationManagerApiTest.kt | 556 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
|
D | DomainVerificationPackageTest.kt | 1087 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 533 out.removeIf(it -> mPackageManagerInt.filterAppAccess(it.packageName, callingUid, in getAllPermissionGroups() 558 if (mPackageManagerInt.filterAppAccess(permissionGroupInfo.packageName, callingUid, in getPermissionGroupInfo() 588 if (mPackageManagerInt.filterAppAccess(permissionInfo.packageName, callingUid, in getPermissionInfo() 633 if (permissionGroup != null && mPackageManagerInt.filterAppAccess( in queryPermissionsByGroup() 638 out.removeIf(it -> mPackageManagerInt.filterAppAccess(it.packageName, callingUid, in queryPermissionsByGroup() 723 if (mPackageManagerInt.filterAppAccess(packageName, callingUid, userId, in getPermissionFlagsInternal() 823 if (mPackageManagerInt.filterAppAccess(packageName, callingUid, userId, in updatePermissionFlagsInternal() 951 if (mPackageManagerInt.filterAppAccess(pkg.getPackageName(), callingUid, userId, in checkPermissionInternal() 1099 if (mPackageManagerInt.filterAppAccess(packageName, callingUid, in getAllowlistedRestrictedPermissions() 1212 if (mPackageManagerInt.filterAppAccess(permissionPackageName, callingUid, callingUserId, in checkExistsAndEnforceCannotModifyImmutablyRestrictedPermission() [all …]
|
D | PermissionManagerService.java | 343 if (pkg == null || mPackageManagerInt.filterAppAccess(pkg, callingUid, in checkAutoRevokeAccess()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 2241 .filterAppAccess(name, Binder.getCallingUid(), UserHandle.getCallingUserId())) { in isPowerSaveWhitelistExceptIdleApp() 2249 .filterAppAccess(name, Binder.getCallingUid(), UserHandle.getCallingUserId())) { in isPowerSaveWhitelistApp() 3045 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getSystemPowerWhitelistExceptIdleInternal() 3059 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getSystemPowerWhitelistInternal() 3073 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getRemovedSystemPowerWhitelistAppsInternal() 3086 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getUserPowerWhitelistInternal() 3107 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getFullPowerWhitelistExceptIdleInternal() 3112 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getFullPowerWhitelistInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 121 when(mMockPackageManager.filterAppAccess(anyString(), anyInt(), anyInt())) in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceBindingOomAdjPolicyTest.java | 181 doReturn(false).when(mPackageManagerInt).filterAppAccess(anyString(), anyInt(), anyInt()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderHelper.java | 1118 return !mService.getPackageManagerInternal().filterAppAccess(holder.info.packageName, in isHolderVisibleToCaller() 1122 return !mService.getPackageManagerInternal().filterAppAccess(holder.info.packageName, in isHolderVisibleToCaller()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 737 return !pmInternal.filterAppAccess(sci.getPackageName(), callingUid, userId); in canCallerAccessSpellChecker()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 1393 if (!TextUtils.isEmpty(packageName) && mPackageManagerInternal.filterAppAccess( in getSyncAdapterTypes() 1408 if (TextUtils.isEmpty(packageName) || mPackageManagerInternal.filterAppAccess( in getSyncAdapterPackagesForAuthorityAsUser() 1430 if (TextUtils.isEmpty(packageName) || mPackageManagerInternal.filterAppAccess( in getSyncAdapterPackageAsUser()
|
D | SyncStorageEngine.java | 685 if (callingPackageName != null && mPackageManagerInternal.filterAppAccess( in reportChange()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 1506 if (LocalServices.getService(PackageManagerInternal.class).filterAppAccess( in filterReceiverAccess()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 1352 packageManagerInternal.filterAppAccess(packageName, callingUid, userId, false) in <lambda>()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 1329 if (pm.filterAppAccess(serviceInfo.getComponentName().getPackageName(), callingUid, in getInstalledAccessibilityServiceList() 4420 && pm.filterAppAccess( in getA11yFeatureToTileMapInternal()
|