Searched refs:versionCode (Results 1 – 13 of 13) sorted by relevance
/cts/hostsidetests/backup/RestoreAnyVersion/src/ |
D | RestoreAnyVersionTest.java | 73 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/ |
D | UseSharedLibraryTest.java | 132 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/ |
D | TestApp.java | 43 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/ |
D | RollbackManagerHostTest.java | 72 if (shimApex.versionCode == 1) { in uninstallShimApexIfNecessary() 82 assertThat(getShimApex().versionCode).isEqualTo(1L); in uninstallShimApexIfNecessary()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PackageIncidentTest.java | 60 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/ |
D | StagedInstallTest.java | 165 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/ |
D | Version.java | 48 return getPackageInfo(context).versionCode; in getVersionCode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | Version.java | 37 return getPackageInfo(context).versionCode; in getVersionCode()
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 161 assertEquals(expected.versionCode, actual.versionCode); in assertPackageEquals()
|
/cts/tools/release-parser/tests/resources/ |
D | HelloActivity.apk.pb.txt | 42 key: "versionCode"
|
D | CtsJniTestCases.apk.pb.txt | 154 key: "versionCode"
|
D | Shell.apk.pb.txt | 151 key: "versionCode"
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationApplicationId.java | 52 packageInfos.add(new AttestationPackageInfo(packageName, packageInfo.versionCode)); in AttestationApplicationId()
|