Searched refs:versionCode (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
H A DPackageInfoLite.java35 * The android:versionCode of the package.
37 public int versionCode; field in class:PackageInfoLite
73 dest.writeInt(versionCode);
99 versionCode = source.readInt();
H A DPackageInfo.java40 * tag's {@link android.R.styleable#AndroidManifest_versionCode versionCode}
43 public int versionCode; field in class:PackageInfo
273 dest.writeInt(versionCode);
320 versionCode = source.readInt();
H A DApplicationInfo.java248 * i.e. from versions of the application with a versionCode greater than
570 public int versionCode; field in class:ApplicationInfo
627 + " versionCode=" + versionCode);
704 versionCode = orig.versionCode;
754 dest.writeInt(versionCode);
803 versionCode = source.readInt();
H A DPackageParser.java246 public final int versionCode; field in class:PackageParser.PackageLite
271 this.versionCode = baseApk.versionCode;
299 public final int versionCode; field in class:PackageParser.ApkLite
306 public ApkLite(String codePath, String packageName, String splitName, int versionCode, argument
312 this.versionCode = versionCode;
412 pi.versionCode = p.mVersionCode;
663 int versionCode = 0;
674 versionCode
[all...]
H A DPackageInstaller.java396 && info.versionCode <= 300400110) {
601 && info.versionCode <= 300400110) {
/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java100 public int versionCode; field in class:PackageManagerBackupAgent.Metadata
104 versionCode = version;
207 homeVersion = homeInfo.versionCode;
288 if (info.versionCode == mStateVersions.get(packName).versionCode) {
304 * int version -- [4] the package's versionCode
310 outputBufferStream.writeInt(info.versionCode);
316 + " version=" + info.versionCode
406 int versionCode = inputBufferStream.readInt();
411 + " versionCode
[all...]
H A DBackupManagerService.java3199 // package's versionCode
3200 // platform versionCode
3210 printer.println(Integer.toString(pkg.versionCode));
4973 if (pkgInfo.versionCode >= version) {
4983 + pkgInfo.versionCode
6310 if (pkgInfo.versionCode >= version) {
6319 + pkgInfo.versionCode + " - requiring apk");
7189 if (metaInfo.versionCode > mCurrentPackage.versionCode) {
7195 String message = "Version " + metaInfo.versionCode
[all...]
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DSharedLibraryMain.java46 return pi.versionCode;
/frameworks/volley/src/com/android/volley/toolbox/
H A DVolley.java49 userAgent = packageName + "/" + info.versionCode;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSettingBase.java89 int versionCode; field in class:PackageSettingBase
143 versionCode = base.versionCode;
177 this.versionCode = pVersionCode;
H A DSettings.java368 p.appId, p.versionCode, p.pkgFlags);
675 if (pkg.mVersionCode != p.versionCode) {
676 p.versionCode = pkg.mVersionCode;
1743 serializer.attribute(null, "version", String.valueOf(pkg.versionCode));
1817 serializer.attribute(null, "version", String.valueOf(pkg.versionCode));
2122 pp.secondaryCpuAbiString, pp.versionCode, pp.pkgFlags, null,
2582 int versionCode = 0;
2585 versionCode = Integer.parseInt(version);
2598 secondaryCpuAbiStr, cpuAbiOverrideStr, versionCode, pkgFlags);
2678 int versionCode
[all...]
H A DPackageInstallerSession.java463 // This currently only ensures packageName, versionCode, and certificate
601 mVersionCode = apk.versionCode;
686 if (mVersionCode != apk.versionCode) {
688 + " version code " + apk.versionCode + " inconsistent with "
H A DPackageManagerService.java1589 + ", versionCode=" + ps.versionCode + "; scanned versionCode="
4233 if (pkg.mVersionCode < ps.versionCode) {
4237 + " ignored: updated version " + ps.versionCode
4270 + " better than installed " + ps.versionCode);
4324 if (pkg.mVersionCode < ps.versionCode) {
4328 + ps.versionCode + "; hiding system");
4338 + pkg.mVersionCode + " better than installed " + ps.versionCode);
8756 if (pkgLite.versionCode < pk
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessRecord.java385 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.versionCode));
409 info.versionCode, processName);
417 info.versionCode, processName);
601 public boolean addPackage(String pkg, int versionCode, ProcessStatsService tracker) { argument
604 versionCode);
607 pkg, info.uid, versionCode, processName);
654 info.packageName, info.uid, info.versionCode, processName);
656 info.versionCode);
665 pkgList.put(info.packageName, new ProcessStats.ProcessStateHolder(info.versionCode));
H A DProcessStatsService.java111 int uid, int versionCode, String processName) {
112 return mProcessStats.getProcessStateLocked(packageName, uid, versionCode, processName);
116 int versionCode, String processName, String className) {
117 return mProcessStats.getServiceStateLocked(packageName, uid, versionCode, processName,
110 getProcessStateLocked(String packageName, int uid, int versionCode, String processName) argument
115 getServiceStateLocked(String packageName, int uid, int versionCode, String processName, String className) argument
H A DServiceRecord.java322 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode,
340 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode,
H A DBroadcastQueue.java897 info.activityInfo.applicationInfo.versionCode, mService.mProcessStats);
H A DActiveServices.java1367 app.addPackage(r.appInfo.packageName, r.appInfo.versionCode, mAm.mProcessStats);
1933 proc.addPackage(sr.appInfo.packageName, sr.appInfo.versionCode,
H A DActivityStackSupervisor.java1254 app.addPackage(r.info.packageName, r.info.applicationInfo.versionCode,
/frameworks/base/core/java/com/android/internal/os/
H A DSamplingProfilerIntegration.java220 out.println("Package-Version: " + packageInfo.versionCode);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java183 ret.versionCode = pkg.versionCode;
/frameworks/base/core/java/android/webkit/
H A DWebViewFactory.java135 " (code " + sPackageInfo.versionCode + ")");
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromiumFactoryProvider.java118 int currentVersion = WebViewFactory.getLoadedPackageInfo().versionCode;
/frameworks/base/tools/aapt/
H A DCommand.cpp1017 int32_t versionCode = AaptXml::getIntegerAttribute(tree, VERSION_CODE_ATTR, local
1020 fprintf(stderr, "ERROR getting 'android:versionCode' attribute: %s\n",
1024 if (versionCode > 0) {
1025 printf("versionCode='%d' ", versionCode);
1027 printf("versionCode='' ");
H A DResource.cpp770 if (!addTagAttribute(root, RESOURCES_ANDROID_NAMESPACE, "versionCode",
775 String16(RESOURCES_ANDROID_NAMESPACE), String16("versionCode"));
961 int32_t versionCode = AaptXml::getIntegerAttribute(tree, VERSION_CODE_ATTR, &error); local
967 if (versionCode >= 0 && bundle->getPlatformBuildVersionCode() == "") {
968 bundle->setPlatformBuildVersionCode(String8::format("%d", versionCode));
1068 // Add the 'versionCode' attribute which is set to the original version code.
1069 if (!addTagAttribute(manifest, RESOURCES_ANDROID_NAMESPACE, "versionCode",

Completed in 7415 milliseconds

12