Home
last modified time | relevance | path

Searched refs:packageParser (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DInitAppsHelper.java155 private List<ApexManager.ScanResult> scanApexPackagesTraced(PackageParser2 packageParser) { in scanApexPackagesTraced() argument
160 mSystemParseFlags, mSystemScanFlags, packageParser, mExecutorService); in scanApexPackagesTraced()
170 public OverlayConfig initSystemApps(PackageParser2 packageParser, in initSystemApps() argument
175 final List<ApexManager.ScanResult> apexScanResults = scanApexPackagesTraced(packageParser); in initSystemApps()
178 scanSystemDirs(packageParser, mExecutorService); in initSystemApps()
252 public void initNonSystemApps(PackageParser2 packageParser, @NonNull int[] userIds, in initNonSystemApps() argument
262 mScanFlags | SCAN_REQUIRE_KNOWN, packageParser, mExecutorService, null); in initNonSystemApps() local
317 private void scanSystemDirs(PackageParser2 packageParser, ExecutorService executorService) { in scanSystemDirs() argument
331 packageParser, executorService, partition.apexInfo); in scanSystemDirs() local
336 packageParser, executorService, null); in scanSystemDirs()
[all …]
DParallelPackageParser.java58 ParallelPackageParser(PackageParser2 packageParser, ExecutorService executorService) { in ParallelPackageParser() argument
59 mPackageParser = packageParser; in ParallelPackageParser()
DPackageSessionVerifier.java402 try (PackageParser2 packageParser = mPackageParserSupplier.get()) { in submitSessionToApexService() argument
404 parsedPackage = packageParser.parsePackage(apexFile, PARSE_APEX, false); in submitSessionToApexService()
DInstallingSession.java620 try (PackageParser2 packageParser = mPm.mInjector.getScanningPackageParser()) { in installApexPackages() argument
DInstallPackageHelper.java3515 int scanFlags, PackageParser2 packageParser, ExecutorService executorService) { in scanApexPackages() argument
3521 new ParallelPackageParser(packageParser, executorService); in scanApexPackages()
3584 int scanFlags, PackageParser2 packageParser, ExecutorService executorService, in installPackagesFromDir() argument
3597 new ParallelPackageParser(packageParser, executorService); in installPackagesFromDir()
DPackageManagerService.java2274 PackageParser2 packageParser = mInjector.getScanningCachingPackageParser(); in PackageManagerService()
2275 mOverlayConfig = mInitAppsHelper.initSystemApps(packageParser, packageSettings, userIds, in PackageManagerService()
2277 mInitAppsHelper.initNonSystemApps(packageParser, userIds, startTime); in PackageManagerService()
2278 packageParser.close(); in PackageManagerService()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DParallelPackageParserTest.java79 TestParallelPackageParser(PackageParser2 packageParser, ExecutorService executorService) { in TestParallelPackageParser() argument
80 super(packageParser, executorService); in TestParallelPackageParser()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt206 val packageParser: PackageParser2 = mock() constant in com.android.server.pm.Mocks
296 whenever(mocks.injector.scanningCachingPackageParser).thenReturn(mocks.packageParser) in stageNominalSystemState()
297 whenever(mocks.injector.scanningPackageParser).thenReturn(mocks.packageParser) in stageNominalSystemState()
542 whenever(mocks.packageParser.parsePackage( in stageParse()
544 whenever(mocks.packageParser.parsePackage( in stageParse()
DPackageManagerServiceBootTest.kt120 whenever(rule.mocks().packageParser.parsePackage( in <lambda>()