Home
last modified time | relevance | path

Searched refs:setVersionCode (Results 1 – 25 of 29) sorted by relevance

12

/aosp12/frameworks/base/core/tests/coretests/src/android/content/integrity/
H A DCompoundFormulaTest.java130 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(1).build(); in testFormulaMatches_trueAndTrue_true()
144 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(2).build(); in testFormulaMatches_trueAndFalse_false()
157 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(1).build(); in testFormulaMatches_falseAndTrue_false()
170 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(2).build(); in testFormulaMatches_falseAndFalse_false()
183 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(1).build(); in testFormulaMatches_trueOrTrue_true()
196 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(2).build(); in testFormulaMatches_trueOrFalse_true()
209 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(1).build(); in testFormulaMatches_falseOrTrue_true()
222 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(2).build(); in testFormulaMatches_falseOrFalse_false()
293 .setVersionCode(-1) in getAppInstallMetadataBuilder()
H A DAtomicFormulaTest.java371 getAppInstallMetadataBuilder().setVersionCode(0).build(); in testFormulaMatches_long_eq_true()
382 getAppInstallMetadataBuilder().setVersionCode(1).build(); in testFormulaMatches_long_eq_false()
393 getAppInstallMetadataBuilder().setVersionCode(1).build(); in testFormulaMatches_long_gt_true()
404 getAppInstallMetadataBuilder().setVersionCode(0).build(); in testFormulaMatches_long_gt_false()
416 getAppInstallMetadataBuilder().setVersionCode(1).build(); in testFormulaMatches_long_gte_true()
420 getAppInstallMetadataBuilder().setVersionCode(2).build(); in testFormulaMatches_long_gte_true()
430 getAppInstallMetadataBuilder().setVersionCode(0).build(); in testFormulaMatches_long_gte_false()
496 .setVersionCode(-1) in getAppInstallMetadataBuilder()
H A DInstallerAllowedByManifestFormulaTest.java120 .setVersionCode(-1) in getAppInstallMetadataBuilder()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
H A DIntegrityFileManagerTest.java145 .setVersionCode(version) in testGetRules()
186 .setVersionCode(250) in testGetRules_indexedForManyRules()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
H A DParsedPackage.java113 ParsedPackage setVersionCode(int versionCode); in setVersionCode() method
H A DPackageImpl.java504 public ParsedPackage setVersionCode(int versionCode) { in setVersionCode() method in PackageImpl
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DScanTests.java243 .setVersionCode(234) in installStaticSharedLibrary()
275 .setVersionCode(234) in installDynamicLibraries()
528 .setVersionCode(2345);
H A DPackageParserTest.java901 .setVersionCode(100) in setKnownFields()
H A DBaseShortcutManagerTest.java1413 pi.applicationInfo.setVersionCode(version); in genPackage()
1435 pi.applicationInfo.setVersionCode(pi.applicationInfo.longVersionCode + increment); in updatePackageVersion()
/aosp12/system/apex/apexd/apex-info-list-api/
H A Dcurrent.txt20 method public void setVersionCode(long);
H A Dlast_current.txt20 method public void setVersionCode(long);
/aosp12/frameworks/base/core/java/android/content/integrity/
H A DAppInstallMetadata.java225 public Builder setVersionCode(long versionCode) { in setVersionCode() method in AppInstallMetadata.Builder
/aosp12/art/odrefresh/schema/
H A Dcurrent.txt10 method public void setVersionCode(long);
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
H A DRuleEvaluationEngineTest.java188 .setVersionCode(-1) in getAppInstallMetadataBuilder()
H A DRuleEvaluatorTest.java52 .setVersionCode(2)
/aosp12/frameworks/base/core/java/android/content/pm/
H A DApplicationInfo.java1842 setVersionCode(orig.longVersionCode); in ApplicationInfo()
2019 setVersionCode(source.readLong()); in ApplicationInfo()
2276 public void setVersionCode(long newVersionCode) { in setVersionCode() method in ApplicationInfo
H A DPackageParser.java1863 pkg.applicationInfo.setVersionCode(pkg.getLongVersionCode()); in parseBaseApk()
/aosp12/frameworks/base/tools/aapt/
H A DBundle.h193 void setVersionCode(const char* val) { mVersionCode = val; } in setVersionCode() function
H A DMain.cpp582 bundle.setVersionCode(argv[0]); in main()
H A DResource.cpp875 bundle->setVersionCode(strdup(String8(attr->string).string())); in massageManifest()
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/
H A DAppIntegrityManagerServiceImpl.java314 builder.setVersionCode(intent.getLongExtra(EXTRA_LONG_VERSION_CODE, -1)); in handleIntegrityVerification()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
H A DWebViewUpdateServiceTest.java204 p.applicationInfo.setVersionCode(versionCode); in createPackageInfo()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/
H A DParsingPackageImpl.java1102 appInfo.setVersionCode(mLongVersionCode);
/aosp12/frameworks/base/config/
H A Dboot-profile.txt506 Landroid/content/pm/ApplicationInfo;->setVersionCode(J)V
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java3381 ai.setVersionCode(ps.versionCode); in generatePackageInfo()
14085 parsedPackage.setVersionCode(mSdkVersion)

12