Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/content/integrity/
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()
316 .setVersionCode(-1) in getAppInstallMetadataBuilder()
DAtomicFormulaTest.java429 getAppInstallMetadataBuilder().setVersionCode(0).build(); in testFormulaMatches_long_eq_true()
440 getAppInstallMetadataBuilder().setVersionCode(1).build(); in testFormulaMatches_long_eq_false()
451 getAppInstallMetadataBuilder().setVersionCode(1).build(); in testFormulaMatches_long_gt_true()
462 getAppInstallMetadataBuilder().setVersionCode(0).build(); in testFormulaMatches_long_gt_false()
474 getAppInstallMetadataBuilder().setVersionCode(1).build(); in testFormulaMatches_long_gte_true()
478 getAppInstallMetadataBuilder().setVersionCode(2).build(); in testFormulaMatches_long_gte_true()
488 getAppInstallMetadataBuilder().setVersionCode(0).build(); in testFormulaMatches_long_gte_false()
572 .setVersionCode(-1) in getAppInstallMetadataBuilder()
DInstallerAllowedByManifestFormulaTest.java121 .setVersionCode(-1) in getAppInstallMetadataBuilder()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DIntegrityFileManagerTest.java146 .setVersionCode(version) in testGetRules()
189 .setVersionCode(250) in testGetRules_indexedForManyRules()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DParsedPackage.java120 ParsedPackage setVersionCode(int versionCode); in setVersionCode() method
DPackageImpl.java2665 appInfo.setVersionCode(mLongVersionCode);
3085 public PackageImpl setVersionCode(int versionCode) {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DScanTests.java250 .setVersionCode(678) in installSdkLibrary()
281 .setVersionCode(234) in installStaticSharedLibrary()
313 .setVersionCode(234) in installDynamicLibraries()
383 .setVersionCode(2345) in scanFirstBoot_apexDontDeriveAbis()
607 .setVersionCode(2345);
DPackageParserTest.java1255 .setVersionCode(100) in setKnownFields()
/frameworks/base/core/java/android/content/integrity/
DAppInstallMetadata.java258 public Builder setVersionCode(long versionCode) { in setVersionCode() method in AppInstallMetadata.Builder
/frameworks/base/core/java/android/content/pm/
DArchivedPackageInfo.java262 public @NonNull ArchivedPackageInfo setVersionCode( int value) { in setVersionCode() method in ArchivedPackageInfo
DApplicationInfo.java1989 setVersionCode(orig.longVersionCode); in ApplicationInfo()
2186 setVersionCode(source.readLong()); in ApplicationInfo()
2462 public void setVersionCode(long newVersionCode) { in setVersionCode() method in ApplicationInfo
DPackageParser.java1893 pkg.applicationInfo.setVersionCode(pkg.getLongVersionCode()); in parseBaseApk()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluationEngineTest.java189 .setVersionCode(-1) in getAppInstallMetadataBuilder()
DRuleEvaluatorTest.java53 .setVersionCode(2)
/frameworks/base/tools/aapt/
DBundle.h193 void setVersionCode(const char* val) { mVersionCode = val; } in setVersionCode() function
DMain.cpp582 bundle.setVersionCode(argv[0]); in main()
DResource.cpp878 bundle->setVersionCode(strdup(String8(attr->string).c_str())); in massageManifest()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java388 ParsingPackage setVersionCode(int vesionCode); in setVersionCode() method
DParsingPackageUtils.java467 pkg.setVersionCode(lite.getVersionCode()); in parsePackageFromPackageLite()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java320 builder.setVersionCode(intent.getLongExtra(EXTRA_LONG_VERSION_CODE, -1)); in handleIntegrityVerification()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1185 pi.applicationInfo.setVersionCode(version); in genPackage()
1207 pi.applicationInfo.setVersionCode(pi.applicationInfo.longVersionCode + increment); in updatePackageVersion()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java228 p.applicationInfo.setVersionCode(versionCode); in createPackageInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DInstallPackageHelper.java267 parsedPackage.setVersionCode(mPm.getSdkVersion()) in commitReconciledScanResultLocked()
DComputerEngine.java1557 ai.setVersionCode(ps.getVersionCode()); in generatePackageInfo()
/frameworks/base/config/
Dboot-profile.txt506 Landroid/content/pm/ApplicationInfo;->setVersionCode(J)V

12