Searched refs:setAppOpMode (Results 1 – 2 of 2) sorted by relevance
157 public void setAppOpMode(String opStr, String mode) throws IOException { in setAppOpMode() method in ServiceProcessController
1003 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()