/frameworks/base/core/java/android/content/pm/ |
H A D | AuxiliaryResolveInfo.java | 45 public final int versionCode; field in class:AuxiliaryResolveInfo 62 this.versionCode = resolveInfo.getVersionCode(); 69 int versionCode, 74 this.versionCode = versionCode; 67 AuxiliaryResolveInfo(@onNull String packageName, @Nullable String splitName, int versionCode, @Nullable Intent failureIntent) argument
|
H A D | PackageInfoLite.java | 40 * The android:versionCode of the package. 42 public int versionCode; field in class:PackageInfoLite 84 dest.writeInt(versionCode); 113 versionCode = source.readInt();
|
H A D | VersionedPackage.java | 42 * @param versionCode The version code. 45 @VersionCode int versionCode) { 47 mVersionCode = versionCode; 44 VersionedPackage(@onNull String packageName, @VersionCode int versionCode) argument
|
H A D | EphemeralResolveInfo.java | 65 this(digest, packageName, filters, -1 /*versionCode*/); 69 @Nullable List<EphemeralIntentFilter> filters, int versionCode) { 72 createInstantAppIntentFilterList(filters), versionCode); 68 EphemeralResolveInfo(@onNull EphemeralDigest digest, @Nullable String packageName, @Nullable List<EphemeralIntentFilter> filters, int versionCode) argument
|
H A D | InstantAppResolveInfo.java | 50 @Nullable List<InstantAppIntentFilter> filters, int versionCode) { 64 mVersionCode = versionCode; 69 this(new InstantAppDigest(hostName), packageName, filters, -1 /*versionCode*/); 49 InstantAppResolveInfo(@onNull InstantAppDigest digest, @Nullable String packageName, @Nullable List<InstantAppIntentFilter> filters, int versionCode) argument
|
H A D | PackageInfo.java | 40 * tag's {@link android.R.styleable#AndroidManifest_versionCode versionCode} 43 public int versionCode; field in class:PackageInfo 299 dest.writeInt(versionCode); 352 versionCode = source.readInt();
|
H A D | ApplicationInfo.java | 279 * i.e. from versions of the application with a versionCode greater than 848 public int versionCode; field in class:ApplicationInfo 1062 + " versionCode=" + versionCode 1169 versionCode = orig.versionCode; 1237 dest.writeInt(versionCode); 1302 versionCode = source.readInt();
|
H A D | PackageParser.java | 379 public final int versionCode; field in class:PackageParser.PackageLite 421 this.versionCode = baseApk.versionCode; 461 public final int versionCode; field in class:PackageParser.ApkLite 475 String configForSplit, String usesSplitName, int versionCode, int revisionCode, 486 this.versionCode = versionCode; 634 pi.versionCode = p.mVersionCode; 863 int versionCode = 0; 875 versionCode 474 ApkLite(String codePath, String packageName, String splitName, boolean isFeatureSplit, String configForSplit, String usesSplitName, int versionCode, int revisionCode, int installLocation, List<VerifierInfo> verifiers, Signature[] signatures, Certificate[][] certificates, boolean coreApp, boolean debuggable, boolean multiArch, boolean use32bitAbi, boolean extractNativeLibs, boolean isolatedSplits) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_GraphicsStatsService.cpp | 42 jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) { 63 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data); 80 jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) { 92 GraphicsStatsService::saveBuffer(path, package, versionCode, startTime, endTime, data); 41 addToDump(JNIEnv* env, jobject, jlong dumpPtr, jstring jpath, jstring jpackage, jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument 79 saveBuffer(JNIEnv* env, jobject clazz, jstring jpath, jstring jpackage, jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | KeyValueAdbRestoreEngine.java | 85 int versionCode) throws IOException { 96 + versionCode); 98 agent.doRestore(backupData, versionCode, newState, mToken, 84 invokeAgentForAdbRestore(IBackupAgent agent, FileMetadata info, File restoreData, int versionCode) argument
|
H A D | PackageManagerBackupAgent.java | 100 public int versionCode; field in class:PackageManagerBackupAgent.Metadata 104 versionCode = version; 207 homeVersion = homeInfo.versionCode; 288 if (info.versionCode == mStateVersions.get(packName).versionCode) { 304 * int version -- [4] the package's versionCode 310 outputBufferStream.writeInt(info.versionCode); 316 + " version=" + info.versionCode 410 int versionCode = inputBufferStream.readInt(); 415 + " versionCode [all...] |
/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 45 const std::string& package, int versionCode, int64_t startTime, int64_t endTime, 85 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) { 93 proto->set_version_code(versionCode); 187 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) { 192 mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data); 245 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) { 251 mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data); 84 mergeProfileDataIntoProto(service::GraphicsStatsProto* proto, const std::string& package, int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument 186 saveBuffer(const std::string& path, const std::string& package, int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument 244 addToDump(Dump* dump, const std::string& path, const std::string& package, int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | InstantAppResolver.java | 162 final int versionCode; 173 versionCode = instantAppIntentInfo.resolveInfo.getVersionCode(); 178 versionCode = -1; 184 versionCode = -1; 197 versionCode, 242 int versionCode, 298 intent.putExtra(Intent.EXTRA_VERSION_CODE, versionCode); 364 + ", versionCode: " + info.versionCode); 370 + ", versionCode 232 buildEphemeralInstallerIntent( @onNull String action, @NonNull Intent origIntent, @NonNull Intent failureIntent, @NonNull String callingPackage, @Nullable Bundle verificationBundle, @NonNull String resolvedType, int userId, @NonNull String instantAppPackageName, @Nullable String instantAppSplitName, int versionCode, @Nullable String token, boolean needsPhaseTwo) argument [all...] |
H A D | ShortcutPackageInfo.java | 64 private ShortcutPackageInfo(int versionCode, long lastUpdateTime, argument 66 mVersionCode = versionCode; 96 mVersionCode = pi.versionCode; 111 if (target.versionCode < mVersionCode) { 114 target.versionCode, mVersionCode)); 132 final ShortcutPackageInfo ret = new ShortcutPackageInfo(pi.versionCode, pi.lastUpdateTime, 174 final int versionCode = ShortcutService.parseIntAttribute(parser, ATTR_VERSION); 211 mVersionCode = versionCode;
|
H A D | PackageSettingBase.java | 109 int versionCode; field in class:PackageSettingBase 193 this.versionCode = pVersionCode; 273 versionCode = orig.versionCode;
|
H A D | Settings.java | 581 p.appId, p.versionCode, p.pkgFlags, p.pkgPrivateFlags, 699 String secondaryCpuAbi, int versionCode, int pkgFlags, int pkgPrivateFlags, 722 pkgSetting.versionCode = versionCode; 730 null /*cpuAbiOverrideString*/, versionCode, pkgFlags, pkgPrivateFlags, 971 if (pkg.mVersionCode != p.versionCode) { 972 p.versionCode = pkg.mVersionCode; 2814 serializer.attribute(null, "version", String.valueOf(pkg.versionCode)); 2884 serializer.attribute(null, "version", String.valueOf(pkg.versionCode)); 3675 int versionCode 696 createNewSetting(String pkgName, PackageSetting originalPkg, PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser, File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, String secondaryCpuAbi, int versionCode, int pkgFlags, int pkgPrivateFlags, UserHandle installUser, boolean allowInstall, boolean instantApp, String parentPkgName, List<String> childPkgNames, UserManagerService userManager, String[] usesStaticLibraries, int[] usesStaticLibrariesVersions) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 117 int versionCode; member in struct:split::AppInfo 146 const String16 kVersionCodeAttr("versionCode"); 165 outInfo.versionCode = xml.getAttributeData(idx);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | GraphicsStatsService.java | 178 pfd = requestBufferForProcessLocked(token, uid, pid, packageName, info.versionCode); 200 int uid, int pid, String packageName, int versionCode) throws RemoteException { 201 ActiveBuffer buffer = fetchActiveBuffersLocked(token, uid, pid, packageName, versionCode); 218 normalizeDate(info.startTime).getTimeInMillis(), info.packageName, info.versionCode); 234 nSaveBuffer(path.getAbsolutePath(), buffer.mInfo.packageName, buffer.mInfo.versionCode, 295 String packageName, int versionCode) throws RemoteException { 313 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName, versionCode); 328 buffer.mInfo.versionCode, buffer.mInfo.startTime, buffer.mInfo.endTime, 384 int versionCode, long startTime, long endTime, byte[] data); 387 private static native void nSaveBuffer(String path, String packageName, int versionCode, argument 199 requestBufferForProcessLocked(IGraphicsStatsCallback token, int uid, int pid, String packageName, int versionCode) argument 294 fetchActiveBuffersLocked(IGraphicsStatsCallback token, int uid, int pid, String packageName, int versionCode) argument 383 nAddToDump(long dump, String path, String packageName, int versionCode, long startTime, long endTime, byte[] data) argument 392 final int versionCode; field in class:GraphicsStatsService.BufferInfo 396 BufferInfo(String packageName, int versionCode, long startTime) argument 411 ActiveBuffer(IGraphicsStatsCallback token, int uid, int pid, String packageName, int versionCode) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessStatsService.java | 120 int uid, int versionCode, String processName) { 121 return mProcessStats.getProcessStateLocked(packageName, uid, versionCode, processName); 125 int versionCode, String processName, String className) { 126 return mProcessStats.getServiceStateLocked(packageName, uid, versionCode, processName, 119 getProcessStateLocked(String packageName, int uid, int versionCode, String processName) argument 124 getServiceStateLocked(String packageName, int uid, int versionCode, String processName, String className) argument
|
H A D | ProcessRecord.java | 445 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.versionCode)); 470 info.versionCode, processName); 478 info.versionCode, processName); 694 public boolean addPackage(String pkg, int versionCode, ProcessStatsService tracker) { argument 697 versionCode); 700 pkg, uid, versionCode, processName); 747 info.packageName, uid, info.versionCode, processName); 749 info.versionCode); 758 pkgList.put(info.packageName, new ProcessStats.ProcessStateHolder(info.versionCode));
|
H A D | BatteryStatsService.java | 942 public void notePackageInstalled(String pkgName, int versionCode) { argument 945 mStats.notePackageInstalledLocked(pkgName, versionCode);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
H A D | WebViewUpdateServiceTest.java | 204 int versionCode, boolean isSystemApp) { 207 p.versionCode = versionCode; 208 p.applicationInfo.versionCode = versionCode; 1497 firstPackage.versionCode = 100; 1514 assertEquals(firstPackage.versionCode, 1515 mWebViewUpdateServiceImpl.getCurrentWebViewPackage().versionCode); 1526 assertEquals(firstPackage.versionCode, 1527 mWebViewUpdateServiceImpl.getCurrentWebViewPackage().versionCode); 202 createPackageInfo(String packageName, boolean enabled, boolean valid, boolean installed, Signature[] signatures, long updateTime, boolean hidden, int versionCode, boolean isSystemApp) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 1237 int32_t versionCode = AaptXml::getIntegerAttribute(tree, VERSION_CODE_ATTR, local 1241 "ERROR getting 'android:versionCode' attribute: %s", 1245 if (versionCode > 0) { 1246 printf("versionCode='%d' ", versionCode); 1248 printf("versionCode='' ");
|
H A D | Resource.cpp | 868 if (!addTagAttribute(root, RESOURCES_ANDROID_NAMESPACE, "versionCode", 873 String16(RESOURCES_ANDROID_NAMESPACE), String16("versionCode")); 1075 int32_t versionCode = AaptXml::getIntegerAttribute(tree, VERSION_CODE_ATTR, &error); local 1081 if (versionCode >= 0 && bundle->getPlatformBuildVersionCode() == "") { 1082 bundle->setPlatformBuildVersionCode(String8::format("%d", versionCode)); 1187 // Add the 'versionCode' attribute which is set to the original version code. 1188 if (!addTagAttribute(manifest, RESOURCES_ANDROID_NAMESPACE, "versionCode",
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 4330 public void notePackageInstalledLocked(String pkgName, int versionCode) { argument 4334 pkgName, versionCode); 4338 pc.mVersionCode = versionCode;
|