Home
last modified time | relevance | path

Searched refs:versionCode (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/java/com/android/server/
DPackageManagerBackupAgent.java74 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 …]
DBackupManagerService.java2767 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/
Dversioning.jd51 <li><code>android:versionCode</code> - アプリケーション コードのバージョンを他のバージョンと相対的に示す整数値。
55 …アプリケーションの最初のバージョンの versionCode を 1 に設定してリリースし、その後は各リリースについて、リリースがメジャー リリースであってもマイナー リリースであっても、値を単調…
60 <p><code>android:versionCode</code> の場合と同様に、システムではこの値をアプリケーションでユーザーに表示する以外の目的で内部的に利用することはありません。公開サー…
66 <p>ここに、<code>&lt;manifest&gt;</code> 要素の <code>android:versionCode</code> と <code>android:versionNa…
72 android:versionCode="2"
80 <p>この例では、<code>android:versionCode</code> 値は現在の .apk がこのアプリケーション コードの 2 番目のリリースを含んでいることを表し、これは <cod…
Dpreparing.jd95 …、アプリケーションのマニフェスト ファイルの <code>&lt;manifest&gt;</code> 要素の <code>android:versionCode</code> と <code>…
97 …。アプリケーションのマニフェスト ファイルの <code>&lt;manifest&gt;</code> 要素の <code>android:versionCode</code> と <code>…
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java38 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/
DPackageSettingBase.java56 int versionCode; field in PackageSettingBase
110 versionCode = base.versionCode; in PackageSettingBase()
138 this.versionCode = pVersionCode; in init()
DSettings.java278 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 …]
DPackageManagerService.java3125 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/
Dversioning.jd66 <li><code>android:versionCode</code> &mdash; 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
Dpublishing_overview.jd65 <code>android:versionCode</code> and <code>android:versionName</code> attributes, which are
Dpreparing.jd236 <li><code>android:versionCode</code> and <code>android:versionName</code> attributes.
/frameworks/base/docs/html/tools/workflow/
Dversioning.jd66 <li><code>android:versionCode</code> &mdash; 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
Dpublishing_overview.jd73 <code>android:versionCode</code> and <code>android:versionName</code> attributes, which are
/frameworks/base/docs/html/tools/workflow/publishing/
Dversioning.jd66 <li><code>android:versionCode</code> &mdash; 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
Dpublishing_overview.jd73 <code>android:versionCode</code> and <code>android:versionName</code> attributes, which are
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java220 out.println("Package-Version: " + packageInfo.versionCode); in generateSnapshotHeader()
/frameworks/base/docs/html/training/multiple-apks/
Dtexture.jd207 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"&gt;
235 android:versionCode="2001" android:versionName="1.0" package="com.example.foo"&gt;
243 android:versionCode="3001" android:versionName="1.0" package="com.example.foo"&gt;
271 package: name='com.example.hello' versionCode='1' versionName='1.0'
Dapi.jd259 higher version code, we know that in terms of versionCode values, red &#8805;
312 android:versionCode="03001" android:versionName="1.0" package="com.example.foo"&gt;
320 android:versionCode="07001" android:versionName="1.0" package="com.example.foo"&gt;
328 android:versionCode="11001" android:versionName="1.0" package="com.example.foo"&gt;
352 package: name='com.example.hello' versionCode='1' versionName='1.0'
Dscreensize.jd216 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"&gt;
272 android:versionCode="2001" android:versionName="1.0" package="com.example.foo">
283 android:versionCode="3001" android:versionName="1.0" package="com.example.foo"&gt;
326 package: name='com.example.hello' versionCode='1' versionName='1.0'
Dmultiple.jd367 android:versionCode="0304001" android:versionName="1.0" package="com.example.foo"&gt;
379 android:versionCode="0334001" android:versionName="1.0" package="com.example.foo"&gt;
391 android:versionCode="0344001" android:versionName="1.0" package="com.example.foo"&gt;
403 android:versionCode="1104001" android:versionName="1.0" package="com.example.foo"&gt;
448 package: name='com.example.hello' versionCode='1' versionName='1.0'
/frameworks/base/docs/html/guide/topics/manifest/
Dmanifest-element.jd12 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/
DCommand.cpp766 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/
Dbackup.jd476 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/
Dmultiple-apks.jd267 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/
Dexpansion-files.jd105 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

12