Home
last modified time | relevance | path

Searched refs:versionCode (Results 1 – 25 of 36) 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.java3089 printer.println(Integer.toString(pkg.versionCode)); in writeAppManifest()
4043 if (pkgInfo.versionCode >= version) { in readAppManifest()
4052 + pkgInfo.versionCode + " - requiring apk"); in readAppManifest()
4773 if (metaInfo.versionCode > packageInfo.versionCode) { in restoreNextAgent()
4779 String message = "Version " + metaInfo.versionCode in restoreNextAgent()
4780 + " > installed version " + packageInfo.versionCode; in restoreNextAgent()
4787 if (DEBUG) Slog.v(TAG, "Version " + metaInfo.versionCode in restoreNextAgent()
4788 + " > installed " + packageInfo.versionCode in restoreNextAgent()
4802 + " restore version [" + metaInfo.versionCode in restoreNextAgent()
4804 + 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/
DPackageInfoLite.java37 public int versionCode; field in PackageInfoLite
66 dest.writeInt(versionCode); in writeToParcel()
91 versionCode = source.readInt(); in PackageInfoLite()
DPackageInfo.java38 public int versionCode; field in PackageInfo
245 dest.writeInt(versionCode); in writeToParcel()
288 versionCode = source.readInt(); in PackageInfo()
DPackageParser.java209 public final int versionCode; field in PackageParser.PackageLite
213 public PackageLite(String packageName, int versionCode, in PackageLite() argument
216 this.versionCode = versionCode; in PackageLite()
298 pi.versionCode = p.mVersionCode; in generatePackageInfo()
901 int versionCode = 0; in parsePackageLite() local
910 versionCode = attrs.getAttributeIntValue(i, 0); in parsePackageLite()
936 return new PackageLite(pkgName.intern(), versionCode, installLocation, verifiers); in parsePackageLite()
/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
/frameworks/base/services/java/com/android/server/pm/
DPackageSettingBase.java59 int versionCode; field in PackageSettingBase
107 versionCode = base.versionCode; in PackageSettingBase()
137 this.versionCode = pVersionCode; in init()
DSettings.java301 p.nativeLibraryPathString, p.appId, p.versionCode, p.pkgFlags); in enableSystemPackageLPw()
585 if (pkg.mVersionCode != p.versionCode) { in insertPackageSettingLPw()
586 p.versionCode = pkg.mVersionCode; in insertPackageSettingLPw()
1493 serializer.attribute(null, "version", String.valueOf(pkg.versionCode)); in writeDisabledSysPackageLPr()
1546 serializer.attribute(null, "version", String.valueOf(pkg.versionCode)); in writePackageLPr()
1806 pp.nativeLibraryPathString, pp.versionCode, pp.pkgFlags, in readLPw()
2230 int versionCode = 0; in readDisabledSysPackageLPw() local
2233 versionCode = Integer.parseInt(version); in readDisabledSysPackageLPw()
2245 new File(resourcePathStr), nativeLibraryPathStr, versionCode, pkgFlags); in readDisabledSysPackageLPw()
2321 int versionCode = 0; in readPackageLPw() local
[all …]
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DSharedLibraryMain.java46 return pi.versionCode; in getVersion()
/frameworks/volley/src/com/android/volley/toolbox/
DVolley.java49 userAgent = packageName + "/" + info.versionCode; in newRequestQueue()
/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/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java190 ret.versionCode = pkg.versionCode;
/frameworks/base/docs/html/tools/help/
Djobb.jd67 to the {@code android:versionCode} value in your application's manifest. This parameter is
/frameworks/base/docs/html/training/in-app-billing/
Dtest-iab-app.jd49 …<li>The {@code android:versionCode} and {@code android:versionName} attributes values in the {@cod…
/frameworks/base/docs/html/guide/topics/data/
Dbackup.jd473 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a>
782 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a>
786 android:versionCode}</a> of the installed application and compares it to the value
800 href="{@docRoot}guide/topics/manifest/manifest-element.html#vcode">{@code android:versionCode}</a>
811 android.content.pm.PackageInfo#versionCode PackageInfo.versionCode} field. For example:</p>
826 version = info.versionCode;
/frameworks/base/tools/aapt/
DCommand.cpp878 int32_t versionCode = getIntegerAttribute(tree, VERSION_CODE_ATTR, &error); in doDump() local
883 if (versionCode > 0) { in doDump()
884 printf("versionCode='%d' ", versionCode); in doDump()
/frameworks/base/docs/html/google/gcm/
Dgs.jd277 return packageInfo.versionCode;
308 * Stores the registration id, app versionCode, and expiration time in the
348 * Stores the registration id, app versionCode, and expiration time in the
/frameworks/base/docs/html/training/sync-adapters/
Dcreating-stub-provider.jd182 android:versionCode="1"

12