Home
last modified time | relevance | path

Searched refs:MODE_ERRORED (Results 1 – 11 of 11) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAppOpsUtils.java21 import static android.app.AppOpsManager.MODE_ERRORED;
61 case MODE_ERRORED: in setOpMode()
86 return MODE_ERRORED; in getOpMode()
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/
DAppOpsUtils.kt22 import android.app.AppOpsManager.MODE_ERRORED
56 MODE_ERRORED -> "deny" in setOpMode()
72 opState.contains(" deny") -> MODE_ERRORED in getOpMode()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/appops/
DAppOps.java40 ERRORED(AppOpsManager.MODE_ERRORED),
56 case AppOpsManager.MODE_ERRORED: in forValue()
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DExternalSourcesTestAppOpDenied.kt18 import android.app.AppOpsManager.MODE_ERRORED
60 .isEqualTo(MODE_ERRORED) in verifyAppOpDenied()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsTests.java20 import static android.app.AppOpsManager.MODE_ERRORED;
220 int mode = allow ? MODE_ALLOWED : MODE_ERRORED; in setAlertWindowPermission()
DAlertWindowsImportanceTests.java23 import static android.app.AppOpsManager.MODE_ERRORED;
174 final int mode = allow ? MODE_ALLOWED : MODE_ERRORED; in setAlertWindowPermission()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreTest.java259 setAppOpsModeForUid(Process.myUid(), AppOpsManager.MODE_ERRORED, SYSTEM_GALERY_APPOPS); in testIsCurrentSystemGallery()
281 setAppOpsModeForUid(Process.myUid(), AppOpsManager.MODE_ERRORED, opString); in testCanManageMedia()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java20 import static android.app.AppOpsManager.MODE_ERRORED;
120 AppOpsUtils.setOpMode(APP_A_PACKAGE_NAME, "android:system_alert_window", MODE_ERRORED); in setUp()
122 MODE_ERRORED); in setUp() local
165 AppOpsUtils.setOpMode(SHELL_PACKAGE, "android:system_alert_window", MODE_ERRORED); in testStartBgActivity_usingStartActivitiesFromBackgroundPermission()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java723 Process.myUid(), AppOpsManager.MODE_ERRORED)); in testSendOrderedBroadcastWithAppOp_NotGranted()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java773 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, ops); in denyAppOpsToUid()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java2748 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, SYSTEM_GALERY_APPOPS); in testInsertFromExternalDirsViaRelativePathAsSystemGallery()
2760 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, SYSTEM_GALERY_APPOPS); in testUpdateToExternalDirsViaRelativePathAsSystemGallery()