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()
84 ApkFormat apkFormat = DetermineApkFormat(apk.get()); in LoadApkFromPath()
86 case ApkFormat::kBinary: in LoadApkFromPath()
88 case ApkFormat::kProto: in LoadApkFromPath()
[all …]
DLoadedApk.h36 enum ApkFormat { enum
61 const ApkFormat& format) in LoadedApk()
73 ApkFormat GetApkFormat() { in GetApkFormat()
123 ApkFormat format_;
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp264 ApkFormat output_format, TableFlattenerOptions table_flattener_options, in Convert()
267 if (output_format == ApkFormat::kBinary) { in Convert()
270 } else if (output_format == ApkFormat::kProto) { in Convert()
383 ApkFormat format; in Action()
385 format = ApkFormat::kBinary; in Action()
387 format = ApkFormat::kProto; in Action()
DConvert.h60 ApkFormat output_format,TableFlattenerOptions table_flattener_options,
DDump.cpp311 if (apk->GetApkFormat() == ApkFormat::kProto) { in Dump()
336 if (apk->GetApkFormat() == ApkFormat::kProto) { in Dump()
357 } else if (apk->GetApkFormat() == ApkFormat::kBinary) { in Dump()