Searched refs:MODE_ERRORED (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/permission/src/android/permission/cts/ |
D | AppOpsTest.java | 21 import static android.app.AppOpsManager.MODE_ERRORED; 133 setOpMode(mOpPackageName, OPSTR_READ_SMS, MODE_ERRORED); in testNoteOpAndCheckOp() 134 assertEquals(MODE_ERRORED, mAppOps.noteOpNoThrow(OPSTR_READ_SMS, mMyUid, mOpPackageName)); in testNoteOpAndCheckOp() 135 assertEquals(MODE_ERRORED, mAppOps.checkOpNoThrow(OPSTR_READ_SMS, mMyUid, mOpPackageName)); in testNoteOpAndCheckOp() 163 setOpMode(mOpPackageName, OPSTR_READ_SMS, MODE_ERRORED); in testStartOpAndFinishOp() 164 assertEquals(MODE_ERRORED, mAppOps.startOpNoThrow(OPSTR_READ_SMS, mMyUid, mOpPackageName)); in testStartOpAndFinishOp() 209 setOpMode(mOpPackageName, OPSTR_READ_SMS, MODE_ERRORED); in testWatchingMode() 229 setOpMode(mOpPackageName, OPSTR_READ_SMS, MODE_ERRORED); in testWatchingMode() 303 setOpMode(mOpPackageName, OPSTR_READ_CALENDAR, MODE_ERRORED); in testGetOpsForPackage_opsAreLogged()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | AppOpsUtils.java | 21 import static android.app.AppOpsManager.MODE_ERRORED; 60 case MODE_ERRORED: in setOpMode()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AlertWindowsAppOpsTests.java | 39 import static android.app.AppOpsManager.MODE_ERRORED; 77 OPSTR_SYSTEM_ALERT_WINDOW, MODE_ERRORED); in revokeSystemAlertWindowAccess() local
|
D | AlertWindowsTests.java | 20 import static android.app.AppOpsManager.MODE_ERRORED; 220 int mode = allow ? MODE_ALLOWED : MODE_ERRORED; in setAlertWindowPermission()
|
/cts/tests/tests/packageinstaller/externalsources/src/android/packageinstaller/externalsources/cts/ |
D | ExternalSourcesInstantAppsTest.java | 59 setAppOpsMode(AppOpsManager.MODE_ERRORED); in blockedSourceTest()
|