Home
last modified time | relevance | path

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

/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DExternalSourcesTest.kt52 AppOpsUtils.setOpMode(packageName, APP_OP_STR, mode) in setAppOpsMode()
79 APP_OP_STR)) in blockedSourceTest()
101 APP_OP_STR)) in allowedSourceTest()
122 APP_OP_STR)) in defaultSourceTest()
DSessionTest.kt45 AppOpsUtils.setOpMode(context.packageName, APP_OP_STR, MODE_ALLOWED) in allowToInstallPackages()
65 assertTrue(AppOpsUtils.allowedOperationLogged(context.packageName, APP_OP_STR)) in confirmInstallation()
DIntentTest.kt42 AppOpsUtils.setOpMode(context.packageName, APP_OP_STR, MODE_ALLOWED) in allowToInstallPackages()
DPackageInstallerTestBase.kt61 const val APP_OP_STR = "REQUEST_INSTALL_PACKAGES" in <lambda>() constant
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallTest.java56 private static final String APP_OP_STR = "REQUEST_DELETE_PACKAGES"; field in UninstallTest
116 assertTrue(AppOpsUtils.allowedOperationLogged(mContext.getPackageName(), APP_OP_STR)); in testUninstall() local
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt57 private const val APP_OP_STR = "REQUEST_INSTALL_PACKAGES" in <lambda>() constant
97 AppOpsUtils.setOpMode(context.packageName, APP_OP_STR, MODE_ALLOWED) in <lambda>()