Home
last modified time | relevance | path

Searched refs:permissionToOp (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DPermissionCheckerTest.java54 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForPreflight_appOpPermission_modeDefaultAndPermissionGranted_returnsGranted()
66 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForPreflight_appOpPermission_modeDefaultAndPermissionNotGranted_returnsHardDenied()
78 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForPreflight_appOpPermission_modeAllowed_returnsGranted()
90 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForPreflight_appOpPermission_packageNameIsNull_returnsGranted()
102 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForPreflight_appOpPermission_modeIgnored_returnsHardDenied()
114 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForPreflight_appOpPermission_modeErrored_returnsHardDenied()
127 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForDataDelivery_appOpPermission_modeDefaultAndPermissionGranted_returnsGranted()
139 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForDataDelivery_appOpPermission_modeDefaultAndPermissionNotGranted_returnsHardDenied()
151 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForDataDelivery_appOpPermission_modeAllowed_returnsGranted()
163 mAppOpsManager.setMode(AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES_PERMISSION), in testCheckPermissionForDataDelivery_appOpPermission_packageNameIsNull_returnsGranted()
[all …]
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java364 Objects.requireNonNull(AppOpsManager.permissionToOp(RECORD_AUDIO)), in startRecordAudioOp()
384 Objects.requireNonNull(AppOpsManager.permissionToOp(RECORD_AUDIO)), in finishRecordAudioOp()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastSkipPolicy.java145 + " requires appop " + AppOpsManager.permissionToOp( in shouldSkipMessage()
411 + " requires appop " + AppOpsManager.permissionToOp( in shouldSkipMessage()
506 + " requires appop " + AppOpsManager.permissionToOp( in shouldSkipMessage()
549 + " excludes appop " + AppOpsManager.permissionToOp( in shouldSkipMessage()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java573 final String op = AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES);
709 AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES);
717 AppOpsManager.permissionToOp(INTERACT_ACROSS_PROFILES));
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java255 AppOpsManager.permissionToOp(Manifest.permission.REQUEST_INSTALL_PACKAGES); in onActivityResult()
568 AppOpsManager.permissionToOp(Manifest.permission.REQUEST_INSTALL_PACKAGES); in handleUnknownSources()
/frameworks/base/core/java/android/speech/
DRecognitionService.java881 final String op = AppOpsManager.permissionToOp(Manifest.permission.RECORD_AUDIO); in finishDataDelivery()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java627 AppOpsManager.permissionToOp(Manifest.permission.INTERACT_ACROSS_PROFILES), in getCrossProfileAppOp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallRepository.kt776 val appOpStr = AppOpsManager.permissionToOp(Manifest.permission.REQUEST_INSTALL_PACKAGES) in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1177 + " requires " + AppOpsManager.permissionToOp( in checkStartAnyActivityPermission()
1185 + " requires appop " + AppOpsManager.permissionToOp(aInfo.permission); in checkStartAnyActivityPermission()
/frameworks/base/core/java/android/permission/
DPermissionManager.java357 PermissionChecker.finishDataDelivery(mContext, AppOpsManager.permissionToOp(permission), in finishDataDelivery()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt1047 val appOpName = AppOpsManager.permissionToOp(permissionName)!! in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java3659 String appOp = AppOpsManager.permissionToOp(permission);
/frameworks/base/core/java/android/app/
DAppOpsManager.java8235 public static @Nullable String permissionToOp(@NonNull String permission) { in permissionToOp() method in AppOpsManager
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java21682 AppOpsManager.permissionToOp(Manifest.permission.INTERACT_ACROSS_PROFILES);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt1130 HSPLandroid/app/AppOpsManager;->permissionToOp(Ljava/lang/String;)Ljava/lang/String;
/frameworks/base/config/
Dboot-image-profile.txt1130 HSPLandroid/app/AppOpsManager;->permissionToOp(Ljava/lang/String;)Ljava/lang/String;
/frameworks/base/core/api/
Dcurrent.txt5097 method @Nullable public static String permissionToOp(@NonNull String);