Searched refs:versionCode (Results 1 - 25 of 66) sorted by relevance

123

/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 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 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
/frameworks/support/compat/src/main/java/androidx/core/content/pm/
H A DPackageInfoCompat.java27 * Return {@link android.R.attr#versionCode} and {@link android.R.attr#versionCodeMajor}
38 return info.versionCode;
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.h46 int64_t versionCode, int64_t startTime, int64_t endTime,
51 const std::string& package, int64_t versionCode,
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/data-binding/compilationTests/src/test/resources/
H A Dmodule_build.gradle28 versionCode 1
/frameworks/data-binding/integration-tests/App With Spaces/app/
H A Dbuild.gradle27 versionCode 1
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/
H A Dbuild.gradle27 versionCode 1
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/
H A Dbuild.gradle26 versionCode 1
/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/data-binding/integration-tests/IndependentLibrary/app/
H A Dbuild.gradle25 versionCode 1
/frameworks/data-binding/samples/BindingDemo/app/
H A Dbuild.gradle27 versionCode 1
/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/cmds/statsd/src/packages/
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...]
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);
/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/support/compat/src/androidTest/java/androidx/core/content/pm/
H A DPackageInfoCompatTest.java34 info.versionCode = 12345;
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DSharedLibraryMain.java46 return pi.versionCode;
/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;
/frameworks/av/services/mediaanalytics/
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/data-binding/extensions/baseAdapters/
H A Dbuild.gradle35 versionCode 1

Completed in 188 milliseconds

123