/frameworks/base/services/java/com/android/server/ |
D | PackageManagerBackupAgent.java | 74 public int versionCode; field in PackageManagerBackupAgent.Metadata 78 versionCode = version; in Metadata() 186 if (info.versionCode == mStateVersions.get(packName).versionCode) { in onBackup() 208 outputBufferStream.writeInt(info.versionCode); in onBackup() 213 + " version=" + info.versionCode in onBackup() 291 int versionCode = inputBufferStream.readInt(); in onRestore() local 296 + " versionCode=" + versionCode + " sigs=" + sigs); in onRestore() 308 sigMap.put(key, new Metadata(versionCode, sigs)); in onRestore() 392 int versionCode = in.readInt(); in parseStateFile() local 394 mStateVersions.put(pkg, new Metadata(versionCode, null)); in parseStateFile() [all …]
|
D | BackupManagerService.java | 2767 printer.println(Integer.toString(pkg.versionCode)); in writeAppManifest() 3675 if (pkgInfo.versionCode >= version) { in readAppManifest() 3684 + pkgInfo.versionCode + " - requiring apk"); in readAppManifest() 4404 if (metaInfo.versionCode > packageInfo.versionCode) { in restoreNextAgent() 4410 String message = "Version " + metaInfo.versionCode in restoreNextAgent() 4411 + " > installed version " + packageInfo.versionCode; in restoreNextAgent() 4418 if (DEBUG) Slog.v(TAG, "Version " + metaInfo.versionCode in restoreNextAgent() 4419 + " > installed " + packageInfo.versionCode in restoreNextAgent() 4433 + " restore version [" + metaInfo.versionCode in restoreNextAgent() 4435 + packageInfo.versionCode + "]"); in restoreNextAgent() [all …]
|
/frameworks/base/docs/html/intl/ja/guide/publishing/ |
D | versioning.jd | 51 <li><code>android:versionCode</code> - アプリケーション コードのバージョンを他のバージョンと相対的に示す整数値。 55 …アプリケーションの最初のバージョンの versionCode を 1 に設定してリリースし、その後は各リリースについて、リリースがメジャー リリースであってもマイナー リリースであっても、値を単調… 60 <p><code>android:versionCode</code> の場合と同様に、システムではこの値をアプリケーションでユーザーに表示する以外の目的で内部的に利用することはありません。公開サー… 66 <p>ここに、<code><manifest></code> 要素の <code>android:versionCode</code> と <code>android:versionNa… 72 android:versionCode="2" 80 <p>この例では、<code>android:versionCode</code> 値は現在の .apk がこのアプリケーション コードの 2 番目のリリースを含んでいることを表し、これは <cod…
|
D | preparing.jd | 95 …、アプリケーションのマニフェスト ファイルの <code><manifest></code> 要素の <code>android:versionCode</code> と <code>… 97 …。アプリケーションのマニフェスト ファイルの <code><manifest></code> 要素の <code>android:versionCode</code> と <code>…
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 38 public int versionCode; field in PackageInfo 236 dest.writeInt(versionCode); in writeToParcel() 276 versionCode = source.readInt(); in PackageInfo()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | PackageSettingBase.java | 56 int versionCode; field in PackageSettingBase 110 versionCode = base.versionCode; in PackageSettingBase() 138 this.versionCode = pVersionCode; in init()
|
D | Settings.java | 278 p.nativeLibraryPathString, p.appId, p.versionCode, p.pkgFlags); in enableSystemPackageLPw() 523 if (pkg.mVersionCode != p.versionCode) { in insertPackageSettingLPw() 524 p.versionCode = pkg.mVersionCode; in insertPackageSettingLPw() 1325 serializer.attribute(null, "version", String.valueOf(pkg.versionCode)); in writeDisabledSysPackageLPr() 1378 serializer.attribute(null, "version", String.valueOf(pkg.versionCode)); in writePackageLPr() 1593 pp.nativeLibraryPathString, pp.versionCode, pp.pkgFlags, true, true); in readLPw() 1782 int versionCode = 0; in readDisabledSysPackageLPw() local 1785 versionCode = Integer.parseInt(version); in readDisabledSysPackageLPw() 1793 new File(resourcePathStr), nativeLibraryPathStr, versionCode, pkgFlags); in readDisabledSysPackageLPw() 1868 int versionCode = 0; in readPackageLPw() local [all …]
|
D | PackageManagerService.java | 3125 if (pkg.mVersionCode < ps.versionCode) { in scanPackageLI() 3129 + " ignored: updated version " + ps.versionCode in scanPackageLI() 3148 + " better than installed " + ps.versionCode); in scanPackageLI() 3194 if (pkg.mVersionCode < ps.versionCode) { in scanPackageLI() 3205 + " better than installed " + ps.versionCode); in scanPackageLI() 7609 if (ps.versionCode < p.mVersionCode) { in deleteSystemPackageLI()
|
/frameworks/base/docs/html/tools/publishing/ |
D | versioning.jd | 66 <li><code>android:versionCode</code> — An integer value that represents 77 versionCode set to 1, then monotonically increase the value with each release, 79 that the <code>android:versionCode</code> value does not necessarily have a 90 <p>As with <code>android:versionCode</code>, the system does not use this value 100 <p>Here's an example manifest that shows the <code>android:versionCode</code> 108 android:versionCode="2" 116 <p>In this example, note that <code>android:versionCode</code> value indicates
|
D | publishing_overview.jd | 65 <code>android:versionCode</code> and <code>android:versionName</code> attributes, which are
|
D | preparing.jd | 236 <li><code>android:versionCode</code> and <code>android:versionName</code> attributes.
|
/frameworks/base/docs/html/tools/workflow/ |
D | versioning.jd | 66 <li><code>android:versionCode</code> — An integer value that represents 77 versionCode set to 1, then monotonically increase the value with each release, 79 that the <code>android:versionCode</code> value does not necessarily have a 90 <p>As with <code>android:versionCode</code>, the system does not use this value 100 <p>Here's an example manifest that shows the <code>android:versionCode</code> 108 android:versionCode="2" 116 <p>In this example, note that <code>android:versionCode</code> value indicates
|
D | publishing_overview.jd | 73 <code>android:versionCode</code> and <code>android:versionName</code> attributes, which are
|
/frameworks/base/docs/html/tools/workflow/publishing/ |
D | versioning.jd | 66 <li><code>android:versionCode</code> — An integer value that represents 77 versionCode set to 1, then monotonically increase the value with each release, 79 that the <code>android:versionCode</code> value does not necessarily have a 90 <p>As with <code>android:versionCode</code>, the system does not use this value 100 <p>Here's an example manifest that shows the <code>android:versionCode</code> 108 android:versionCode="2" 116 <p>In this example, note that <code>android:versionCode</code> value indicates
|
D | publishing_overview.jd | 73 <code>android:versionCode</code> and <code>android:versionName</code> attributes, which are
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SamplingProfilerIntegration.java | 220 out.println("Package-Version: " + packageInfo.versionCode); in generateSnapshotHeader()
|
/frameworks/base/docs/html/training/multiple-apks/ |
D | texture.jd | 207 according to the "highest version number wins" rule, if we set the versionCode attribute in each APK 227 android:versionCode="1001" android:versionName="1.0" package="com.example.foo"> 235 android:versionCode="2001" android:versionName="1.0" package="com.example.foo"> 243 android:versionCode="3001" android:versionName="1.0" package="com.example.foo"> 271 package: name='com.example.hello' versionCode='1' versionName='1.0'
|
D | api.jd | 259 higher version code, we know that in terms of versionCode values, red ≥ 312 android:versionCode="03001" android:versionName="1.0" package="com.example.foo"> 320 android:versionCode="07001" android:versionName="1.0" package="com.example.foo"> 328 android:versionCode="11001" android:versionName="1.0" package="com.example.foo"> 352 package: name='com.example.hello' versionCode='1' versionName='1.0'
|
D | screensize.jd | 216 However, by using the "highest version number wins" rule, if we set the versionCode attribute in 261 android:versionCode="1001" android:versionName="1.0" package="com.example.foo"> 272 android:versionCode="2001" android:versionName="1.0" package="com.example.foo"> 283 android:versionCode="3001" android:versionName="1.0" package="com.example.foo"> 326 package: name='com.example.hello' versionCode='1' versionName='1.0'
|
D | multiple.jd | 367 android:versionCode="0304001" android:versionName="1.0" package="com.example.foo"> 379 android:versionCode="0334001" android:versionName="1.0" package="com.example.foo"> 391 android:versionCode="0344001" android:versionName="1.0" package="com.example.foo"> 403 android:versionCode="1104001" android:versionName="1.0" package="com.example.foo"> 448 package: name='com.example.hello' versionCode='1' versionName='1.0'
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | manifest-element.jd | 12 android:<a href="#vcode">versionCode</a>="<i>integer</i>" 99 <dt><a name="vcode"></a>{@code android:versionCode}</dt> 118 than to be displayed to users. The {@code versionCode} attribute holds
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 766 int32_t versionCode = getIntegerAttribute(tree, VERSION_CODE_ATTR, &error); in doDump() local 771 if (versionCode > 0) { in doDump() 772 printf("versionCode='%d' ", versionCode); in doDump()
|
/frameworks/base/docs/html/guide/topics/data/ |
D | backup.jd | 476 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a> 785 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a> 789 android:versionCode}</a> of the installed application and compares it to the value 803 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a> 814 android.content.pm.PackageInfo#versionCode PackageInfo.versionCode} field. For example:</p> 829 version = info.versionCode;
|
/frameworks/base/docs/html/guide/google/play/publishing/ |
D | multiple-apks.jd | 267 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a> 311 android:versionCode}</a> attribute.</li> 322 android:versionCode}</a>).</p></li> 423 android:versionCode}</a> attribute. You must be careful about assigning version codes when
|
/frameworks/base/docs/html/guide/google/play/ |
D | expansion-files.jd | 105 versionCode}</a> in the manifest. (The 134 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a> 303 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code versionCode}</a> 309 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code versionCode}</a> (and 687 versionCode)}</li> 1233 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code versionCode}</a> in the
|