/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | Rollback.java | 41 private Rollback(String packageName, long versionCode) { in Rollback() argument 42 mFrom = new VersionedPackage(packageName, versionCode); in Rollback() 57 public static Rollback from(String packageName, long versionCode) { in from() argument 58 return new Rollback(packageName, versionCode); in from() 73 public Rollback to(String packageName, long versionCode) { in to() argument 74 mTo = new VersionedPackage(packageName, versionCode); in to()
|
/cts/hostsidetests/incrementalinstall/appvalidator/src/android/incrementalinstall/inrementaltestappvalidation/ |
D | AppValidationTest.java | 92 int versionCode = Integer.parseInt(InstrumentationRegistry.getArguments() in testInstallationTypeAndVersion() local 101 assertEquals(versionCode, installedAppInfo.versionCode); in testInstallationTypeAndVersion() 129 int versionCode = Integer.parseInt( in getInstalledAppInfo() local 131 return new InstalledAppInfo(installationPath, versionCode); in getInstalledAppInfo() 137 private final int versionCode; field in AppValidationTest.InstalledAppInfo 139 InstalledAppInfo(String installedPath, int versionCode) { in InstalledAppInfo() argument 141 this.versionCode = versionCode; in InstalledAppInfo()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | TestApp.java | 97 public TestApp(String name, String packageName, long versionCode, boolean isApex, in TestApp() argument 101 mVersionCode = versionCode; in TestApp() 107 public TestApp(String name, String packageName, long versionCode, boolean isApex, in TestApp() argument 111 mVersionCode = versionCode; in TestApp() 130 public TestApp(String name, String packageName, long versionCode, boolean isApex, File path) { in TestApp() argument 131 this(name, packageName, versionCode, isApex, new File[]{ path }); in TestApp()
|
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/ |
D | UseSharedLibraryTest.java | 131 final long versionCode = sharedLib.getLongVersion(); in testSharedLibrariesProperlyReported() local 132 if (versionCode == 1) { in testSharedLibrariesProperlyReported() 139 } else if (versionCode == 2) { in testSharedLibrariesProperlyReported() 143 } else if (versionCode == 5) { in testSharedLibrariesProperlyReported() 150 } else if (versionCode == 6) { in testSharedLibrariesProperlyReported() 186 final long versionCode = sharedLib.getLongVersion(); in testDeclaredSharedLibrariesProperlyReported() local 187 if (versionCode == 1) { in testDeclaredSharedLibrariesProperlyReported() 194 } else if (versionCode == 2) { in testDeclaredSharedLibrariesProperlyReported() 198 } else if (versionCode == 5) { in testDeclaredSharedLibrariesProperlyReported()
|
/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/install/app/src/android/cts/install/ |
D | UpgradeTest.java | 115 private Install getParameterizedInstall(int versionCode) { in getParameterizedInstall() argument 116 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall()
|
D | DowngradeTest.java | 148 private Install getParameterizedInstall(int versionCode) { in getParameterizedInstall() argument 149 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall()
|
D | SamegradeTest.java | 162 private Install getParameterizedInstall(int versionCode) { in getParameterizedInstall() argument 163 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall()
|
D | InstallTest.java | 146 private Install getParameterizedInstall(int versionCode) { in getParameterizedInstall() argument 147 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall()
|
D | InstallRule.java | 95 List<TestApp> getTestApps(INSTALL_TYPE installType, int versionCode) { in getTestApps() argument 97 .map(packageName -> getTestApp(packageName, versionCode)) in getTestApps()
|
/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/install/src/android/cts/install/host/ |
D | ShimApexRule.java | 80 assertThat(shim.versionCode).isEqualTo(1L); in uninstallShimApexIfNecessary()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewStartupTest.java | 95 assertEquals(expected.versionCode, actual.versionCode); in assertPackageEquals()
|
/cts/hostsidetests/apkinapex/src/android/addapktoapex/cts/ |
D | AddApkToApexTest.java | 94 return apex.versionCode; in getShimApexVersionCode()
|
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PackageUtil.java | 117 info.getLongVersionCode() : (long) info.versionCode; in getLongVersionCode()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationApplicationId.java | 52 packageInfos.add(new AttestationPackageInfo(packageName, packageInfo.versionCode)); in AttestationApplicationId()
|
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/ |
D | IncrementalInstallTest.java | 308 int versionCode) throws Exception { in verifyInstallationTypeAndVersion() argument 312 args.put(Consts.INSTALLED_VERSION_CODE_TAG, Integer.toString(versionCode)); in verifyInstallationTypeAndVersion()
|
/cts/libs/install/src/android/cts/install/lib/host/ |
D | InstallUtilsHost.java | 111 assertThat(shim.versionCode).isEqualTo(1L); in uninstallShimApexIfNecessary()
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | StagedInstallTest.java | 236 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported() 688 assertThat(apexInfo.getVersionCode()).isEqualTo(apex.versionCode); in testApexInfoList()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 1827 field public static final int versionCode = 16843291; // 0x101021b 12633 field @Deprecated public int versionCode;
|