Home
last modified time | relevance | path

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

/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java102 TestApp.A1.getVersionCode(), false, in testNativeFilePathTestApp()
105 TestApp.B2.getVersionCode(), false, in testNativeFilePathTestApp()
114 assertThat(a1.getVersionCode()).isEqualTo(TestApp.A1.getVersionCode()); in testNativeFilePathTestApp()
117 assertThat(b2.getVersionCode()).isEqualTo(TestApp.B2.getVersionCode()); in testNativeFilePathTestApp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DVersion.java47 static int getVersionCode(Context context) { in getVersionCode() method in Version
DTestReport.java89 xml.attribute(null, "version-code", Integer.toString(Version.getVersionCode(mContext))); in getContents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DVersion.java36 static int getVersionCode(Context context) { in getVersionCode() method in Version
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java753 assertThat(apexInfo.getVersionCode()).isEqualTo(apex.versionCode); in testApexInfoList()
785 assertThat(factoryShimApexInfo.getVersionCode()).isEqualTo(1); in testApexInfoListAfterUpdate()
802 assertThat(activeShimApexInfo.getVersionCode()).isEqualTo(2); in testApexInfoListAfterUpdate()
819 assertThat(activeShimApexInfo.getVersionCode()).isEqualTo(2); in testRebootlessUpdate()
832 assertThat(activeShimApexInfo.getVersionCode()).isEqualTo(3); in testRebootlessUpdate_fromV2ToV3_sameBoot()
847 assertThat(activeShimApexInfo.getVersionCode()).isEqualTo(3); in testRebootlessUpdate_fromV2ToV3_rebootInBetween()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/integrity/
DIntegrityCheckStatsTests.java80 assertThat(result.getVersionCode()).isEqualTo(testPackageVersion); in testIntegrityCheckAtomReportedDuringInstall()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java78 assertEquals(testPackage.getVersionCode(), versionCode); in testPackageServiceDump()
DGraphicsStatsValidationTest.java212 assertTrue(proto.getVersionCode() > 0); in validate()
/cts/libs/install/src/com/android/cts/install/lib/
DTestApp.java126 public long getVersionCode() { in getVersionCode() method in TestApp
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DJsonPrinter.java129 mJsonWriter.name("version_code").value(appInfo.getVersionCode()); in writeAppInfo()