Home
last modified time | relevance | path

Searched refs:mVersionCode (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DVersionedPackage.java31 private final long mVersionCode; field in VersionedPackage
47 mVersionCode = versionCode; in VersionedPackage()
59 mVersionCode = versionCode; in VersionedPackage()
64 mVersionCode = parcel.readLong(); in VersionedPackage()
81 return (int) (mVersionCode & 0x7fffffff); in getVersionCode()
90 return mVersionCode; in getLongVersionCode()
95 return "VersionedPackage[" + mPackageName + "/" + mVersionCode + "]"; in toString()
106 parcel.writeLong(mVersionCode); in writeToParcel()
DInstantAppResolveInfo.java76 private final long mVersionCode; field in InstantAppResolveInfo
129 mVersionCode = versionCode; in InstantAppResolveInfo()
141 mVersionCode = -1; in InstantAppResolveInfo()
147 mVersionCode = in.readLong(); in InstantAppResolveInfo()
181 return (int) (mVersionCode & 0xffffffff); in getVersionCode()
185 return mVersionCode; in getLongVersionCode()
208 out.writeLong(mVersionCode); in writeToParcel()
DPackageParser.java671 pi.versionCode = p.mVersionCode; in generatePackageInfo()
1876 childPkg.mVersionCode = parentPkg.mVersionCode; in parseBaseApkChild()
1948 pkg.mVersionCode = sa.getInteger( in parseBaseApk()
6509 public int mVersionCode; field in Package
6516 return PackageInfo.composeLongVersionCode(mVersionCodeMajor, mVersionCode); in getLongVersionCode()
7061 mVersionCode = dest.readInt(); in Package()
7209 dest.writeInt(mVersionCode); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java67 private long mVersionCode = ShortcutInfo.VERSION_CODE_UNKNOWN; field in ShortcutPackageInfo
83 mVersionCode = versionCode; in ShortcutPackageInfo()
105 return mVersionCode; in getVersionCode()
131 mVersionCode = pi.getLongVersionCode(); in updateFromPackageInfo()
216 ShortcutService.writeAttr(out, ATTR_VERSION, mVersionCode); in saveToXml()
295 mVersionCode = ShortcutInfo.VERSION_CODE_UNKNOWN; in loadFromXml()
299 mVersionCode = versionCode; in loadFromXml()
331 pw.print(mVersionCode); in dump()
DPackageInstallerSession.java265 private long mVersionCode; field in PackageInstallerSession
1541 mVersionCode = -1; in validateApkInstallLocked()
1601 mVersionCode = apk.getLongVersionCode(); in validateApkInstallLocked()
1659 mVersionCode = pkgInfo.getLongVersionCode(); in validateApkInstallLocked()
1856 if (mVersionCode != apk.getLongVersionCode()) { in assertApkConsistentLocked()
1859 + mVersionCode); in assertApkConsistentLocked()
DPackageManagerService.java9133 if (originalPkgSetting.versionCode == currentPkg.mVersionCode) {
9142 + currentPkg.mVersionCode);
11276 pkg.mVersionCode, pkg.applicationInfo.flags, pkg.applicationInfo.privateFlags,
12134 pkg.mVersionCode = mSdkVersion;
/frameworks/base/tools/aapt/
DBundle.h63 mVersionCode(NULL), mVersionName(NULL), mReplaceVersion(false), mCustomPackage(NULL), in Bundle()
192 const char* getVersionCode() const { return mVersionCode; } in getVersionCode()
193 void setVersionCode(const char* val) { mVersionCode = val; } in setVersionCode()
334 const char* mVersionCode; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java203 assertEquals(a.mVersionCode, b.mVersionCode); in assertPackagesEqual()
440 pkg.mVersionCode = 100; in setKnownFields()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java1301 pkgState.mVersionCode, processName); in getProcessStateLocked()
1307 && pkgState.mVersionCode == commonProc.getVersion()) { in getProcessStateLocked()
1360 pkgState.mVersionCode, processName, now); in getProcessStateLocked()
1367 pkgState.mVersionCode, processName, in getProcessStateLocked()
2213 public final long mVersionCode; field in ProcessStats.PackageState
2219 mVersionCode = versionCode; in PackageState()
2246 proto.write(ProcessStatsPackageProto.VERSION, mVersionCode); in writeToProto()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5036 pc.mVersionCode = versionCode; in notePackageInstalledLocked()
10020 out.attribute(null, "ver", Long.toString(pc.mVersionCode)); in writeDailyItemsLocked()
10149 pc.mVersionCode = verStr != null ? Long.parseLong(verStr) : 0; in readDailyItemTagLocked()
13584 pc.mVersionCode = in.readLong(); in readSummaryFromParcel()
14076 out.writeLong(pc.mVersionCode); in writeSummaryToParcel()
/frameworks/base/core/java/android/os/
DBatteryStats.java1395 public long mVersionCode; field in BatteryStats.PackageChange
6900 pw.print(" vers="); pw.println(pc.mVersionCode); in dumpDailyPackageChanges()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15180 Landroid/content/pm/InstantAppResolveInfo;->mVersionCode:J
17476 Landroid/content/pm/VersionedPackage;->mVersionCode:J
52362 Landroid/os/BatteryStats$PackageChange;->mVersionCode:J