Searched refs:checkPermissionAndAppOps (Results 1 – 2 of 2) sorted by relevance
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | PermissionUtils.java | 153 public static void checkPermissionAndAppOps(String permission, int expected, String packageName) in checkPermissionAndAppOps() method in PermissionUtils 155 assertPermission(permission, packageName, checkPermissionAndAppOps(permission, packageName), in checkPermissionAndAppOps() 159 private static int checkPermissionAndAppOps(String permission, String packageName) in checkPermissionAndAppOps() method in PermissionUtils
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 228 PermissionUtils.checkPermissionAndAppOps(permission, PERMISSION_GRANTED, in assertCannotSetPermissionGrantStatePreMApp() 253 PermissionUtils.checkPermissionAndAppOps(permission, PERMISSION_GRANTED, in assertCanSetPermissionGrantStatePreMApp() 257 PermissionUtils.checkPermissionAndAppOps(permission, PERMISSION_DENIED, in assertCanSetPermissionGrantStatePreMApp()
|