Searched refs:getLongVersionCode (Results 1 – 15 of 15) sorted by relevance
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/ |
D | UseSharedLibraryTest.java | 96 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/ |
D | VersionTest.java | 39 assertEquals(VersionConstants.PACKAGE_VERSION, pi.getLongVersionCode()); in testCheckVersion()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiBuildCompat.java | 63 wifiStackVersion = packageInfo.getLongVersionCode(); in getWifiApexVersionCode()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SamegradeTest.java | 130 assertThat(shim.getLongVersionCode()) in action_systemApex_phase() 147 assertThat(shim.getLongVersionCode()) in assert_systemApex_postReboot_phase()
|
D | InstallRule.java | 109 installedVersion = info.getLongVersionCode(); in assertPackageVersion()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PackageUtil.java | 110 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/ |
D | CarRemoteDeviceManagerTest.java | 140 assertThat(packageInfo.getLongVersionCode()) in testGetEndpointPackageInfo() 141 .isEqualTo(myPackageInfo.getLongVersionCode()); in testGetEndpointPackageInfo()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageInfoTest.java | 117 assertEquals(expected.getLongVersionCode(), actual.getLongVersionCode()); in checkPkgInfoSame()
|
D | PackageManagerTest.java | 1725 assertThat(packageInfo.getLongVersionCode()).isEqualTo(1); in assertShimApexInfoIsCorrect()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 94 return info.getLongVersionCode(); in getInstalledVersion() 97 return info.getLongVersionCode(); in getInstalledVersion()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 1015 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/ |
D | TestUtils.java | 131 return info.getLongVersionCode(); in getModuleVersion()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | CompatChangeTests.java | 1802 /* flags */ 0).getLongVersionCode(); in getPackageVersion()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 4088 method public long getLongVersionCode();
|
D | current.txt | 12597 method public long getLongVersionCode(); 13667 method public long getLongVersionCode();
|