Searched refs:MODE_ERRORED (Results 1 – 11 of 11) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AppOpsUtils.java | 21 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/ |
D | AppOpsUtils.kt | 22 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/ |
D | AppOps.java | 40 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/ |
D | ExternalSourcesTestAppOpDenied.kt | 18 import android.app.AppOpsManager.MODE_ERRORED 60 .isEqualTo(MODE_ERRORED) in verifyAppOpDenied()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AlertWindowsTests.java | 20 import static android.app.AppOpsManager.MODE_ERRORED; 220 int mode = allow ? MODE_ALLOWED : MODE_ERRORED; in setAlertWindowPermission()
|
D | AlertWindowsImportanceTests.java | 23 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/ |
D | MediaStoreTest.java | 259 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/ |
D | BackgroundActivityLaunchTest.java | 20 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/ |
D | ContextTest.java | 723 Process.myUid(), AppOpsManager.MODE_ERRORED)); in testSendOrderedBroadcastWithAppOp_NotGranted()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 773 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, ops); in denyAppOpsToUid()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 2748 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, SYSTEM_GALERY_APPOPS); in testInsertFromExternalDirsViaRelativePathAsSystemGallery() 2760 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, SYSTEM_GALERY_APPOPS); in testUpdateToExternalDirsViaRelativePathAsSystemGallery()
|