Home
last modified time | relevance | path

Searched refs:permissionToOp (Results 1 – 10 of 10) 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/core/java/android/content/
DPermissionChecker.java430 final String op = AppOpsManager.permissionToOp(permission); in checkAppOpPermission()
463 final String op = AppOpsManager.permissionToOp(permission); in checkRuntimePermission()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java533 AppOpsManager.permissionToOp(Manifest.permission.INTERACT_ACROSS_PROFILES);
645 AppOpsManager.permissionToOp(Manifest.permission.INTERACT_ACROSS_PROFILES);
653 AppOpsManager.permissionToOp(Manifest.permission.INTERACT_ACROSS_PROFILES));
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java648 + " requires appop " + AppOpsManager.permissionToOp( in deliverToRegisteredReceiverLocked()
682 + " requires appop " + AppOpsManager.permissionToOp( in deliverToRegisteredReceiverLocked()
1373 + " requires appop " + AppOpsManager.permissionToOp( in processNextBroadcastLocked()
1412 + " requires appop " + AppOpsManager.permissionToOp( in processNextBroadcastLocked()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java577 AppOpsManager.permissionToOp(Manifest.permission.INTERACT_ACROSS_PROFILES), in getCrossProfileAppOp()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStackSupervisor.java1039 + " requires " + AppOpsManager.permissionToOp( in checkStartAnyActivityPermission()
1047 + " requires appop " + AppOpsManager.permissionToOp(aInfo.permission); in checkStartAnyActivityPermission()
/frameworks/base/core/java/android/app/
DAppOpsManager.java6779 public static @Nullable String permissionToOp(@NonNull String permission) { in permissionToOp() method in AppOpsManager
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt1394 HSPLandroid/app/AppOpsManager;->permissionToOp(Ljava/lang/String;)Ljava/lang/String;
/frameworks/base/api/
Dcurrent.txt4380 method @Nullable public static String permissionToOp(@NonNull String);