Home
last modified time | relevance | path

Searched refs:setAppOpMode (Results 1 – 2 of 2) sorted by relevance

/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceProcessController.java157 public void setAppOpMode(String opStr, String mode) throws IOException { in setAppOpMode() method in ServiceProcessController
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java1003 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testForegroundServiceAppOp()
1045 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "ignore"); in testForegroundServiceAppOp()
1071 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testForegroundServiceAppOp()
1102 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "ignore"); in testForegroundServiceAppOp()
1135 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testForegroundServiceAppOp()
1173 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testBgRestrictedForegroundService()