Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DPackageManagers.kt37 suspend fun getAppOpPermissionPackages(userId: Int, permission: String): Set<String> in getPackageInfoAsUser() method
91 override suspend fun getAppOpPermissionPackages(userId: Int, permission: String): Set<String> = in getPackageInfoAsUserCached() method in com.android.settingslib.spaprivileged.model.app.PackageManagersImpl
92 iPackageManager.getAppOpPermissionPackages(permission, userId).asIterable().asyncFilter { in getPackageInfoAsUserCached()
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/
DAppEnumerationInternalTests.java116 final String[] packageNames = mIPackageManager.getAppOpPermissionPackages( in getAppOpPermissionPackages_canSeeForceQueryable()
126 final String[] packageNames = mIPackageManager.getAppOpPermissionPackages( in getAppOpPermissionPackages_cannotSeeHasAppOpPermission()
DCrossUserPackageVisibilityTests.java278 .getAppOpPermissionPackages(PERMISSION_REQUEST_INSTALL_PACKAGES, userId)) in testGetAppOpPermissionPackages_cannotDetectPkg()
284 .getAppOpPermissionPackages(PERMISSION_REQUEST_INSTALL_PACKAGES, userId)) in testGetAppOpPermissionPackages_cannotDetectPkg()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionRegistry.java121 public ArraySet<String> getAppOpPermissionPackages(@NonNull String permissionName) { in getAppOpPermissionPackages() method in PermissionRegistry
DPermissionManagerServiceTestingShim.java410 public String[] getAppOpPermissionPackages(@NonNull String permissionName) { in getAppOpPermissionPackages() method in PermissionManagerServiceTestingShim
411 String[] oldVal = mOldImplementation.getAppOpPermissionPackages(permissionName); in getAppOpPermissionPackages()
412 String[] newVal = mNewImplementation.getAppOpPermissionPackages(permissionName); in getAppOpPermissionPackages()
DPermissionManagerServiceInternal.java161 String[] getAppOpPermissionPackages(@NonNull String permissionName); in getAppOpPermissionPackages() method
DPermissionManagerServiceLoggingDecorator.java320 public String[] getAppOpPermissionPackages(@NonNull String permissionName) { in getAppOpPermissionPackages() method in PermissionManagerServiceLoggingDecorator
322 return mService.getAppOpPermissionPackages(permissionName); in getAppOpPermissionPackages()
DPermissionManagerServiceInterface.java512 String[] getAppOpPermissionPackages(@NonNull String permissionName); in getAppOpPermissionPackages() method
DPermissionManagerServiceTracingDecorator.java463 public String[] getAppOpPermissionPackages(@NonNull String permissionName) { in getAppOpPermissionPackages() method in PermissionManagerServiceTracingDecorator
467 return mService.getAppOpPermissionPackages(permissionName); in getAppOpPermissionPackages()
DPermissionManagerService.java811 public String[] getAppOpPermissionPackages(@NonNull String permissionName) { in getAppOpPermissionPackages() method in PermissionManagerService.PermissionManagerServiceInternalImpl
812 return mPermissionManagerServiceImpl.getAppOpPermissionPackages(permissionName); in getAppOpPermissionPackages()
DPermissionManagerServiceImpl.java507 final ArraySet<String> packageNames = mRegistry.getAppOpPermissionPackages( in getAppOpPermissionPackagesInternal()
5179 public String[] getAppOpPermissionPackages(@NonNull String permissionName) {
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/
DAppOpPermissionAppList.kt94 .map { userId -> packageManagers.getAppOpPermissionPackages(userId, permission) } in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java249 doReturn(packageNames).when(mPermissionManagerInternal).getAppOpPermissionPackages( in upgradeScheduleExactAlarm()
308 doReturn(packageNames).when(mPermissionManagerInternal).getAppOpPermissionPackages( in resetUseFullScreenIntent()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsCheckingServiceImpl.java603 final String[] packagesDeclaringPermission = pmsi.getAppOpPermissionPackages( in upgradeScheduleExactAlarmLocked()
644 pmsi.getAppOpPermissionPackages(permissionName); in resetUseFullScreenIntentLocked()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java174 when(mIPackageManager.getAppOpPermissionPackages(eq(permissionName), anyInt())) in mockCrossProfileAppRequestsInteractAcrossProfiles()
493 when(mIPackageManager.getAppOpPermissionPackages(eq(permissionName), anyInt())) in mockCrossProfileAppDoesNotRequestInteractAcrossProfiles()
/frameworks/base/services/core/java/com/android/server/pm/
DIPackageManagerBase.java325 public final String[] getAppOpPermissionPackages(@NonNull String permissionName, int userId) { in getAppOpPermissionPackages() method in IPackageManagerBase
326 return snapshot().getAppOpPermissionPackages(permissionName, userId); in getAppOpPermissionPackages()
DComputer.java475 String[] getAppOpPermissionPackages(@NonNull String permissionName, int userId); in getAppOpPermissionPackages() method
DCrossProfileAppsServiceImpl.java288 mInjector.getIPackageManager().getAppOpPermissionPackages(permission, userId); in hasRequestedAppOpPermission()
DComputerEngine.java4569 public String[] getAppOpPermissionPackages(@NonNull String permissionName, int userId) { in getAppOpPermissionPackages() method in ComputerEngine
4579 mPermissionManager.getAppOpPermissionPackages(permissionName)); in getAppOpPermissionPackages()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java505 when(mPermissionManagerInternal.getAppOpPermissionPackages( in setUp()
2449 when(mPermissionManagerInternal.getAppOpPermissionPackages(SCHEDULE_EXACT_ALARM))
2459 when(mPermissionManagerInternal.getAppOpPermissionPackages(SCHEDULE_EXACT_ALARM))
3193 when(mPermissionManagerInternal.getAppOpPermissionPackages(
3210 when(mPermissionManagerInternal.getAppOpPermissionPackages(
3228 when(mPermissionManagerInternal.getAppOpPermissionPackages(
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl774 String[] getAppOpPermissionPackages(String permissionName, int userId); in getAppOpPermissionPackages() method
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt1912 override fun getAppOpPermissionPackages(permissionName: String): Array<String> { in <lambda>() method in com.android.server.permission.access.permission.PermissionService
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java1940 final String[] candidates = mLocalPermissionManager.getAppOpPermissionPackages( in refreshExactAlarmCandidates()
/frameworks/base/services/
Dart-wear-profile17549 PLcom/android/server/permission/access/permission/PermissionService;->getAppOpPermissionPackages(Lj…
20499 …ermissionManagerService$PermissionManagerServiceInternalImpl;->getAppOpPermissionPackages(Ljava/la…