/system/connectivity/wifilogd/tests/ |
D | protocol_unittest.cpp | 74 using protocol::Command; in TEST() 75 ASSERT_TRUE(std::is_standard_layout<Command>::value); in TEST() 77 EXPECT_EQ(0U, offsetof(Command, src_boottime_nsec)); in TEST() 78 EXPECT_EQ(8U, sizeof(Command::src_boottime_nsec)); in TEST() 80 EXPECT_EQ(8U, offsetof(Command, sequence_num)); in TEST() 81 EXPECT_EQ(2U, sizeof(Command::sequence_num)); in TEST() 83 EXPECT_EQ(10U, offsetof(Command, opcode)); in TEST() 84 EXPECT_EQ(2U, sizeof(Command::opcode)); in TEST() 86 EXPECT_EQ(12U, offsetof(Command, payload_len)); in TEST() 87 EXPECT_EQ(2U, sizeof(Command::payload_len)); in TEST() [all …]
|
D | command_processor_unittest.cpp | 63 sizeof(protocol::Command) - 107 protocol::Command() in BuildAsciiMessageCommandWithAdjustments() 111 GetMaxVal<decltype(protocol::Command::payload_len)>())); in BuildAsciiMessageCommandWithAdjustments() 146 const auto command = protocol::Command() in SendDumpBuffers() 175 command_buffer.data(), sizeof(protocol::Command) - 1, Os::kInvalidFd)); in TEST_F() 219 using opcode_enum_t = decltype(protocol::Command::opcode); in TEST_F() 224 protocol::Command() in TEST_F()
|
/system/bt/gd/security/ |
D | smp_packets.pdl | 22 packet Command { 55 packet PairingRequest : Command (code = PAIRING_REQUEST) { 59 packet PairingResponse : Command (code = PAIRING_RESPONSE) { 63 packet PairingConfirm : Command (code = PAIRING_CONFIRM) { 67 packet PairingRandom : Command (code = PAIRING_RANDOM) { 88 packet PairingFailed : Command (code = PAIRING_FAILED) { 92 packet EncryptionInformation : Command (code = ENCRYPTION_INFORMATION) { 96 packet MasterIdentification : Command (code = MASTER_IDENTIFICATION) { 101 packet IdentityInformation : Command (code = IDENTITY_INFORMATION) { 110 packet IdentityAddressInformation : Command (code = IDENTITY_ADDRESS_INFORMATION) { [all …]
|
/system/extras/simpleperf/ |
D | cmd_help.cpp | 27 class HelpCommand : public Command { 30 : Command("help", "print help information for simpleperf", in HelpCommand() 42 void PrintLongHelpForOneCommand(const Command& cmd); 49 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); in Run() 80 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); in PrintShortHelp() 85 void HelpCommand::PrintLongHelpForOneCommand(const Command& command) { in PrintLongHelpForOneCommand() 93 [] { return std::unique_ptr<Command>(new HelpCommand); }); in RegisterHelpCommand()
|
D | cmd_api.cpp | 43 class PrepareCommand : public Command { 46 : Command("api-prepare", "Prepare recording via app api", in PrepareCommand() 66 class CollectCommand : public Command { 69 : Command("api-collect", "Collect recording data generated by app api", in CollectCommand() 226 []{ return std::unique_ptr<Command>(new PrepareCommand()); }); in RegisterAPICommands() 228 []{ return std::unique_ptr<Command>(new CollectCommand()); }); in RegisterAPICommands()
|
D | command.cpp | 34 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { in NextArgumentOrError() 44 bool Command::PreprocessOptions(const std::vector<std::string>& args, in PreprocessOptions() 127 bool Command::GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value, in GetDoubleOption() 139 void Command::ReportUnknownOption(const std::vector<std::string>& args, size_t i) { in ReportUnknownOption() 144 typedef std::function<std::unique_ptr<Command>(void)> callback_t; 154 const std::function<std::unique_ptr<Command>(void)>& callback) { in RegisterCommand() 162 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) { in CreateCommandInstance() 268 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); in RunSimpleperfCmd()
|
D | command.h | 141 class Command { 143 Command(const std::string& name, const std::string& short_help_string, in Command() function 148 virtual ~Command() { in ~Command() 197 DISALLOW_COPY_AND_ASSIGN(Command); 201 const std::function<std::unique_ptr<Command>(void)>& callback); 203 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
|
D | command_test.cpp | 23 class MockCommand : public Command { 25 MockCommand() : Command("mock", "mock_short_help", "mock_long_help") { in MockCommand() 35 RegisterCommand("mock1", [] { return std::unique_ptr<Command>(new MockCommand); }); in TEST() 43 RegisterCommand("mock1", [] { return std::unique_ptr<Command>(new MockCommand); }); in TEST()
|
D | cmd_list.cpp | 125 class ListCommand : public Command { 128 : Command("list", "list available event types", in ListCommand() 228 RegisterCommand("list", [] { return std::unique_ptr<Command>(new ListCommand); }); in RegisterListCommand()
|
D | cmd_list_test.cpp | 31 std::unique_ptr<Command> list_cmd;
|
D | cmd_trace_sched_test.cpp | 42 static std::unique_ptr<Command> TraceSchedCmd() { in TraceSchedCmd()
|
/system/teeui/libteeui/src/ |
D | generic_messages.cpp | 29 std::tuple<ReadStream, Command> readCommand(ReadStream in) { in readCommand() 30 return readCmd<Command>(in); in readCommand() 33 Command peakCommand(ReadStream in) { in peakCommand()
|
/system/netd/netutils_wrappers/ |
D | NetUtilsWrapperTest-1.0.cpp | 30 struct Command { struct 35 std::vector<Command> COMMANDS = { argument 61 for (const Command& cmd : COMMANDS) { in TEST()
|
/system/connectivity/wifilogd/ |
D | protocol.h | 53 struct Command { struct 54 Command& set_opcode(Opcode new_opcode) { in set_opcode() argument 59 Command& set_payload_len(uint16_t new_payload_len) { in set_payload_len() argument
|
D | command_processor.cpp | 137 if (n_bytes_read < sizeof(protocol::Command)) { in ProcessCommand() 143 CopyFromBufferOrDie<protocol::Command>(input_buffer, n_bytes_read); in ProcessCommand() 217 buffer_reader.CopyOutOrDie<protocol::Command>(); in Dump()
|
/system/core/init/ |
D | action.h | 36 class Command { 38 Command(BuiltinFunction f, bool execute_in_subcontext, std::vector<std::string>&& args, 84 void ExecuteCommand(const Command& command) const; 90 std::vector<Command> commands_;
|
D | action.cpp | 48 Command::Command(BuiltinFunction f, bool execute_in_subcontext, std::vector<std::string>&& args, in Command() function in android::init::Command 55 Result<void> Command::InvokeFunc(Subcontext* subcontext) const { in InvokeFunc() 71 Result<void> Command::CheckCommand() const { in CheckCommand() 95 std::string Command::BuildCommandString() const { in BuildCommandString() 149 Command cmd = commands_[command]; in ExecuteOneCommand() 159 void Action::ExecuteCommand(const Command& command) const { in ExecuteCommand()
|
/system/teeui/libteeui/include/teeui/ |
D | generic_messages.h | 31 enum class Command : uint32_t { enum 46 #define DECLARE_GENERIC_COMMAND(cmd) using Cmd##cmd = Cmd<kProtoGeneric, Command, Command::cmd> 107 std::tuple<ReadStream, Command> readCommand(ReadStream in); 108 Command peakCommand(ReadStream in);
|
D | generic_operation.h | 201 case Command::PromptUserConfirmation: in dispatchCommandMessage() 203 case Command::FetchConfirmationResult: in dispatchCommandMessage() 205 case Command::DeliverTestCommand: in dispatchCommandMessage() 207 case Command::Abort: in dispatchCommandMessage()
|
/system/core/adb/daemon/ |
D | shell_service.h | 51 using Command = int(std::string_view args, borrowed_fd in, borrowed_fd out, borrowed_fd err); variable 52 unique_fd StartCommandInProcess(std::string name, Command command, SubprocessProtocol protocol);
|
/system/nvram/messages/include/nvram/messages/ |
D | nvram_messages.h | 30 enum Command { enum 143 Command, 162 Command,
|
/system/bt/gd/hci/ |
D | le_address_manager.cc | 202 Command command = {CommandType::ROTATE_RANDOM_ADDRESS, nullptr}; in prepare_to_rotate() 326 Command command = {CommandType::ADD_DEVICE_TO_CONNECT_LIST, std::move(packet_builder)}; in AddDeviceToConnectList() 338 Command command = {CommandType::ADD_DEVICE_TO_RESOLVING_LIST, std::move(packet_builder)}; in AddDeviceToResolvingList() 346 Command command = {CommandType::REMOVE_DEVICE_FROM_CONNECT_LIST, std::move(packet_builder)}; in RemoveDeviceFromConnectList() 355 Command command = {CommandType::REMOVE_DEVICE_FROM_RESOLVING_LIST, std::move(packet_builder)}; in RemoveDeviceFromResolvingList() 362 Command command = {CommandType::CLEAR_CONNECT_LIST, std::move(packet_builder)}; in ClearConnectList() 369 Command command = {CommandType::CLEAR_RESOLVING_LIST, std::move(packet_builder)}; in ClearResolvingList()
|
/system/sepolicy/build/soong/ |
D | selinux_contexts.go | 283 rule.Command(). 295 rule.Command(). 308 rule.Command(). 343 rule.Command(). 394 rule.Command(). 403 rule.Command().Text("cp -f").Input(builtCtxFile).Output(out)
|
/system/tools/aidl/build/ |
D | aidl_interface.go | 53 Command: `rm -rf "${outDir}" && mkdir -p "${outDir}" && ` + 59 Command: `mkdir -p "${headerDir}" && ` + 69 Command: `${aidlCmd} --lang=java ${optionalFlags} --structured --ninja -d ${out}.d ` + 78 Command: `rm -rf "${outDir}" && mkdir -p "${outDir}" && ` + 85 Command: `rm -f ${out} && { ` + 97 Command: `rm -rf "${outDir}" && mkdir -p "${outDir}" && ` + 104 Command: `(${aidlCmd} ${optionalFlags} --checkapi ${old} ${new} && touch ${out}) || ` + 111 …Command: `if diff -r -B -I '//.*' -x '${hashFile}' '${old}' '${new}'; then touch '${out}'; else ` + 117 …Command: `if [ $$(cd '${apiDir}' && { find ./ -name "*.aidl" -print0 | LC_ALL=C sort -z | xargs -0… 125 Command: "rm -rf ${out} && " + [all …]
|
/system/libufdt/utils/ |
D | README.md | 64 #### `create` Command 138 #### `cfg_create` Command 183 #### `dump` Command 214 #### `help` Command
|