Home
last modified time | relevance | path

Searched refs:shouldThrowException (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/src/com/android/cts/packageinstallerpermissionrequestapp/
DPermissionRequestTest.kt58 val shouldThrowException = arguments.getString(SHOULD_THROW_EXCEPTION_KEY)!!.toBoolean() in setSelfAsInstallerAndWhitelistPermission() constant
59 if (shouldThrowException) { in setSelfAsInstallerAndWhitelistPermission()
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerWhitelistApp/src/com/android/cts/packageinstallerpermissionwhitelistapp/
DPermissionWhitelistTest.kt37 private val shouldThrowException = arguments.getString(SHOULD_THROW_EXCEPTION_KEY) constant
62 if (shouldThrowException) { in setTargetInstallerPackage()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java195 boolean shouldThrowException = getTargetApiLevel() >= Build.VERSION_CODES.N; in testSetNotExistCertInstallerPackage()
199 if (shouldThrowException) { in testSetNotExistCertInstallerPackage()
203 if (!shouldThrowException) { in testSetNotExistCertInstallerPackage()
209 if (!shouldThrowException) { in testSetNotExistCertInstallerPackage()