Searched refs:APP_OP_STR (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | ExternalSourcesTest.kt | 52 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()
|
D | SessionTest.kt | 45 AppOpsUtils.setOpMode(context.packageName, APP_OP_STR, MODE_ALLOWED) in allowToInstallPackages() 65 assertTrue(AppOpsUtils.allowedOperationLogged(context.packageName, APP_OP_STR)) in confirmInstallation()
|
D | IntentTest.kt | 42 AppOpsUtils.setOpMode(context.packageName, APP_OP_STR, MODE_ALLOWED) in allowToInstallPackages()
|
D | PackageInstallerTestBase.kt | 61 const val APP_OP_STR = "REQUEST_INSTALL_PACKAGES" in <lambda>() constant
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | UninstallTest.java | 56 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/ |
D | NoPermissionTests.kt | 57 private const val APP_OP_STR = "REQUEST_INSTALL_PACKAGES" in <lambda>() constant 97 AppOpsUtils.setOpMode(context.packageName, APP_OP_STR, MODE_ALLOWED) in <lambda>()
|