Home
last modified time | relevance | path

Searched refs:ConvertCommand (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
DConvert.h27 class ConvertCommand : public Command {
29 explicit ConvertCommand() : Command("convert") { in ConvertCommand() function
DConvert_test.cpp52 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()
90 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()
119 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()
DConvert.cpp346 const char* ConvertCommand::kOutputFormatProto = "proto";
347 const char* ConvertCommand::kOutputFormatBinary = "binary";
349 int ConvertCommand::Action(const std::vector<std::string>& args) { in Action()
378 if (!output_format_ || output_format_.value() == ConvertCommand::kOutputFormatBinary) { in Action()
380 } else if (output_format_.value() == ConvertCommand::kOutputFormatProto) { in Action()
/frameworks/base/tools/aapt2/
DMain.cpp73 AddOptionalSubcommand(util::make_unique<ConvertCommand>()); in MainCommand()