Home
last modified time | relevance | path

Searched refs:ApkFormat (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/
DLoadedApk.cpp38 static ApkFormat DetermineApkFormat(io::IFileCollection* apk) { in DetermineApkFormat()
40 return ApkFormat::kBinary; in DetermineApkFormat()
42 return ApkFormat::kProto; in DetermineApkFormat()
47 return ApkFormat::kUnknown; in DetermineApkFormat()
56 return ApkFormat::kProto; in DetermineApkFormat()
67 return ApkFormat::kBinary; in DetermineApkFormat()
71 return ApkFormat::kUnknown; in DetermineApkFormat()
85 ApkFormat apkFormat = DetermineApkFormat(apk.get()); in LoadApkFromPath()
87 case ApkFormat::kBinary: in LoadApkFromPath()
89 case ApkFormat::kProto: in LoadApkFromPath()
[all …]
DLoadedApk.h36 enum ApkFormat { enum
61 const ApkFormat& format) in LoadedApk()
73 ApkFormat GetApkFormat() { in GetApkFormat()
124 ApkFormat format_;
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp270 ApkFormat output_format, TableFlattenerOptions table_flattener_options, in Convert()
273 if (output_format == ApkFormat::kBinary) { in Convert()
276 } else if (output_format == ApkFormat::kProto) { in Convert()
411 ApkFormat format; in Action()
413 format = ApkFormat::kBinary; in Action()
415 format = ApkFormat::kProto; in Action()
DConvert.h97 ApkFormat output_format,TableFlattenerOptions table_flattener_options,
DDump.cpp310 if (apk->GetApkFormat() == ApkFormat::kProto) { in Dump()
335 if (apk->GetApkFormat() == ApkFormat::kProto) { in Dump()
356 } else if (apk->GetApkFormat() == ApkFormat::kBinary) { in Dump()