Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/content/pm/
DAuxiliaryResolveInfo.java76 String packageName, long versionCode, String splitName) { in AuxiliaryResolveInfo() argument
78 new AuxiliaryResolveInfo.AuxiliaryFilter(packageName, versionCode, splitName))); in AuxiliaryResolveInfo()
88 public final long versionCode; field in AuxiliaryResolveInfo.AuxiliaryFilter
99 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
108 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
113 public AuxiliaryFilter(String packageName, long versionCode, String splitName) { in AuxiliaryFilter() argument
116 this.versionCode = versionCode; in AuxiliaryFilter()
125 + ", versionCode=" + versionCode in toString()
DVersionedPackage.java45 @VersionCode int versionCode) { in VersionedPackage() argument
47 mVersionCode = versionCode; in VersionedPackage()
57 @VersionCode long versionCode) { in VersionedPackage() argument
59 mVersionCode = versionCode; in VersionedPackage()
DPackageInfoLite.java48 public int versionCode; field in PackageInfoLite
61 return PackageInfo.composeLongVersionCode(versionCodeMajor, versionCode); in getLongVersionCode()
104 dest.writeInt(versionCode); in writeToParcel()
135 versionCode = source.readInt(); in PackageInfoLite()
DInstantAppResolveInfo.java87 @Nullable List<InstantAppIntentFilter> filters, int versionCode) { in InstantAppResolveInfo() argument
88 this(digest, packageName, filters, (long) versionCode, null /* extras */); in InstantAppResolveInfo()
93 @Nullable List<InstantAppIntentFilter> filters, long versionCode, in InstantAppResolveInfo() argument
95 this(digest, packageName, filters, versionCode, extras, false); in InstantAppResolveInfo()
114 @Nullable List<InstantAppIntentFilter> filters, long versionCode, in InstantAppResolveInfo() argument
129 mVersionCode = versionCode; in InstantAppResolveInfo()
DPackageInfo.java51 public int versionCode; field in PackageInfo
70 return composeLongVersionCode(versionCodeMajor, versionCode); in getLongVersionCode()
80 versionCode = (int) longVersionCode; in setLongVersionCode()
443 dest.writeInt(versionCode); in writeToParcel()
509 versionCode = source.readInt(); in PackageInfo()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java201 int uid, int pid, String packageName, long versionCode) throws RemoteException { in requestBufferForProcessLocked() argument
202 ActiveBuffer buffer = fetchActiveBuffersLocked(token, uid, pid, packageName, versionCode); in requestBufferForProcessLocked()
219 … normalizeDate(info.startTime).getTimeInMillis(), info.packageName, info.versionCode); in pathForApp()
235 nSaveBuffer(path.getAbsolutePath(), buffer.mInfo.packageName, buffer.mInfo.versionCode, in saveBuffer()
296 String packageName, long versionCode) throws RemoteException { in fetchActiveBuffersLocked() argument
314 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName, versionCode); in fetchActiveBuffersLocked()
329 buffer.mInfo.versionCode, buffer.mInfo.startTime, buffer.mInfo.endTime, in dumpActiveLocked()
385 long versionCode, long startTime, long endTime, byte[] data); in nAddToDump() argument
388 private static native void nSaveBuffer(String path, String packageName, long versionCode, in nSaveBuffer() argument
393 final long versionCode; field in GraphicsStatsService.BufferInfo
[all …]
/frameworks/base/tools/aapt2/link/
DManifestFixer_test.cpp348 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F()
366 android:versionCode="0x00000001" in TEST_F()
380 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F()
399 android:versionCode="0x00000001" in TEST_F()
413 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F()
431 android:versionCode="0x00000001" in TEST_F()
445 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F()
462 android:versionCode="0x00000001" in TEST_F()
476 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F()
493 android:versionCode="0x00000001" in TEST_F()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java121 public long versionCode; field in PackageManagerBackupAgent.Metadata
125 versionCode = version; in Metadata()
337 if (info.getLongVersionCode() == mStateVersions.get(packName).versionCode) { in onBackup()
363 outputBufferStream.writeInt(info.versionCode); in onBackup()
599 long versionCode; in parseStateFile() local
601 versionCode = in.readLong(); in parseStateFile()
603 versionCode = versionCodeInt; in parseStateFile()
609 mStateVersions.put(pkg, new Metadata(versionCode, null)); in parseStateFile()
656 out.writeInt(pkg.versionCode); in writeStateFile()
719 long versionCode; in consumeRestoreData() local
[all …]
/frameworks/base/cmds/statsd/src/packages/
DUidMap.cpp116 return it->second.versionCode; in getAppVersion()
120 const vector<int64_t>& versionCode, const vector<String16>& versionString, in updateMap() argument
139 AppData(versionCode[j], string(String8(versionString[j]).string()), in updateMap()
169 const int64_t& versionCode, const String16& versionString, in updateApp() argument
182 prevVersion = it->second.versionCode; in updateApp()
184 it->second.versionCode = versionCode; in updateApp()
192 AppData(versionCode, newVersionString, string(String8(installer).string())); in updateApp()
200 mChanges.emplace_back(false, timestamp, appName, uid, versionCode, newVersionString, in updateApp()
211 strongPtr->notifyAppUpgrade(timestamp, appName, uid, versionCode); in updateApp()
257 prevVersion = it->second.versionCode; in removeApp()
[all …]
DUidMap.h46 int64_t versionCode; member
56 : versionCode(v), versionString(versionString), installer(installer), deleted(false){}; in AppData()
101 const vector<int64_t>& versionCode, const vector<String16>& versionString,
105 const int64_t& versionCode, const String16& versionString,
/frameworks/base/services/core/jni/
Dcom_android_server_GraphicsStatsService.cpp42 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) { in addToDump() argument
64 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data); in addToDump()
81 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) { in saveBuffer() argument
93 GraphicsStatsService::saveBuffer(path, package, versionCode, startTime, endTime, data); in saveBuffer()
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.h46 int64_t versionCode, int64_t startTime, int64_t endTime,
51 const std::string& package, int64_t versionCode,
DGraphicsStatsService.cpp45 const std::string& package, int64_t versionCode,
159 int64_t versionCode, int64_t startTime, int64_t endTime, in mergeProfileDataIntoProto() argument
168 proto->set_version_code(versionCode); in mergeProfileDataIntoProto()
262 int64_t versionCode, int64_t startTime, int64_t endTime, in saveBuffer() argument
268 if (!mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data)) { in saveBuffer()
328 const std::string& package, int64_t versionCode, in addToDump() argument
335 !mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data)) { in addToDump()
/frameworks/av/services/mediaanalytics/
DMediaAnalyticsService.cpp636 int64_t versionCode = 0; in setPkgInfo() local
699 status = package_mgr->getVersionCodeForPackage(pkgName16, &versionCode); in setPkgInfo()
708 pkg.c_str(), installer.c_str(), versionCode, versionCode); in setPkgInfo()
719 versionCode = 0; in setPkgInfo()
723 versionCode = 0; in setPkgInfo()
737 mapping.versionCode = versionCode; in setPkgInfo()
751 item->setPkgVersionCode(mapping.versionCode); in setPkgInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java81 private ShortcutPackageInfo(long versionCode, long lastUpdateTime, in ShortcutPackageInfo() argument
83 mVersionCode = versionCode; in ShortcutPackageInfo()
242 final long versionCode = ShortcutService.parseLongAttribute(parser, ATTR_VERSION, in loadFromXml() local
296 mBackupSourceVersionCode = versionCode; in loadFromXml()
299 mVersionCode = versionCode; in loadFromXml()
/frameworks/base/tests/TouchLatency/app/
Dbuild.gradle11 versionCode 1
/frameworks/base/core/java/android/view/autofill/
DAutofillManagerInternal.java47 long versionCode, @UserIdInt int userId); in getAutofillOptions() argument
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessListener.java58 long versionCode); in onStartActivity() argument
/frameworks/base/tests/HierarchyViewerTest/
Dbuild.gradle20 versionCode 1
/frameworks/opt/gamesdk/src/extras/
Dbuild.gradle8 versionCode 1
/frameworks/opt/gamesdk/src/tuningfork/
Dtuningfork_utils.cpp94 int versionCode = env->GetIntField( packageInfoObj, versionCodeFid); in GetVersionCode() local
95 return versionCode; in GetVersionCode()
/frameworks/base/tools/aapt2/cmd/
DUtil_test.cpp59 package="com.android.aapt.test" android:versionCode="0x1" android:versionCodeMajor="0x1"> in TEST()
63 auto version_code = doc->root->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST()
83 auto version_code = doc->root->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST()
/frameworks/opt/gamesdk/samples/unitypackaging/app/
Dbuild.gradle9 versionCode 1
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dbuild.gradle29 versionCode 1
/frameworks/base/tests/UiBench/
Dbuild.gradle19 versionCode 1

123