/system/weaved/libweaved/ |
D | command.cc | 55 Command::Command(const android::sp<android::weave::IWeaveCommand>& proxy) in Command() function in weaved::Command 58 Command::~Command() {} in ~Command() 60 std::string Command::GetID() const { in GetID() 68 std::string Command::GetName() const { in GetName() 76 std::string Command::GetComponent() const { in GetComponent() 84 Command::State Command::GetState() const { in GetState() 90 return Command::State::kQueued; in GetState() 92 return Command::State::kInProgress; in GetState() 94 return Command::State::kPaused; in GetState() 96 return Command::State::kError; in GetState() [all …]
|
D | command.h | 37 class LIBWEAVED_EXPORT Command final { 52 ~Command(); 64 Command::State GetState() const; 67 Command::Origin GetOrigin() const; 140 explicit Command(const android::sp<android::weave::IWeaveCommand>& proxy); 147 DISALLOW_COPY_AND_ASSIGN(Command);
|
/system/extras/simpleperf/ |
D | cmd_help.cpp | 25 class HelpCommand : public Command { 28 : Command("help", "print help information for simpleperf", in HelpCommand() 38 void PrintLongHelpForOneCommand(const Command& cmd); 45 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); in Run() 67 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); in PrintShortHelp() 72 void HelpCommand::PrintLongHelpForOneCommand(const Command& command) { in PrintLongHelpForOneCommand() 77 RegisterCommand("help", [] { return std::unique_ptr<Command>(new HelpCommand); }); in RegisterHelpCommand()
|
D | command.h | 27 class Command { 29 Command(const std::string& name, const std::string& short_help_string, in Command() function 34 virtual ~Command() { in ~Command() 60 DISALLOW_COPY_AND_ASSIGN(Command); 64 std::function<std::unique_ptr<Command>(void)> callback); 66 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
|
D | command_test.cpp | 21 class MockCommand : public Command { 23 MockCommand() : Command("mock", "mock_short_help", "mock_long_help") { in MockCommand() 33 RegisterCommand("mock1", [] { return std::unique_ptr<Command>(new MockCommand); }); in TEST() 41 RegisterCommand("mock1", [] { return std::unique_ptr<Command>(new MockCommand); }); in TEST()
|
D | command.cpp | 26 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { in NextArgumentOrError() 36 void Command::ReportUnknownOption(const std::vector<std::string>& args, size_t i) { in ReportUnknownOption() 41 typedef std::function<std::unique_ptr<Command>(void)> callback_t; 51 std::function<std::unique_ptr<Command>(void)> callback) { in RegisterCommand() 59 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) { in CreateCommandInstance()
|
D | cmd_list.cpp | 47 class ListCommand : public Command { 50 : Command("list", "list available event types", in ListCommand() 96 RegisterCommand("list", [] { return std::unique_ptr<Command>(new ListCommand); }); in RegisterListCommand()
|
D | cmd_dumprecord_test.cpp | 22 static std::unique_ptr<Command> DumpCmd() { in DumpCmd()
|
D | cmd_dumprecord.cpp | 36 class DumpRecordCommand : public Command { 39 : Command("dump", "dump perf record file", in DumpRecordCommand() 214 RegisterCommand("dump", [] { return std::unique_ptr<Command>(new DumpRecordCommand); }); in RegisterDumpRecordCommand()
|
D | cmd_list_test.cpp | 28 std::unique_ptr<Command> list_cmd;
|
D | main.cpp | 55 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); in main()
|
D | cmd_stat.cpp | 52 class StatCommand : public Command { 55 : Command("stat", "gather performance counter information", in StatCommand() 419 RegisterCommand("stat", [] { return std::unique_ptr<Command>(new StatCommand); }); in RegisterStatCommand()
|
/system/weaved/buffet/ |
D | binder_command_proxy_unittest.cc | 70 .WillRepeatedly(Return(weave::Command::State::kQueued)); in SetUp() 72 .WillRepeatedly(Return(weave::Command::Origin::kLocal)); in SetUp() 81 new BinderCommandProxy{std::weak_ptr<weave::Command>{command_}}); in SetUp() 86 weave::Command::State GetCommandState() const { in GetCommandState() 87 weave::Command::State state; in GetCommandState() 94 weave::Command::Origin GetCommandOrigin() const { in GetCommandOrigin() 95 weave::Command::Origin origin; in GetCommandOrigin() 111 EXPECT_EQ(weave::Command::State::kQueued, GetCommandState()); in TEST_F() 112 EXPECT_EQ(weave::Command::Origin::kLocal, GetCommandOrigin()); in TEST_F()
|
D | binder_weave_service.h | 29 class Command; variable 60 const std::weak_ptr<weave::Command>& command);
|
D | binder_command_proxy.h | 32 explicit BinderCommandProxy(const std::weak_ptr<weave::Command>& command); 55 std::weak_ptr<weave::Command> command_;
|
/system/core/init/ |
D | action.h | 29 class Command { 31 Command(BuiltinFunction f, const std::vector<std::string>& args, 74 void ExecuteCommand(const Command& command) const; 81 std::vector<Command> commands_;
|
D | action.cpp | 34 Command::Command(BuiltinFunction f, const std::vector<std::string>& args, in Command() function in Command 39 int Command::InvokeFunc() const { in InvokeFunc() 53 std::string Command::BuildCommandString() const { in BuildCommandString() 57 std::string Command::BuildSourceString() const { in BuildSourceString() 117 void Action::ExecuteCommand(const Command& command) const { in ExecuteCommand()
|
/system/update_engine/ |
D | weave_service.h | 55 void OnCheckForUpdates(std::unique_ptr<weaved::Command> cmd); 56 void OnTrackChannel(std::unique_ptr<weaved::Command> cmd);
|
D | weave_service.cc | 114 void WeaveService::OnCheckForUpdates(std::unique_ptr<weaved::Command> command) { in OnCheckForUpdates() 123 void WeaveService::OnTrackChannel(std::unique_ptr<weaved::Command> command) { in OnTrackChannel()
|
/system/tpm/trunks/generator/ |
D | raw_commands_fixed.txt | 113 Command Processing ................................................................................… 127 Command Header Validation .........................................................................… 134 Command Post Processing ...........................................................................… 388 Command Audit .....................................................................................… 598 Table 1 — Command Modifiers and Decoration ........................................................… 601 Table 4 — Command-Independent Response Codes ......................................................… 602 Table 5 — TPM2_Startup Command ....................................................................… 604 Table 7 — TPM2_Shutdown Command ...................................................................… 606 Table 9 — TPM2_SelfTest Command ...................................................................… 608 Table 11 — TPM2_IncrementalSelfTest Command .......................................................… [all …]
|
D | raw_commands.txt | 113 Command Processing ................................................................................… 127 Command Header Validation .........................................................................… 134 Command Post Processing ...........................................................................… 388 Command Audit .....................................................................................… 598 Table 1 — Command Modifiers and Decoration ........................................................… 601 Table 4 — Command-Independent Response Codes ......................................................… 602 Table 5 — TPM2_Startup Command ....................................................................… 604 Table 7 — TPM2_Shutdown Command ...................................................................… 606 Table 9 — TPM2_SelfTest Command ...................................................................… 608 Table 11 — TPM2_IncrementalSelfTest Command .......................................................… [all …]
|
/system/core/metricsd/ |
D | metrics_collector.h | 116 void OnEnableMetrics(std::unique_ptr<weaved::Command> command); 119 void OnDisableMetrics(std::unique_ptr<weaved::Command> command);
|
/system/connectivity/shill/cellular/ |
D | mock_mm1_modem_proxy.cc | 41 ON_CALL(*this, Command(_, _, _, _, _)) in MockModemProxy()
|
D | mock_mm1_modem_proxy.h | 70 MOCK_METHOD5(Command, void(const std::string& cmd,
|
D | mm1_modem_proxy_interface.h | 73 virtual void Command(const std::string& cmd,
|