Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationEnforcer.java150 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
DDomainVerificationService.java1480 && mConnection.filterAppAccess(pkgName, callingUid, userIdForFilter)) { in getAndValidateAttachedLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DDomainVerificationConnection.java91 public boolean filterAppAccess(String packageName, int callingUid, int userId) { in filterAppAccess() method in DomainVerificationConnection
92 return mPm.snapshotComputer().filterAppAccess( in filterAppAccess()
DPackageManagerInternalBase.java131 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()
DComputer.java342 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
DLauncherAppsService.java647 if (mPackageManagerInternal.filterAppAccess( in shouldHideFromSuggestions()
1146 if (mPackageManagerInternal.filterAppAccess(packageName, callingUid, userId)) { in getSuspendedPackageLauncherExtras()
2223 return !mPackageManagerInternal.filterAppAccess(packageName, cookie.callingUid, in isPackageVisibleToListener()
DComputerEngine.java2994 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/
DPackageManagerInternal.java806 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/
DDomainVerificationEnforcerTest.kt86 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>()
DDomainVerificationUserSelectionOverrideTest.kt80 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
DDomainVerificationSettingsMutationTest.kt262 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
DDomainVerificationManagerApiTest.kt556 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
DDomainVerificationPackageTest.kt1087 whenever(filterAppAccess(anyString(), anyInt(), anyInt())) { false } in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java533 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 …]
DPermissionManagerService.java343 if (pkg == null || mPackageManagerInt.filterAppAccess(pkg, callingUid, in checkAutoRevokeAccess()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2241 .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/
DAppWidgetServiceImplTest.java121 when(mMockPackageManager.filterAppAccess(anyString(), anyInt(), anyInt())) in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceBindingOomAdjPolicyTest.java181 doReturn(false).when(mPackageManagerInt).filterAppAccess(anyString(), anyInt(), anyInt()); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java1118 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/
DTextServicesManagerService.java737 return !pmInternal.filterAppAccess(sci.getPackageName(), callingUid, userId); in canCallerAccessSpellChecker()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1393 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()
DSyncStorageEngine.java685 if (callingPackageName != null && mPackageManagerInternal.filterAppAccess( in reportChange()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java1506 if (LocalServices.getService(PackageManagerInternal.class).filterAppAccess( in filterReceiverAccess()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt1352 packageManagerInternal.filterAppAccess(packageName, callingUid, userId, false) in <lambda>()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1329 if (pm.filterAppAccess(serviceInfo.getComponentName().getPackageName(), callingUid, in getInstalledAccessibilityServiceList()
4420 && pm.filterAppAccess( in getA11yFeatureToTileMapInternal()

12