Searched defs:versionCode (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/view/autofill/
H A DAutofillManagerInternal.java37 * @param versionCode The package version code.
41 long versionCode, @UserIdInt int userId);
40 isCompatibilityModeRequested(@onNull String packageName, long versionCode, @UserIdInt int userId) argument
/frameworks/base/core/java/android/content/pm/
H A DAuxiliaryResolveInfo.java76 String packageName, long versionCode, String splitName) {
78 new AuxiliaryResolveInfo.AuxiliaryFilter(packageName, versionCode, splitName)));
88 public final long versionCode; field in class:AuxiliaryResolveInfo.AuxiliaryFilter
99 this.versionCode = resolveInfo.getLongVersionCode();
108 this.versionCode = resolveInfo.getLongVersionCode();
113 public AuxiliaryFilter(String packageName, long versionCode, String splitName) { argument
116 this.versionCode = versionCode;
125 + ", versionCode=" + versionCode
75 AuxiliaryResolveInfo(@ullable ComponentName failureActivity, String packageName, long versionCode, String splitName) argument
[all...]
H A DVersionedPackage.java42 * @param versionCode The version code.
45 @VersionCode int versionCode) {
47 mVersionCode = versionCode;
54 * @param versionCode The version code.
57 @VersionCode long versionCode) {
59 mVersionCode = versionCode;
44 VersionedPackage(@onNull String packageName, @VersionCode int versionCode) argument
56 VersionedPackage(@onNull String packageName, @VersionCode long versionCode) argument
H A DPackageInfoLite.java40 * The android:versionCode of the package.
46 public int versionCode; field in class:PackageInfoLite
55 * Return {@link #versionCode} and {@link #versionCodeMajor} combined together as a
59 return PackageInfo.composeLongVersionCode(versionCodeMajor, versionCode);
102 dest.writeInt(versionCode);
132 versionCode = source.readInt();
H A DInstantAppResolveInfo.java87 @Nullable List<InstantAppIntentFilter> filters, int versionCode) {
88 this(digest, packageName, filters, (long) versionCode, null /* extras */);
93 @Nullable List<InstantAppIntentFilter> filters, long versionCode,
95 this(digest, packageName, filters, versionCode, extras, false);
101 this(new InstantAppDigest(hostName), packageName, filters, -1 /*versionCode*/,
114 @Nullable List<InstantAppIntentFilter> filters, long versionCode,
129 mVersionCode = versionCode;
86 InstantAppResolveInfo(@onNull InstantAppDigest digest, @Nullable String packageName, @Nullable List<InstantAppIntentFilter> filters, int versionCode) argument
92 InstantAppResolveInfo(@onNull InstantAppDigest digest, @Nullable String packageName, @Nullable List<InstantAppIntentFilter> filters, long versionCode, @Nullable Bundle extras) argument
113 InstantAppResolveInfo(@onNull InstantAppDigest digest, @Nullable String packageName, @Nullable List<InstantAppIntentFilter> filters, long versionCode, @Nullable Bundle extras, boolean shouldLetInstallerDecide) argument
H A DPackageInfo.java44 * tag's {@link android.R.styleable#AndroidManifest_versionCode versionCode}
49 public int versionCode; field in class:PackageInfo
61 * Return {@link android.R.styleable#AndroidManifest_versionCode versionCode} and
68 return composeLongVersionCode(versionCodeMajor, versionCode);
72 * Set the full version code in this PackageInfo, updating {@link #versionCode}
78 versionCode = (int) longVersionCode;
425 dest.writeInt(versionCode);
489 versionCode = source.readInt();
H A DApplicationInfo.java283 * i.e. from versions of the application with a versionCode greater than
926 public int versionCode; field in class:ApplicationInfo
1238 + " versionCode=" + longVersionCode
1744 versionCode = (int) newVersionCode;
/frameworks/av/services/mediaanalytics/
H A DMediaAnalyticsService.h97 int64_t versionCode; member in struct:android::MediaAnalyticsService::UidToPkgMap
H A DMediaAnalyticsService.cpp563 int64_t versionCode = 0; local
607 // determine how pkg was installed and the versionCode
625 status = package_mgr->getVersionCodeForPackage(pkgName16, &versionCode);
634 pkg.c_str(), installer.c_str(), versionCode, versionCode);
645 versionCode = 0;
649 versionCode = 0;
663 mapping.versionCode = versionCode;
677 item->setPkgVersionCode(mapping.versionCode);
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_GraphicsStatsService.cpp42 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) {
64 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data);
81 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) {
93 GraphicsStatsService::saveBuffer(path, package, versionCode, startTime, endTime, data);
41 addToDump(JNIEnv* env, jobject, jlong dumpPtr, jstring jpath, jstring jpackage, jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument
80 saveBuffer(JNIEnv* env, jobject clazz, jstring jpath, jstring jpackage, jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument
/frameworks/base/cmds/statsd/src/packages/
H A DUidMap.h46 int64_t versionCode; member in struct:android::os::statsd::AppData
52 AppData(const int64_t v) : versionCode(v), deleted(false){};
87 * tuple, ie. uid[j] corresponds to packageName[j] with versionCode[j].
90 const vector<int64_t>& versionCode, const vector<String16>& packageName);
93 const int64_t& versionCode);
H A DUidMap.cpp4 * Licensed under the Apache License, versionCode 2.0 (the "License");
103 return it->second.versionCode;
107 const vector<int64_t>& versionCode, const vector<String16>& packageName) {
124 mMap[std::make_pair(uid[j], package)] = AppData(versionCode[j]);
153 const int64_t& versionCode) {
163 prevVersion = it->second.versionCode;
164 it->second.versionCode = versionCode;
169 mMap[std::make_pair(uid, appName)] = AppData(versionCode);
177 mChanges.emplace_back(false, timestamp, appName, uid, versionCode, prevVersio
106 updateMap(const int64_t& timestamp, const vector<int32_t>& uid, const vector<int64_t>& versionCode, const vector<String16>& packageName) argument
152 updateApp(const int64_t& timestamp, const String16& app_16, const int32_t& uid, const int64_t& versionCode) argument
[all...]
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp45 const std::string& package, int64_t versionCode,
157 int64_t versionCode, int64_t startTime, int64_t endTime,
166 proto->set_version_code(versionCode);
260 int64_t versionCode, int64_t startTime, int64_t endTime,
266 if (!mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data)) {
326 const std::string& package, int64_t versionCode,
333 !mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data)) {
156 mergeProfileDataIntoProto(protos::GraphicsStatsProto* proto, const std::string& package, int64_t versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
259 saveBuffer(const std::string& path, const std::string& package, int64_t versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
325 addToDump(Dump* dump, const std::string& path, const std::string& package, int64_t versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackageInfo.java81 private ShortcutPackageInfo(long versionCode, long lastUpdateTime, argument
83 mVersionCode = versionCode;
242 final long versionCode = ShortcutService.parseLongAttribute(parser, ATTR_VERSION,
296 mBackupSourceVersionCode = versionCode;
299 mVersionCode = versionCode;
H A DPackageSettingBase.java98 long versionCode; field in class:PackageSettingBase
179 this.versionCode = pVersionCode;
261 versionCode = orig.versionCode;
/frameworks/base/tools/aapt2/optimize/
H A DMultiApkGenerator.cpp277 // Update the versionCode attribute.
278 xml::Attribute* versionCode = manifest_el->FindAttribute(kSchemaAndroid, "versionCode"); local
279 if (versionCode == nullptr) {
280 diag->Error(DiagMessage(manifest->file.source) << "manifest must have a versionCode attribute");
284 auto* compiled_version = ValueCast<BinaryPrimitive>(versionCode->compiled_value.get());
286 diag->Error(DiagMessage(manifest->file.source) << "versionCode is invalid");
291 versionCode->compiled_value = ResourceUtils::TryParseInt(std::to_string(new_version));
/frameworks/base/tools/split-select/
H A DMain.cpp117 int versionCode; member in struct:split::AppInfo
146 const String16 kVersionCodeAttr("versionCode");
165 outInfo.versionCode = xml.getAttributeData(idx);
/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java121 public long versionCode; field in class:PackageManagerBackupAgent.Metadata
125 versionCode = version;
334 if (info.getLongVersionCode() == mStateVersions.get(packName).versionCode) {
350 * int version -- [4] the package's versionCode
360 outputBufferStream.writeInt(info.versionCode);
596 long versionCode;
598 versionCode = in.readLong();
600 versionCode = versionCodeInt;
606 mStateVersions.put(pkg, new Metadata(versionCode, null));
653 out.writeInt(pkg.versionCode);
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DGraphicsStatsService.java201 int uid, int pid, String packageName, long versionCode) throws RemoteException {
202 ActiveBuffer buffer = fetchActiveBuffersLocked(token, uid, pid, packageName, versionCode);
219 normalizeDate(info.startTime).getTimeInMillis(), info.packageName, info.versionCode);
235 nSaveBuffer(path.getAbsolutePath(), buffer.mInfo.packageName, buffer.mInfo.versionCode,
296 String packageName, long versionCode) throws RemoteException {
314 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName, versionCode);
329 buffer.mInfo.versionCode, buffer.mInfo.startTime, buffer.mInfo.endTime,
385 long versionCode, long startTime, long endTime, byte[] data);
388 private static native void nSaveBuffer(String path, String packageName, long versionCode, argument
393 final long versionCode; field in class:GraphicsStatsService.BufferInfo
200 requestBufferForProcessLocked(IGraphicsStatsCallback token, int uid, int pid, String packageName, long versionCode) argument
295 fetchActiveBuffersLocked(IGraphicsStatsCallback token, int uid, int pid, String packageName, long versionCode) argument
384 nAddToDump(long dump, String path, String packageName, long versionCode, long startTime, long endTime, byte[] data) argument
397 BufferInfo(String packageName, long versionCode, long startTime) argument
412 ActiveBuffer(IGraphicsStatsCallback token, int uid, int pid, String packageName, long versionCode) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessStatsService.java124 int uid, long versionCode, String processName) {
125 return mProcessStats.getProcessStateLocked(packageName, uid, versionCode, processName);
129 long versionCode, String processName, String className) {
130 return mProcessStats.getServiceStateLocked(packageName, uid, versionCode, processName,
123 getProcessStateLocked(String packageName, int uid, long versionCode, String processName) argument
128 getServiceStateLocked(String packageName, int uid, long versionCode, String processName, String className) argument
H A DBatteryStatsService.java1013 public void notePackageInstalled(String pkgName, long versionCode) { argument
1016 mStats.notePackageInstalledLocked(pkgName, versionCode);
H A DProcessRecord.java780 public boolean addPackage(String pkg, long versionCode, ProcessStatsService tracker) { argument
783 versionCode);
786 pkg, uid, versionCode, processName);
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java687 long versionCode, @UserIdInt int userId) {
689 packageName, versionCode, userId);
731 long versionCode, @UserIdInt int userId) {
744 return versionCode <= metadata.maxVersionCode;
767 long versionCode, @Nullable String[] urlBarResourceIds, @UserIdInt int userId) {
778 new PackageCompatState(versionCode, urlBarResourceIds));
686 isCompatibilityModeRequested(@onNull String packageName, long versionCode, @UserIdInt int userId) argument
730 isCompatibilityModeRequested(@onNull String packageName, long versionCode, @UserIdInt int userId) argument
766 addCompatibilityModeRequest(@onNull String packageName, long versionCode, @Nullable String[] urlBarResourceIds, @UserIdInt int userId) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
H A DWebViewUpdateServiceTest.java204 long versionCode, boolean isSystemApp) {
207 p.setLongVersionCode(versionCode);
208 p.applicationInfo.setVersionCode(versionCode);
1552 10 /* lastUpdateTime*/, false /* not hidden */, 1000 /* versionCode */,
1608 10 /* lastUpdateTime*/, false /* not hidden */, 1000 /* versionCode */,
202 createPackageInfo(String packageName, boolean enabled, boolean valid, boolean installed, Signature[] signatures, long updateTime, boolean hidden, long versionCode, boolean isSystemApp) argument
/frameworks/base/tools/aapt/
H A DCommand.cpp1222 int32_t versionCode = AaptXml::getIntegerAttribute(tree, VERSION_CODE_ATTR, local
1226 "ERROR getting 'android:versionCode' attribute: %s",
1230 if (versionCode > 0) {
1231 printf("versionCode='%d' ", versionCode);
1233 printf("versionCode='' ");

Completed in 204 milliseconds

12