/frameworks/native/cmds/lshal/ |
main.cpp | 17 #include "Lshal.h" 20 using namespace ::android::lshal; 21 return Lshal{}.main(Arg{argc, argv});
|
Command.h | 23 namespace lshal { namespace in namespace:android 25 class Lshal; 30 Command(Lshal& lshal) : mLshal(lshal) {} 32 // Expect optind to be set by Lshal::main and points to the next argument 45 Lshal& mLshal; 49 } // namespace lshal
|
DebugCommand.h | 28 namespace lshal { namespace in namespace:android 30 class Lshal; 34 DebugCommand(Lshal &lshal) : Command(lshal) {} 54 } // namespace lshal
|
HelpCommand.h | 28 namespace lshal { namespace in namespace:android 30 class Lshal; 34 HelpCommand(Lshal &lshal) : Command(lshal) {} 45 } // namespace lshal
|
Lshal.h | 33 namespace lshal { namespace in namespace:android 35 class Lshal { 37 Lshal(); 38 virtual ~Lshal() {} 39 Lshal(std::ostream &out, std::ostream &err, 74 DISALLOW_COPY_AND_ASSIGN(Lshal); 77 } // namespace lshal
|
Lshal.cpp | 17 #define LOG_TAG "lshal" 20 #include "Lshal.h" 33 namespace lshal { namespace in namespace:android 37 Lshal::Lshal() 38 : Lshal(std::cout, std::cerr, ::android::hardware::defaultServiceManager(), 42 Lshal::Lshal(std::ostream &out, std::ostream &err, 54 void Lshal::forEachCommand(const std::function<void(const Command* c)>& f) const { 58 void Lshal::usage() [all...] |
ListCommand.h | 38 namespace lshal { namespace in namespace:android 40 class Lshal; 50 ListCommand(Lshal &lshal) : Command(lshal) {} 164 } // namespace lshal
|
test.cpp | 17 #define LOG_TAG "Lshal" 32 #include "Lshal.h" 85 namespace lshal { namespace in namespace:android 133 lshal = std::make_unique<Lshal>(out, err, serviceManager, serviceManager); 141 std::unique_ptr<Lshal> lshal; member in class:android::lshal::DebugTest 149 static Status callMain(const std::unique_ptr<T>& lshal, const std::vector<const char*>& args) { 150 return lshal->main(createArg(args)); 154 EXPECT_EQ(0u, callMain(lshal, { 377 std::unique_ptr<Lshal> lshal; member in class:android::lshal::ListTest 606 std::unique_ptr<Lshal> lshal; member in class:android::lshal::HelpTest [all...] |