Lines Matching refs:apk

257 int Convert(IAaptContext* context, LoadedApk* apk, IArchiveWriter* output_writer,  in Convert()  argument
262 serializer.reset(new BinaryApkSerializer(context, apk->GetSource(), table_flattener_options, in Convert()
265 serializer.reset(new ProtoApkSerializer(context, apk->GetSource())); in Convert()
267 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
272 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
273 if (!serializer->SerializeXml(apk->GetManifest(), kAndroidManifestPath, true /*utf16*/, in Convert()
276 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
281 if (apk->GetResourceTable() != nullptr) { in Convert()
283 auto converted_table = apk->GetResourceTable(); in Convert()
295 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
303 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
316 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
323 std::unique_ptr<io::IFileCollectionIterator> iterator = apk->GetFileCollection()->Iterator(); in Convert()
337 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
358 unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(path, context.GetDiagnostics()); in Action() local
359 if (apk == nullptr) { in Action()
364 Maybe<AppInfo> app_info = ExtractAppInfoFromBinaryManifest(*apk->GetManifest(), in Action()
388 return Convert(&context, apk.get(), writer.get(), format, table_flattener_options_, in Action()