Lines Matching refs:apk
125 int Run(std::unique_ptr<LoadedApk> apk) { in Run() argument
131 if (!filter.Consume(context_, apk->GetResourceTable())) { in Run()
138 if (!collapser.Consume(context_, apk->GetResourceTable())) { in Run()
143 if (!deduper.Consume(context_, apk->GetResourceTable())) { in Run()
150 if (!shortener.Consume(context_, apk->GetResourceTable())) { in Run()
174 splitter.SplitTable(apk->GetResourceTable()); in Run()
203 MultiApkGenerator generator{apk.get(), context_}; in Run()
215 if (!apk->WriteToArchive(context_, options_.table_flattener_options, writer.get())) { in Run()
357 bool ExtractAppDataFromManifest(OptimizeContext* context, const LoadedApk* apk, in ExtractAppDataFromManifest() argument
359 const xml::XmlResource* manifest = apk->GetManifest(); in ExtractAppDataFromManifest()
429 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, context.GetDiagnostics()); in Action() local
430 if (!apk) { in Action()
480 if (!ExtractAppDataFromManifest(&context, apk.get(), &options_)) { in Action()
485 return cmd.Run(std::move(apk)); in Action()