Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/integrity/
DCompoundFormulaTest.java129 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(1).build(); in testFormulaMatches_trueAndTrue_true()
143 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(2).build(); in testFormulaMatches_trueAndFalse_false()
156 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(1).build(); in testFormulaMatches_falseAndTrue_false()
169 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(2).build(); in testFormulaMatches_falseAndFalse_false()
182 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(1).build(); in testFormulaMatches_trueOrTrue_true()
195 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(2).build(); in testFormulaMatches_trueOrFalse_true()
208 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(1).build(); in testFormulaMatches_falseOrTrue_true()
221 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(2).build(); in testFormulaMatches_falseOrFalse_false()
292 .setVersionCode(-1) in getAppInstallMetadataBuilder()
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()
DInstallerAllowedByManifestFormulaTest.java120 .setVersionCode(-1) in getAppInstallMetadataBuilder()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DIntegrityFileManagerTest.java145 .setVersionCode(version) in testGetRules()
186 .setVersionCode(250) in testGetRules_indexedForManyRules()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DParsedPackage.java110 ParsedPackage setVersionCode(int versionCode); in setVersionCode() method
DPackageImpl.java445 public ParsedPackage setVersionCode(int versionCode) { in setVersionCode() method in PackageImpl
/frameworks/base/core/java/android/content/integrity/
DAppInstallMetadata.java225 public Builder setVersionCode(long versionCode) { in setVersionCode() method in AppInstallMetadata.Builder
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DScanTests.java233 .setVersionCode(234) in installStaticSharedLibrary()
265 .setVersionCode(234) in installDynamicLibraries()
514 .setVersionCode(2345);
DPackageParserTest.java646 .setVersionCode(100) in setKnownFields()
DBaseShortcutManagerTest.java1081 pi.applicationInfo.setVersionCode(version); in genPackage()
1103 pi.applicationInfo.setVersionCode(pi.applicationInfo.longVersionCode + increment); in updatePackageVersion()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluationEngineTest.java188 .setVersionCode(-1) in getAppInstallMetadataBuilder()
DRuleEvaluatorTest.java52 .setVersionCode(2)
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1662 setVersionCode(orig.longVersionCode); in ApplicationInfo()
1827 setVersionCode(source.readLong()); in ApplicationInfo()
2026 public void setVersionCode(long newVersionCode) { in setVersionCode() method in ApplicationInfo
DPackageParser.java1846 pkg.applicationInfo.setVersionCode(pkg.getLongVersionCode()); in parseBaseApk()
/frameworks/base/tools/aapt/
DMain.cpp582 bundle.setVersionCode(argv[0]); in main()
DBundle.h193 void setVersionCode(const char* val) { mVersionCode = val; } in setVersionCode() function
DResource.cpp875 bundle->setVersionCode(strdup(String8(attr->string).string())); in massageManifest()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java309 builder.setVersionCode(intent.getLongExtra(EXTRA_LONG_VERSION_CODE, -1)); in handleIntegrityVerification()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java210 p.applicationInfo.setVersionCode(versionCode); in createPackageInfo()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageImpl.java935 appInfo.setVersionCode(PackageInfo.composeLongVersionCode(versionCodeMajor, versionCode));
/frameworks/base/config/
Dboot-profile.txt506 Landroid/content/pm/ApplicationInfo;->setVersionCode(J)V
Dboot-image-profile.txt5500 HSPLandroid/content/pm/ApplicationInfo;->setVersionCode(J)V
/frameworks/base/services/
Dart-profile27178 HSPLcom/android/server/pm/parsing/pkg/PackageImpl;->setVersionCode(I)Lcom/android/server/pm/parsing…