Searched refs:setAppOpMode (Results 1 – 3 of 3) sorted by relevance
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | ServiceProcessController.java | 166 public void setAppOpMode(String opStr, String mode) throws IOException { in setAppOpMode() method in ServiceProcessController
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 792 setAppOpMode(AppOpsManager.OPSTR_READ_CELL_BROADCASTS, AppOpsManager.MODE_ALLOWED); in testSendOrderedBroadcastWithAppOp() 831 setAppOpMode(AppOpsManager.OPSTR_READ_CELL_BROADCASTS, AppOpsManager.MODE_ERRORED); in testSendOrderedBroadcastWithAppOp_NotGranted() 1917 setAppOpMode(AppOpsManager.OP_GET_USAGE_STATS, AppOpsManager.MODE_DEFAULT); in testSendBroadcast_requireAppOpPermission_receiverHasPermissionAndDefaultAppOp() 1941 setAppOpMode(AppOpsManager.OP_GET_USAGE_STATS, AppOpsManager.MODE_ALLOWED); in testSendBroadcast_requireAppOpPermission_receiverHasPermissionAndAllowedAppOp() 1964 setAppOpMode(AppOpsManager.OP_GET_USAGE_STATS, AppOpsManager.MODE_ERRORED); in testSendBroadcast_requireAppOpPermission_receiverHasPermissionAndErroredAppOp() 2506 private void setAppOpMode(int appOpCode, @AppOpsManager.Mode int appOpMode) { in setAppOpMode() method in ContextTest 2512 private void setAppOpMode(String appOp, @AppOpsManager.Mode int appOpMode) { in setAppOpMode() method in ContextTest
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 1100 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testForegroundServiceAppOp() 1142 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "ignore"); in testForegroundServiceAppOp() 1168 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testForegroundServiceAppOp() 1200 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "ignore"); in testForegroundServiceAppOp() 1233 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testForegroundServiceAppOp() 1274 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testBgRestrictedForegroundService() 2405 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "allow"); in testForegroundService_malformedNotificationExtras() 2421 controller.setAppOpMode(AppOpsManager.OPSTR_START_FOREGROUND, "ignore"); in testForegroundService_malformedNotificationExtras()
|