Home
last modified time | relevance | path

Searched refs:APP_OP_STR (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DExternalSourcesTestAppOpAllowed.kt68 APP_OP_STR in allowedSourceTest()
74 assertThat(AppOpsUtils.getOpMode(packageName, APP_OP_STR)) in verifyAppOpAllowed()
DSessionTest.kt104 assertTrue(AppOpsUtils.allowedOperationLogged(context.packageName, APP_OP_STR)) in confirmInstallation()
128 assertTrue(AppOpsUtils.allowedOperationLogged(context.packageName, APP_OP_STR)) in confirmMultiPackageInstallation()
DPackageInstallerTestBase.kt90 const val APP_OP_STR = "REQUEST_INSTALL_PACKAGES" in <lambda>() constant
/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()
72 APP_OP_STR)) in defaultSourceTest()
DPackageInstallerTestBase.kt62 const val APP_OP_STR = "REQUEST_INSTALL_PACKAGES" in <lambda>() constant
/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()
71 APP_OP_STR)) in blockedSourceTest()
DPackageInstallerTestBase.kt62 const val APP_OP_STR = "REQUEST_INSTALL_PACKAGES" in <lambda>() constant
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallTest.java91 private static final String APP_OP_STR = "REQUEST_DELETE_PACKAGES"; field in UninstallTest
243 assertTrue(AppOpsUtils.allowedOperationLogged(mContext.getPackageName(), APP_OP_STR)); in testUninstall() local