Home
last modified time | relevance | path

Searched refs:installResult (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DKeySetHostTest.java201 String installResult; in testPackageUpgrade() local
207 installResult = mDevice.installPackage(getTestAppFile(firstApk), in testPackageUpgrade()
211 installResult), installResult); in testPackageUpgrade()
214 installResult = mDevice.installPackage(getTestAppFile(secondApk), in testPackageUpgrade()
219 return installResult; in testPackageUpgrade()
255 … String installResult = testPackageUpgrade(KEYSET_PKG, A_SIGNED_NO_UPGRADE, A_SIGNED_A_UPGRADE); in testNoKSToUpgradeKS() local
257 + "to version with specified upgrade-key-set, Reason: %s", installResult), in testNoKSToUpgradeKS()
258 installResult); in testNoKSToUpgradeKS()
266 … String installResult = testPackageUpgrade(KEYSET_PKG, A_SIGNED_A_UPGRADE, A_SIGNED_NO_UPGRADE); in testUpgradeKSToNoKS() local
268 + "to version without specified upgrade-key-set, Reason: %s", installResult), in testUpgradeKSToNoKS()
[all …]
DPkgInstallSignatureVerificationTest.java767 String installResult = installPackageFromResource(apkFilenameInResources); in assertInstallSucceeds() local
768 if (installResult != null) { in assertInstallSucceeds()
769 fail("Failed to install " + apkFilenameInResources + ": " + installResult); in assertInstallSucceeds()
774 String installResult = installEphemeralPackageFromResource(apkFilenameInResources); in assertInstallEphemeralSucceeds() local
775 if (installResult != null) { in assertInstallEphemeralSucceeds()
776 fail("Failed to install " + apkFilenameInResources + ": " + installResult); in assertInstallEphemeralSucceeds()
785 String installResult = installPackageFromResource(apkFilenameInResources); in assertInstallSucceedsForEach() local
786 if (installResult != null) { in assertInstallSucceedsForEach()
787 fail("Failed to install " + apkFilenameInResources + ": " + installResult); in assertInstallSucceedsForEach()
800 String installResult = installPackageFromResource(apkFilenameInResources); in assertInstallFailsWithError() local
[all …]
DExternalStorageHostTest.java333 final String installResult = getDevice() in testMultiUserStorageIsolated() local
335 assertNull("Failed to install: " + installResult, installResult); in testMultiUserStorageIsolated()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java179 String installResult; in installTestAppForUser() local
181 installResult = getDevice().installPackageForUser( in installTestAppForUser()
188 "failed to install number blocking test app. Reason: %s", installResult), in installTestAppForUser()
189 installResult); in installTestAppForUser()
/cts/tests/tests/permission/src/android/permission/cts/
DRemovePermissionTest.java83 String installResult = SystemUtil.runShellCommand( in installApp() local
88 assertEquals("Success", installResult.trim()); in installApp()
DPermissionGroupChange.java139 String installResult = SystemUtil.runShellCommand( in installApp() local
141 assertEquals("Success", installResult.trim()); in installApp()
/cts/hostsidetests/os/src/android/os/cts/
DOsHostTests.java117 String installResult = getDevice().installPackage(getTestAppFile(HOST_VERIFICATION_APK), in testIntentFilterHostValidation() local
120 assertNull("Couldn't install web intent filter sample apk", installResult); in testIntentFilterHostValidation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java131 boolean installResult = installCertificate(mCert, true); in onKeyPairGenerated()
133 if (installResult) { in onKeyPairGenerated()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBatteryStatsDumpsysTest.java732 String installResult = getDevice().installPackage(testAppFile, false); in testGfxinfoFramestats() local
734 String.format("failed to install atrace test app. Reason: %s", installResult), in testGfxinfoFramestats()
735 installResult); in testGfxinfoFramestats()
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java1095 String installResult = runShellCommand("pm install -r --restrict-permissions " + app); in installApp() local
1096 assertThat(installResult.trim()).isEqualTo("Success"); in installApp()