Searched refs:getOpMode (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | ExternalSourcesTestAppOpAllowed.kt | 74 assertThat(AppOpsUtils.getOpMode(packageName, APP_OP_STR)) in verifyAppOpAllowed()
|
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/ |
D | ExternalSourcesTestAppOpDefault.kt | 60 assertThat(AppOpsUtils.getOpMode(packageName, APP_OP_STR)) in verifyAppOpDefault()
|
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/ |
D | ExternalSourcesTestAppOpDenied.kt | 59 assertThat(AppOpsUtils.getOpMode(packageName, APP_OP_STR)) in verifyAppOpDenied()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AppOpsUtils.java | 93 public static int getOpMode(String packageName, String opStr) in getOpMode() method in AppOpsUtils
|
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 68 fun getOpMode(packageName: String, opStr: String): Int { in getOpMode() method
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | AlertWindowsAppOpsTests.java | 79 sPreviousSawAppOp = AppOpsUtils.getOpMode(packageName, OPSTR_SYSTEM_ALERT_WINDOW); in grantSystemAlertWindowAccess()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioPlaybackConfigurationTest.java | 39 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/ |
D | BackgroundActivityTestBase.java | 132 assertEquals(AppOpsUtils.getOpMode(components.APP_PACKAGE_NAME, in setUp()
|
D | BackgroundActivityLaunchTest.java | 1384 assertThat(AppOpsUtils.getOpMode(packageName, opStr)).isEqualTo(mode); in grantSystemAlertWindow()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowUntrustedTouchTest.java | 199 mPreviousSawAppOp = AppOpsUtils.getOpMode(APP_SELF, OPSTR_SYSTEM_ALERT_WINDOW); in setUp()
|
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/ |
D | BroadcastResponseStatsTest.java | 156 sInitialAppOpMode = AppOpsUtils.getOpMode(sTargetPackage, in setUpClass()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 1715 mPreviousOpMode = AppOpsUtils.getOpMode(mPackageName, OPSTR_SYSTEM_ALERT_WINDOW);
|