Home
last modified time | relevance | path

Searched refs:filterAppAccess (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationEnforcer.java147 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserStateQuerent()
177 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserSelector()
202 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in callerIsLegacyUserSelector()
221 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in callerIsLegacyUserQuerent()
258 boolean filterAppAccess(@NonNull String packageName, int callingUid, @UserIdInt int userId); in filterAppAccess() method
DDomainVerificationService.java1341 && mConnection.filterAppAccess(pkgName, callingUid, userIdForFilter)) {
2120 public boolean filterAppAccess(@NonNull String packageName, int callingUid, int userId) {
2121 return mConnection.filterAppAccess(packageName, callingUid, userId);
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationEnforcerTest.kt84 whenever(filterAppAccess(eq(VISIBLE_PKG), anyInt(), anyInt())) { false } in <lambda>()
85 whenever(filterAppAccess(eq(INVISIBLE_PKG), anyInt(), anyInt())) { in <lambda>()
111 whenever(filterAppAccess(eq(VISIBLE_PKG), anyInt(), anyInt())) { false } in <lambda>()
112 whenever(filterAppAccess(eq(INVISIBLE_PKG), anyInt(), anyInt())) { in <lambda>()
DDomainVerificationUserSelectionOverrideTest.kt79 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
DDomainVerificationSettingsMutationTest.kt271 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
DDomainVerificationManagerApiTest.kt474 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
DDomainVerificationPackageTest.kt782 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java702 public abstract boolean filterAppAccess( in filterAppAccess() method in PackageManagerInternal
710 public abstract boolean filterAppAccess( in filterAppAccess() method in PackageManagerInternal
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java539 out.removeIf(it -> mPackageManagerInt.filterAppAccess(it.packageName, callingUid, in getAllPermissionGroups()
565 if (mPackageManagerInt.filterAppAccess(permissionGroupInfo.packageName, callingUid, in getPermissionGroupInfo()
596 if (mPackageManagerInt.filterAppAccess(permissionInfo.packageName, callingUid, in getPermissionInfo()
639 out.removeIf(it -> mPackageManagerInt.filterAppAccess(it.packageName, callingUid, in queryPermissionsByGroup()
722 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, userId)) { in getPermissionFlagsInternal()
827 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, userId)) { in updatePermissionFlagsInternal()
968 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, userId)) { in checkPermissionInternal()
1119 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, UserHandle.getCallingUserId())) { in getAllowlistedRestrictedPermissions()
1280 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, UserHandle.getCallingUserId())) { in setAllowlistedRestrictedPermissions()
1398 if (mPackageManagerInt.filterAppAccess(packageName, callingUid, userId)) { in isAutoRevokeExempted()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java1937 .filterAppAccess(name, Binder.getCallingUid(), UserHandle.getCallingUserId())) { in isPowerSaveWhitelistExceptIdleApp()
1945 .filterAppAccess(name, Binder.getCallingUid(), UserHandle.getCallingUserId())) { in isPowerSaveWhitelistApp()
2681 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getSystemPowerWhitelistExceptIdleInternal()
2695 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getSystemPowerWhitelistInternal()
2709 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getRemovedSystemPowerWhitelistAppsInternal()
2722 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getUserPowerWhitelistInternal()
2743 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getFullPowerWhitelistExceptIdleInternal()
2762 (pkg) -> !mPackageManagerInternal.filterAppAccess(pkg, callingUid, callingUserId)); in getFullPowerWhitelistInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1775 public boolean filterAppAccess(String packageName, int callingUid, int userId) { in filterAppAccess() method in PackageManagerService.DomainVerificationConnection
1776 return mPmInternal.filterAppAccess(packageName, callingUid, userId); in filterAppAccess()
2130 boolean filterAppAccess(AndroidPackage pkg, int callingUid, int userId); in filterAppAccess() method
2132 boolean filterAppAccess(String packageName, int callingUid, int userId); in filterAppAccess() method
4645 public boolean filterAppAccess(AndroidPackage pkg, int callingUid, int userId) { in filterAppAccess() method in PackageManagerService.ComputerEngine
4651 public boolean filterAppAccess(String packageName, int callingUid, int userId) { in filterAppAccess() method in PackageManagerService.ComputerEngine
4993 public final boolean filterAppAccess(AndroidPackage pkg, int callingUid, int userId) { in filterAppAccess() method in PackageManagerService.ComputerLocked
4995 return super.filterAppAccess(pkg, callingUid, userId); in filterAppAccess()
4998 public final boolean filterAppAccess(String packageName, int callingUid, int userId) { in filterAppAccess() method in PackageManagerService.ComputerLocked
5000 return super.filterAppAccess(packageName, callingUid, userId); in filterAppAccess()
[all …]
DLauncherAppsService.java1239 return !mPackageManagerInternal.filterAppAccess(packageName, cookie.callingUid, in isPackageVisibleToListener()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1224 if (!TextUtils.isEmpty(packageName) && mPackageManagerInternal.filterAppAccess( in getSyncAdapterTypes()
1239 if (TextUtils.isEmpty(packageName) || mPackageManagerInternal.filterAppAccess( in getSyncAdapterPackagesForAuthorityAsUser()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java895 if (pm.filterAppAccess(serviceInfo.getComponentName().getPackageName(), callingUid, in getInstalledAccessibilityServiceList()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3328 .filterAppAccess(packageName, callingUid, UserHandle.getUserId(callingUid)); in filterAppAccessUnlocked()
4363 if (packageName != null && getPackageManagerInternal().filterAppAccess(packageName, in verifyIncomingPackage()
/frameworks/base/services/
Dart-profile-boot375 Lcom/android/server/pm/PackageManagerService$PackageManagerInternalImpl;->filterAppAccess(Landroid/…
Dart-profile30537 HSPLcom/android/server/pm/PackageManagerService$ComputerEngine;->filterAppAccess(Lcom/android/serve…
30538 HSPLcom/android/server/pm/PackageManagerService$ComputerEngine;->filterAppAccess(Ljava/lang/String;…
30621 HSPLcom/android/server/pm/PackageManagerService$ComputerLocked;->filterAppAccess(Lcom/android/serve…
30622 HSPLcom/android/server/pm/PackageManagerService$ComputerLocked;->filterAppAccess(Ljava/lang/String;…
30650 HSPLcom/android/server/pm/PackageManagerService$ComputerTracker;->filterAppAccess(Lcom/android/serv…
30651 HSPLcom/android/server/pm/PackageManagerService$ComputerTracker;->filterAppAccess(Ljava/lang/String…
30705 HSPLcom/android/server/pm/PackageManagerService$DomainVerificationConnection;->filterAppAccess(Ljav…
30828 HSPLcom/android/server/pm/PackageManagerService$PackageManagerInternalImpl;->filterAppAccess(Lcom/a…
30829 HSPLcom/android/server/pm/PackageManagerService$PackageManagerInternalImpl;->filterAppAccess(Ljava/…
31212 HSPLcom/android/server/pm/PackageManagerService;->filterAppAccess(Lcom/android/server/pm/parsing/pk…
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1635 && !mPackageManagerInternal.filterAppAccess(providerPackageName, callingUid, in getInstalledProvidersForProfile()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java3140 if (mAm.getPackageManagerInternal().filterAppAccess(r.packageName, callingUid, in retrieveServiceLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15402 Landroid/content/pm/PackageManagerInternal;->filterAppAccess(Landroid/content/pm/PackageParser$Pack…