Home
last modified time | relevance | path

Searched refs:getOpMode (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DExternalSourcesTestAppOpAllowed.kt74 assertThat(AppOpsUtils.getOpMode(packageName, APP_OP_STR)) in verifyAppOpAllowed()
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DExternalSourcesTestAppOpDefault.kt60 assertThat(AppOpsUtils.getOpMode(packageName, APP_OP_STR)) in verifyAppOpDefault()
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DExternalSourcesTestAppOpDenied.kt59 assertThat(AppOpsUtils.getOpMode(packageName, APP_OP_STR)) in verifyAppOpDenied()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAppOpsUtils.java93 public static int getOpMode(String packageName, String opStr) in getOpMode() method in AppOpsUtils
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/
DAppOpsUtils.kt68 fun getOpMode(packageName: String, opStr: String): Int { in getOpMode() method
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DAlertWindowsAppOpsTests.java79 sPreviousSawAppOp = AppOpsUtils.getOpMode(packageName, OPSTR_SYSTEM_ALERT_WINDOW); in grantSystemAlertWindowAccess()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPlaybackConfigurationTest.java39 import static com.android.compatibility.common.util.AppOpsUtils.getOpMode;
552 if (getOpMode(getContext().getPackageName(), OPSTR_PLAY_AUDIO) in checkMuteFromAppOpsNotification()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityTestBase.java132 assertEquals(AppOpsUtils.getOpMode(components.APP_PACKAGE_NAME, in setUp()
DBackgroundActivityLaunchTest.java1384 assertThat(AppOpsUtils.getOpMode(packageName, opStr)).isEqualTo(mode); in grantSystemAlertWindow()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java199 mPreviousSawAppOp = AppOpsUtils.getOpMode(APP_SELF, OPSTR_SYSTEM_ALERT_WINDOW); in setUp()
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
DBroadcastResponseStatsTest.java156 sInitialAppOpMode = AppOpsUtils.getOpMode(sTargetPackage, in setUpClass()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1715 mPreviousOpMode = AppOpsUtils.getOpMode(mPackageName, OPSTR_SYSTEM_ALERT_WINDOW);