Searched refs:cacher (Results 1 – 4 of 4) sorted by relevance
155 private val cacher: PackageCacher<PackageType>? = null in <lambda>() constant in android.os.PackageParsingPerfTest.ParallelParser178 fun parse(file: File) = cacher?.getCachedResult(file) in <lambda>()179 ?: parseImpl(file).also { cacher?.cacheResult(file, it) } in <lambda>()184 class ParallelParser1(private val cacher: PackageCacher1? = null) : in <lambda>() constant in android.os.PackageParsingPerfTest.ParallelParser1185 ParallelParser<PackageParser.Package>(cacher) { in <lambda>()190 override fun parseImpl(file: File) = parser.parsePackage(file, 0, cacher != null) in <lambda>()193 class ParallelParser2(cacher: PackageCacher2? = null) : in <lambda>()194 ParallelParser<PackageImpl>(cacher) { in <lambda>()
77 @Nullable IPackageCacher cacher, @NonNull Callback callback) { in PackageParser2() argument97 mCacher = cacher; in PackageParser2()
129 final PackageCacher cacher = new PackageCacher(mPm.getCacheDir()); in removeCachedResult() local131 cacher.cleanCachedResult(codePath); in removeCachedResult()
3609 final PackageCacher cacher = new PackageCacher(mPm.getCacheDir(), in installPackagesFromDir() local3612 cacher.cleanCachedResult(file); in installPackagesFromDir()