Home
last modified time | relevance | path

Searched refs:versionCode (Results 1 – 9 of 9) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/parser/
DDumpsysPackageStatsParser.java46 String versionCode = null; in parse() local
53 versionCode = null; in parse()
59 versionCode = m.group(1); in parse()
65 if (packageName != null && versionCode != null) { in parse()
68 new AppVersionItem(Integer.parseInt(versionCode), versionName)); in parse()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DModulePusher.java91 private final String versionCode; field in ModulePusher.ModuleInfo
98 public String versionCode() { in versionCode() method in ModulePusher.ModuleInfo
99 return versionCode; in versionCode()
106 ModuleInfo(String packageName, String versionCode, boolean isApk) { in ModuleInfo() argument
108 this.versionCode = versionCode; in ModuleInfo()
112 public static ModuleInfo create(String packageName, String versionCode, boolean isApk) { in create() argument
113 return new ModuleInfo(packageName, versionCode, isApk); in create()
121 && versionCode.equals(moduleInfo.versionCode) in equals()
136 packageName, versionCode, isApk); in toString()
311 packageName, preloadVersion, moduleInfo.versionCode()); in pushFile()
[all …]
DInstallApexModuleTargetPreparer.java252 String.valueOf(apexInfo.versionCode)); in setUp()
1298 } else if (activatedApexInfo.get(testApexInfo.name).versionCode in getModulesFailToActivate()
1299 != testApexInfo.versionCode) { in getModulesFailToActivate()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java95 public final long versionCode; field in ITestDevice.ApexInfo
98 public ApexInfo(String name, long versionCode, String sourceDir) { in ApexInfo() argument
100 this.versionCode = versionCode; in ApexInfo()
104 public ApexInfo(String name, long versionCode) { in ApexInfo() argument
105 this(name, versionCode, ""); in ApexInfo()
112 return name.equals(ai.name) && versionCode == ai.versionCode; in equals()
128 + versionCode in toString()
/tools/loganalysis/src/com/android/loganalysis/item/
DAppVersionItem.java39 public AppVersionItem(int versionCode, String versionName) { in AppVersionItem() argument
42 setAttribute(VERSION_CODE, versionCode); in AppVersionItem()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java608 int versionCode = getVersionCodeFromBinaryAndroidManifest(androidManifestContents); in getLongVersionCodeFromBinaryAndroidManifest() local
618 return (versionCodeMajor << 32) | versionCode; in getLongVersionCodeFromBinaryAndroidManifest()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java53 packageInfos.add(new AttestationPackageInfo(packageName, packageInfo.versionCode)); in AttestationApplicationId()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DModulePusherTest.java554 private void activateVersion(long versionCode) throws DeviceNotAvailableException { in activateVersion() argument
556 new ITestDevice.ApexInfo(APEX_PACKAGE_NAME, versionCode, APEX_PATH_ON_DEVICE); in activateVersion()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java2571 assertEquals(100, foo.versionCode); in testGetActiveApexesPlatformSupportsPath()
2572 assertEquals(200, bar.versionCode); in testGetActiveApexesPlatformSupportsPath()
2597 assertEquals(100, foo.versionCode); in testGetActiveApexesPlatformDoesNotSupportPath()
2598 assertEquals(200, bar.versionCode); in testGetActiveApexesPlatformDoesNotSupportPath()