/frameworks/base/core/java/android/content/pm/ |
D | AuxiliaryResolveInfo.java | 81 String packageName, long versionCode, String splitName) { in AuxiliaryResolveInfo() argument 83 new AuxiliaryResolveInfo.AuxiliaryFilter(packageName, versionCode, splitName))); in AuxiliaryResolveInfo() 93 public final long versionCode; field in AuxiliaryResolveInfo.AuxiliaryFilter 104 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter() 113 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter() 118 public AuxiliaryFilter(String packageName, long versionCode, String splitName) { in AuxiliaryFilter() argument 121 this.versionCode = versionCode; in AuxiliaryFilter() 130 + ", versionCode=" + versionCode in toString()
|
D | VersionedPackage.java | 46 @VersionCode int versionCode) { in VersionedPackage() argument 48 mVersionCode = versionCode; in VersionedPackage() 58 @VersionCode long versionCode) { in VersionedPackage() argument 60 mVersionCode = versionCode; in VersionedPackage()
|
D | PackageInfoLite.java | 48 public int versionCode; field in PackageInfoLite 61 return PackageInfo.composeLongVersionCode(versionCodeMajor, versionCode); in getLongVersionCode() 114 dest.writeInt(versionCode); in writeToParcel() 146 versionCode = source.readInt(); in PackageInfoLite()
|
D | InstantAppResolveInfo.java | 87 @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()
|
D | PackageInfo.java | 51 public int versionCode; field in PackageInfo 70 return composeLongVersionCode(versionCodeMajor, versionCode); in getLongVersionCode() 80 versionCode = (int) longVersionCode; in setLongVersionCode() 489 dest.writeInt(versionCode); in writeToParcel() 557 versionCode = source.readInt(); in PackageInfo()
|
/frameworks/base/services/core/java/com/android/server/compat/overrides/ |
D | AppCompatOverridesParser.java | 198 long versionCode, in parsePackageOverrides() argument 203 PackageOverrideComparator comparator = new PackageOverrideComparator(versionCode); in parsePackageOverrides() 334 PackageOverrideComparator(long versionCode) { in PackageOverrideComparator() argument 335 this.mVersionCode = versionCode; in PackageOverrideComparator() 364 private static boolean isVersionInRange(PackageOverride override, long versionCode) { in isVersionInRange() argument 365 return override.getMinVersionCode() <= versionCode in isVersionInRange() 366 && versionCode <= override.getMaxVersionCode(); in isVersionInRange() 373 private static boolean isVersionAfterRange(PackageOverride override, long versionCode) { in isVersionAfterRange() argument 374 return override.getMaxVersionCode() < versionCode; in isVersionAfterRange() 381 private static boolean isVersionBeforeRange(PackageOverride override, long versionCode) { in isVersionBeforeRange() argument [all …]
|
D | AppCompatOverridesService.java | 165 Long versionCode = getVersionCodeOrNull(packageName); in applyOverrides() local 166 if (versionCode != null) { in applyOverrides() 170 versionCode, changeIdsToSkip); in applyOverrides() 197 Long versionCode = getVersionCodeOrNull(packageName); in addAllPackageOverrides() local 198 if (versionCode == null) { in addAllPackageOverrides() 208 packageName, versionCode, in addAllPackageOverrides()
|
/frameworks/base/core/tests/coretests/src/android/content/integrity/ |
D | IntegrityFormulaTest.java | 99 int versionCode = 12; in createEqualsFormula_versionCode() local 100 IntegrityFormula formula = IntegrityFormula.Application.versionCodeEquals(versionCode); in createEqualsFormula_versionCode() 106 assertThat(stringAtomicFormula.getValue()).isEqualTo(versionCode); in createEqualsFormula_versionCode() 112 int versionCode = 12; in createGreaterThanFormula_versionCode() local 113 IntegrityFormula formula = IntegrityFormula.Application.versionCodeGreaterThan(versionCode); in createGreaterThanFormula_versionCode() 119 assertThat(stringAtomicFormula.getValue()).isEqualTo(versionCode); in createGreaterThanFormula_versionCode() 125 int versionCode = 12; in createGreaterThanOrEqualsToFormula_versionCode() local 127 IntegrityFormula.Application.versionCodeGreaterThanOrEqualTo(versionCode); in createGreaterThanOrEqualsToFormula_versionCode() 133 assertThat(stringAtomicFormula.getValue()).isEqualTo(versionCode); in createGreaterThanOrEqualsToFormula_versionCode()
|
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer_test.cpp | 374 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F() 392 android:versionCode="0x00000001" in TEST_F() 406 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F() 425 android:versionCode="0x00000001" in TEST_F() 439 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F() 455 android:versionCode="0x00000001" />)EOF", in TEST_F() 474 android:versionCode="0x00000001" in TEST_F() 495 android:versionCode="0x00000001" in TEST_F() 517 android:versionCode="0x00000001" in TEST_F() 531 attr = manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode"); in TEST_F() [all …]
|
/frameworks/base/core/java/android/content/pm/dex/ |
D | DexMetadataHelper.java | 182 String packageName, long versionCode) { in validateDexMetadataFile() argument 183 return validateDexMetadataFile(input, dmaPath, packageName, versionCode, in validateDexMetadataFile() 189 String packageName, long versionCode, boolean requireManifest) { in validateDexMetadataFile() argument 194 ", " + versionCode); in validateDexMetadataFile() 199 return validateDexMetadataManifest(input, dmaPath, jarFile, packageName, versionCode, in validateDexMetadataFile() 215 StrictJarFile jarFile, String packageName, long versionCode, boolean requireManifest) in validateDexMetadataManifest() argument 267 if (versionCode != jsonVersionCode) { in validateDexMetadataManifest() 270 + ", expected: " + versionCode); in validateDexMetadataManifest() 275 ", " + versionCode + ": successful"); in validateDexMetadataManifest()
|
/frameworks/base/core/java/android/content/integrity/ |
D | IntegrityFormula.java | 71 public static IntegrityFormula versionCodeEquals(@NonNull long versionCode) { in versionCodeEquals() argument 72 return new LongAtomicFormula(AtomicFormula.VERSION_CODE, AtomicFormula.EQ, versionCode); in versionCodeEquals() 80 public static IntegrityFormula versionCodeGreaterThan(@NonNull long versionCode) { in versionCodeGreaterThan() argument 81 return new LongAtomicFormula(AtomicFormula.VERSION_CODE, AtomicFormula.GT, versionCode); in versionCodeGreaterThan() 89 public static IntegrityFormula versionCodeGreaterThanOrEqualTo(@NonNull long versionCode) { in versionCodeGreaterThanOrEqualTo() argument 91 AtomicFormula.VERSION_CODE, AtomicFormula.GTE, versionCode); in versionCodeGreaterThanOrEqualTo()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 121 public long versionCode; field in PackageManagerBackupAgent.Metadata 125 versionCode = version; in Metadata() 339 if (info.getLongVersionCode() == mStateVersions.get(packName).versionCode) { in onBackup() 365 outputBufferStream.writeInt(info.versionCode); in onBackup() 601 long versionCode; in parseStateFile() local 603 versionCode = in.readLong(); in parseStateFile() 605 versionCode = versionCodeInt; in parseStateFile() 611 mStateVersions.put(pkg, new Metadata(versionCode, null)); in parseStateFile() 658 out.writeInt(pkg.versionCode); in writeStateFile() 721 long versionCode; in consumeRestoreData() local [all …]
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | CompatChange.java | 162 OverrideAllowedState allowedState, @Nullable Long versionCode) { in addPackageOverride() argument 168 recheckOverride(packageName, allowedState, versionCode); in addPackageOverride() 185 @Nullable Long versionCode) { in recheckOverride() argument 191 if (versionCode == null || !mRawOverrides.containsKey(packageName) || !allowed) { in recheckOverride() 196 int overrideValue = mRawOverrides.get(packageName).evaluate(versionCode); in recheckOverride() 221 @Nullable Long versionCode) { in removePackageOverride() argument 225 recheckOverride(pname, allowedState, versionCode); in removePackageOverride()
|
D | CompatConfig.java | 282 Long versionCode = getVersionCodeOrNull(packageName); in addOverrideUnsafe() local 288 c.addPackageOverride(packageName, overrides, allowedState, versionCode); in addOverrideUnsafe() 358 Long versionCode = getVersionCodeOrNull(packageName); in removeOverrideUnsafe() local 361 return removeOverrideUnsafe(c, packageName, versionCode); in removeOverrideUnsafe() 371 @Nullable Long versionCode) { in removeOverrideUnsafe() argument 375 return change.removePackageOverride(packageName, allowedState, versionCode); in removeOverrideUnsafe() 418 Long versionCode = getVersionCodeOrNull(packageName); in removePackageOverrides() local 421 shouldInvalidateCache |= removeOverrideUnsafe(change, packageName, versionCode); in removePackageOverrides() 749 Long versionCode = getVersionCodeOrNull(packageName); in recheckOverrides() local 755 shouldInvalidateCache |= c.recheckOverride(packageName, allowedState, versionCode); in recheckOverrides()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | ApplicationInfoBuilder.java | 50 ApplicationInfoBuilder withVersionCode(Long versionCode) { in withVersionCode() argument 51 mVersionCode = versionCode; in withVersionCode()
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicsStatsService.java | 278 int uid, int pid, String packageName, long versionCode) throws RemoteException { in requestBufferForProcessLocked() argument 279 ActiveBuffer buffer = fetchActiveBuffersLocked(token, uid, pid, packageName, versionCode); in requestBufferForProcessLocked() 376 String packageName, long versionCode) throws RemoteException { in fetchActiveBuffersLocked() argument 394 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName, versionCode); in fetchActiveBuffersLocked() 473 long versionCode, long startTime, long endTime, byte[] data); in nAddToDump() argument 477 private static native void nSaveBuffer(String path, String packageName, long versionCode, in nSaveBuffer() argument 486 BufferInfo(String packageName, long versionCode, long startTime) { in BufferInfo() argument 488 this.mVersionCode = versionCode; in BufferInfo() 503 long versionCode) in ActiveBuffer() argument 505 mInfo = new BufferInfo(packageName, versionCode, System.currentTimeMillis()); in ActiveBuffer()
|
/frameworks/base/core/java/android/app/compat/ |
D | PackageOverride.java | 87 public @EvaluatedOverride int evaluate(long versionCode) { in evaluate() argument 88 if (versionCode >= mMinVersionCode && versionCode <= mMaxVersionCode) { in evaluate()
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.h | 47 static void saveBuffer(const std::string& path, const std::string& package, int64_t versionCode, 52 int64_t versionCode, int64_t startTime, int64_t endTime,
|
/frameworks/base/libs/hwui/jni/ |
D | GraphicsStatsService.cpp | 49 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) { in addToDump() argument 74 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data); in addToDump() 98 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) { in saveBuffer() argument 112 GraphicsStatsService::saveBuffer(path, package, versionCode, startTime, endTime, data); in saveBuffer()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DeletePackageHelper.java | 127 public int deletePackageX(String packageName, long versionCode, int userId, int deleteFlags, in deletePackageX() argument 160 if (versionCode != PackageManager.VERSION_CODE_HIGHEST in deletePackageX() 161 && uninstalledPs.getVersionCode() != versionCode) { in deletePackageX() 163 + uninstalledPs.getVersionCode() + " != " + versionCode); in deletePackageX() 658 final long versionCode = versionedPackage.getLongVersionCode(); in deletePackageVersionedInternal() local 686 snapshot.resolveInternalPackageName(packageName, versionCode); in deletePackageVersionedInternal() 736 + (versionCode == PackageManager.VERSION_CODE_HIGHEST in deletePackageVersionedInternal() 737 ? "VERSION_CODE_HIGHEST" : versionCode)); in deletePackageVersionedInternal() 755 returnCode = deletePackageX(internalPackageName, versionCode, in deletePackageVersionedInternal() 762 returnCode = deletePackageX(internalPackageName, versionCode, in deletePackageVersionedInternal() [all …]
|
D | PerPackageReadTimeouts.java | 100 final long versionCode = Long.parseLong(splits[0]); in parse() local 101 return new VersionCodes(versionCode, versionCode); in parse()
|
D | ShortcutPackageInfo.java | 82 private ShortcutPackageInfo(long versionCode, long lastUpdateTime, in ShortcutPackageInfo() argument 84 mVersionCode = versionCode; in ShortcutPackageInfo() 243 final long versionCode = ShortcutService.parseLongAttribute(parser, ATTR_VERSION, in loadFromXml() local 297 mBackupSourceVersionCode = versionCode; in loadFromXml() 300 mVersionCode = versionCode; in loadFromXml()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexMetadataHelperTest.java | 95 private File createDexMetadataFile(String apkFileName, String packageName, Long versionCode, in createDexMetadataFile() argument 112 if (versionCode != null) { in createDexMetadataFile() 116 if (versionCode != null) { in createDexMetadataFile() 117 manifestStr += " \"versionCode\": " + versionCode; in createDexMetadataFile() 145 long versionCode = pkg.getLongVersionCode(); in validatePackageDexMetadata() local 149 input.reset(), dexMetadata, packageName, versionCode, requireManifest); in validatePackageDexMetadata()
|
/frameworks/native/libs/binder/aidl/android/content/pm/ |
D | StagedApexInfo.aidl | 28 long versionCode;
|
/frameworks/base/tests/TouchLatency/app/ |
D | build.gradle | 11 versionCode 1
|