Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DKeySetHostTest.java203 String installResult; in testPackageUpgrade() local
209 installResult = mDevice.installPackage(getTestAppFile(firstApk), in testPackageUpgrade()
213 installResult), installResult); in testPackageUpgrade()
216 installResult = mDevice.installPackage(getTestAppFile(secondApk), in testPackageUpgrade()
221 return installResult; in testPackageUpgrade()
257 … String installResult = testPackageUpgrade(KEYSET_PKG, A_SIGNED_NO_UPGRADE, A_SIGNED_A_UPGRADE); in testNoKSToUpgradeKS() local
259 + "to version with specified upgrade-key-set, Reason: %s", installResult), in testNoKSToUpgradeKS()
260 installResult); in testNoKSToUpgradeKS()
268 … String installResult = testPackageUpgrade(KEYSET_PKG, A_SIGNED_A_UPGRADE, A_SIGNED_NO_UPGRADE); in testUpgradeKSToNoKS() local
270 + "to version without specified upgrade-key-set, Reason: %s", installResult), in testUpgradeKSToNoKS()
[all …]
DPkgInstallSignatureVerificationTest.java1840 String installResult = installPackageFromResource(apkFilenameInResources); in assertInstallSucceeds() local
1841 if (installResult != null) { in assertInstallSucceeds()
1842 fail("Failed to install " + apkFilenameInResources + ": " + installResult); in assertInstallSucceeds()
1847 String installResult = installEphemeralPackageFromResource(apkFilenameInResources); in assertInstallEphemeralSucceeds() local
1848 if (installResult != null) { in assertInstallEphemeralSucceeds()
1849 fail("Failed to install " + apkFilenameInResources + ": " + installResult); in assertInstallEphemeralSucceeds()
1858 String installResult = installPackageFromResource(apkFilenameInResources); in assertInstallSucceedsForEach() local
1859 if (installResult != null) { in assertInstallSucceedsForEach()
1860 fail("Failed to install " + apkFilenameInResources + ": " + installResult); in assertInstallSucceedsForEach()
1872 String installResult = installV4PackageFromResource(apkFilenameInResources); in assertInstallV4Succeeds() local
[all …]
DExternalStorageHostTest.java392 final String installResult = getDevice() in testMultiUserStorageIsolated() local
394 assertNull("Failed to install: " + installResult, installResult); in testMultiUserStorageIsolated()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DGfxInfoDumpsysTest.java49 String installResult = getDevice().installPackage(testAppFile, false); in testGfxinfoFramestats() local
51 String.format("failed to install atrace test app. Reason: %s", installResult), in testGfxinfoFramestats()
52 installResult); in testGfxinfoFramestats()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DAutofillManagerTest.java113 final String installResult = runShellCommand( in install() local
115 Log.d(TAG, "install result = " + installResult); in install()
116 assertThat(installResult.trim()).isEqualTo("Success"); in install()
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/
DIncrementalFeatureTest.java80 String installResult = getDevice().executeShellCommand( in testFeatureWorkingWithInstallation() local
82 assertEquals("Success\n", installResult); in testFeatureWorkingWithInstallation()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java177 String installResult; in installTestAppForUser() local
179 installResult = getDevice().installPackageForUser( in installTestAppForUser()
186 "failed to install number blocking test app. Reason: %s", installResult), in installTestAppForUser()
187 installResult); in installTestAppForUser()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DPackageManagerStatsTestsBase.java71 String installResult = getDevice().executeShellCommand( in installPackageUsingIncremental() local
74 assertEquals("Success\n", installResult); in installPackageUsingIncremental()
/cts/tests/framework/base/localeconfig/src/com/android/cts/localeconfig/
DLocaleConfigTest.java170 String installResult = ShellUtils.runShellCommand("pm install -r " + apk); in install() local
171 assertThat(installResult.trim()).isEqualTo("Success"); in install()
DLocaleConfigAppUpdateTest.java219 String installResult = ShellUtils.runShellCommand("pm install -r " + apk); in install() local
220 assertThat(installResult.trim()).isEqualTo("Success"); in install()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPreapprovalInstallTest.kt131 var installResult = LinkedBlockingQueue<SessionResult>() in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess() variable
167 installResult.offer(SessionResult(status, preapproval, msg)) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
201 var result = getInstallSessionResult(installResult) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
216 result = getInstallSessionResult(installResult) in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
DPackageInstallerTestBase.kt189 installResult: LinkedBlockingQueue<SessionResult>, in <lambda>()
192 return installResult.poll(timeout, TimeUnit.MILLISECONDS) in <lambda>()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiLocationInfoForegroundTest.java174 String installResult = SystemUtil.runShellCommand("pm install -r -d " + apk); in installApp() local
175 assertThat(installResult.trim()).isEqualTo("Success"); in installApp()
DWifiLocationInfoBackgroundTest.java193 String installResult = SystemUtil.runShellCommand("pm install -r -d " + apk); in installApp() local
194 assertThat(installResult.trim()).isEqualTo("Success"); in installApp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java125 boolean installResult = installCertificate(mCert, true); in onKeyPairGenerated()
127 if (installResult) { in onKeyPairGenerated()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java341 String installResult = getDevice().executeShellCommand( in installAppIncremental() local
343 assertEquals("Success\n", installResult); in installAppIncremental()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1887 String installResult = installPackageWithResult(LONG_USES_PERMISSION_NAME_APK); in testInstall_withLongUsesPermissionName_fail() local
1888 assertThat(installResult).contains(expectedErrorCode); in testInstall_withLongUsesPermissionName_fail()