Home
last modified time | relevance | path

Searched refs:getLongVersionCode (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/
DUseSharedLibraryTest.java96 assertSame(0L, declaringPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
103 assertTrue(declaringPackage.getLongVersionCode() >= 0); in testSharedLibrariesProperlyReported()
110 assertTrue(declaringPackage.getLongVersionCode() >= 0); in testSharedLibrariesProperlyReported()
134 assertSame(1L, declaringPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
138 assertSame(1L, dependentPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
141 assertSame(4L, declaringPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
145 assertSame(5L, declaringPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
149 assertSame(2L, dependentPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
152 assertSame(1L, declaringPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
156 assertSame(1L, dependentPackage.getLongVersionCode()); in testSharedLibrariesProperlyReported()
[all …]
/cts/hostsidetests/appsecurity/test-apps/MajorVersionApp/src-common/com/android/cts/majorversion/
DVersionTest.java39 assertEquals(VersionConstants.PACKAGE_VERSION, pi.getLongVersionCode()); in testCheckVersion()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiBuildCompat.java63 wifiStackVersion = packageInfo.getLongVersionCode(); in getWifiApexVersionCode()
/cts/hostsidetests/install/app/src/android/cts/install/
DSamegradeTest.java130 assertThat(shim.getLongVersionCode()) in action_systemApex_phase()
147 assertThat(shim.getLongVersionCode()) in assert_systemApex_postReboot_phase()
DInstallRule.java109 installedVersion = info.getLongVersionCode(); in assertPackageVersion()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPackageUtil.java110 public static Long getLongVersionCode(String packageName) { in getLongVersionCode() method in PackageUtil
117 info.getLongVersionCode() : (long) info.versionCode; in getLongVersionCode()
/cts/tests/tests/car/src/android/car/cts/
DCarRemoteDeviceManagerTest.java140 assertThat(packageInfo.getLongVersionCode()) in testGetEndpointPackageInfo()
141 .isEqualTo(myPackageInfo.getLongVersionCode()); in testGetEndpointPackageInfo()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInfoTest.java117 assertEquals(expected.getLongVersionCode(), actual.getLongVersionCode()); in checkPkgInfoSame()
DPackageManagerTest.java1725 assertThat(packageInfo.getLongVersionCode()).isEqualTo(1); in assertShimApexInfoIsCorrect()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java94 return info.getLongVersionCode(); in getInstalledVersion()
97 return info.getLongVersionCode(); in getInstalledVersion()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java1015 assertThat(shim.getLongVersionCode()).isEqualTo(1); in testSamegradeSystemApex_Commit()
1031 assertThat(shim.getLongVersionCode()).isEqualTo(1); in testSamegradeSystemApex_VerifyPostReboot()
1197 return info.getLongVersionCode(); in getInstalledVersion()
1234 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdate()
1245 assertThat(apex.getLongVersionCode()).isEqualTo(2); in testRebootlessUpdate()
1255 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdate()
1275 assertThat(apex.getLongVersionCode()).isEqualTo(3); in testRebootlessUpdate_installV3()
1285 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdate_installV3()
1304 assertThat(apex.getLongVersionCode()).isEqualTo(3); in testRebootlessUpdate_downgradeToV2_fails()
/cts/tests/tests/media/common/src/android/media/cts/
DTestUtils.java131 return info.getLongVersionCode(); in getModuleVersion()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DCompatChangeTests.java1802 /* flags */ 0).getLongVersionCode(); in getPackageVersion()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt4088 method public long getLongVersionCode();
Dcurrent.txt12597 method public long getLongVersionCode();
13667 method public long getLongVersionCode();