Home
last modified time | relevance | path

Searched refs:VERSION_CODE (Results 1 – 5 of 5) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/item/
DAppVersionItem.java26 public static final String VERSION_CODE = "VERSION_CODE"; field in AppVersionItem
31 new HashSet<String>(Arrays.asList(VERSION_CODE, VERSION_NAME));
42 setAttribute(VERSION_CODE, versionCode); in AppVersionItem()
47 return (Integer) getAttribute(VERSION_CODE); in getVersionCode()
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DDumpsysPackageStatsItemTest.java45 assertEquals(73000302, calcAppVersionJson.getInt(AppVersionItem.VERSION_CODE)); in testToJson()
49 assertEquals(300734793, gsaAppVersionJson.getInt(AppVersionItem.VERSION_CODE)); in testToJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DAppVersionFetcherTest.java52 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE)); in testFetchVersionCode_valid()
76 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE)); in testFetchVersionCode_validMultipleLines()
98 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE); in testFetchVersionCode_invalidResponse()
/tools/loganalysis/src/com/android/loganalysis/parser/
DDumpsysPackageStatsParser.java32 private static final Pattern VERSION_CODE = Pattern.compile("^\\s*versionCode=(\\d+).*"); field in DumpsysPackageStatsParser
57 m = VERSION_CODE.matcher(line); in parse()
/tools/tradefederation/core/src/com/android/tradefed/util/
DAppVersionFetcher.java36 VERSION_CODE, enumConstant
57 case VERSION_CODE: in fetch()