/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInfoLite.java | 35 * The android:versionCode of the package. 37 public int versionCode; field in class:PackageInfoLite 73 dest.writeInt(versionCode); 99 versionCode = source.readInt();
|
H A D | PackageInfo.java | 40 * 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 D | ApplicationInfo.java | 248 * 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 D | PackageParser.java | 246 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 D | PackageInstaller.java | 396 && info.versionCode <= 300400110) { 601 && info.versionCode <= 300400110) {
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | PackageManagerBackupAgent.java | 100 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 D | BackupManagerService.java | 3199 // 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 D | SharedLibraryMain.java | 46 return pi.versionCode;
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | Volley.java | 49 userAgent = packageName + "/" + info.versionCode;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 89 int versionCode; field in class:PackageSettingBase 143 versionCode = base.versionCode; 177 this.versionCode = pVersionCode;
|
H A D | Settings.java | 368 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 D | PackageInstallerSession.java | 463 // 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 D | PackageManagerService.java | 1589 + ", 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 D | ProcessRecord.java | 385 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 D | ProcessStatsService.java | 111 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 D | ServiceRecord.java | 322 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, 340 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode,
|
H A D | BroadcastQueue.java | 897 info.activityInfo.applicationInfo.versionCode, mService.mProcessStats);
|
H A D | ActiveServices.java | 1367 app.addPackage(r.appInfo.packageName, r.appInfo.versionCode, mAm.mProcessStats); 1933 proc.addPackage(sr.appInfo.packageName, sr.appInfo.versionCode,
|
H A D | ActivityStackSupervisor.java | 1254 app.addPackage(r.info.packageName, r.info.applicationInfo.versionCode,
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | SamplingProfilerIntegration.java | 220 out.println("Package-Version: " + packageInfo.versionCode);
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 183 ret.versionCode = pkg.versionCode;
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewFactory.java | 135 " (code " + sPackageInfo.versionCode + ")");
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewChromiumFactoryProvider.java | 118 int currentVersion = WebViewFactory.getLoadedPackageInfo().versionCode;
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 1017 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 D | Resource.cpp | 770 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",
|