Home
last modified time | relevance | path

Searched refs:versionCode (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/backup/RestoreAnyVersion/src/
DRestoreAnyVersionTest.java73 assertEquals(NEW_VERSION, packageInfo.versionCode); in checkAppVersionIsNew()
92 assertEquals(OLD_VERSION, packageInfo.versionCode); in checkAppVersionIsOld()
106 .getPackageInfo(mContext.getPackageName(), 0).versionCode); in saveAppVersionCodeToSharedPreference()
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/
DUseSharedLibraryTest.java132 final long versionCode = sharedLib.getLongVersion(); in testSharedLibrariesProperlyReported() local
133 if (versionCode == 1) { in testSharedLibrariesProperlyReported()
140 } else if (versionCode == 2) { in testSharedLibrariesProperlyReported()
144 } else if (versionCode == 5) { in testSharedLibrariesProperlyReported()
151 } else if (versionCode == 6) { in testSharedLibrariesProperlyReported()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DTestApp.java43 public TestApp(String name, String packageName, long versionCode, boolean isApex, in TestApp() argument
47 mVersionCode = versionCode; in TestApp()
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/
DRollbackManagerHostTest.java72 if (shimApex.versionCode == 1) { in uninstallShimApexIfNecessary()
82 assertThat(getShimApex().versionCode).isEqualTo(1L); in uninstallShimApexIfNecessary()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java60 final int versionCode = Integer.parseInt(matcher.group(2)); in testPackageServiceDump() local
76 assertEquals(testPackage.getVersionCode(), versionCode); in testPackageServiceDump() local
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java165 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported()
301 if (shimApex.versionCode == 1) { in uninstallShimApexIfNecessary()
312 assertThat(getShimApex().versionCode).isEqualTo(1L); in uninstallShimApexIfNecessary()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DVersion.java48 return getPackageInfo(context).versionCode; in getVersionCode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DVersion.java37 return getPackageInfo(context).versionCode; in getVersionCode()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java161 assertEquals(expected.versionCode, actual.versionCode); in assertPackageEquals()
/cts/tools/release-parser/tests/resources/
DHelloActivity.apk.pb.txt42 key: "versionCode"
DCtsJniTestCases.apk.pb.txt154 key: "versionCode"
DShell.apk.pb.txt151 key: "versionCode"
/cts/tests/security/src/android/keystore/cts/
DAttestationApplicationId.java52 packageInfos.add(new AttestationPackageInfo(packageName, packageInfo.versionCode)); in AttestationApplicationId()