/system/core/crash_reporter/ |
H A D | crash_reporter_logs_test.cc | 38 std::string command; local 39 EXPECT_TRUE(store.GetString(kUserCollectorSignature, &command)); 40 EXPECT_FALSE(command.empty());
|
/system/bt/stack/include/ |
H A D | btu.h | 49 BT_HDR *command; member in struct:__anon1129
|
/system/extras/simpleperf/ |
H A D | cmd_help.cpp | 23 #include "command.h" 47 LOG(ERROR) << "malformed command line: can't find help string for unknown command " << args[0]; 72 void HelpCommand::PrintLongHelpForOneCommand(const Command& command) { argument 73 printf("%s\n", command.LongHelpString().c_str());
|
H A D | main.cpp | 24 #include "command.h" 55 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); local 56 if (command == nullptr) { 57 LOG(ERROR) << "malformed command line: unknown command " << args[0]; 63 LOG(DEBUG) << "command '" << command_name << "' starts running"; 64 bool result = command->Run(args); 65 LOG(DEBUG) << "command '" << command_name << "' "
|
/system/tpm/trunks/ |
H A D | tpm_handle.cc | 60 void TpmHandle::SendCommand(const std::string& command, argument 62 callback.Run(SendCommandAndWait(command)); 65 std::string TpmHandle::SendCommandAndWait(const std::string& command) { argument 67 TPM_RC result = SendCommandInternal(command, &response); 74 TPM_RC TpmHandle::SendCommandInternal(const std::string& command, argument 77 int result = HANDLE_EINTR(write(fd_, command.data(), command.length())); 82 if (static_cast<size_t>(result) != command.length()) { 84 << command.length();
|
H A D | tpm_simulator_handle.cc | 58 void TpmSimulatorHandle::SendCommand(const std::string& command, argument 60 callback.Run(SendCommandAndWait(command)); 63 std::string TpmSimulatorHandle::SendCommandAndWait(const std::string& command) { argument 67 std::string mutable_command(command); 68 ExecuteCommand(command.size(), reinterpret_cast<unsigned char*>(
|
H A D | trunks_binder_proxy.cc | 73 void TrunksBinderProxy::SendCommand(const std::string& command, argument 76 command_proto.set_command(command); 95 std::string TrunksBinderProxy::SendCommandAndWait(const std::string& command) { argument 97 command_proto.set_command(command);
|
H A D | background_command_transceiver.cc | 60 const std::string& command, 72 command, 76 next_transceiver_->SendCommand(command, callback); 81 const std::string& command) { 93 command, 99 return next_transceiver_->SendCommandAndWait(command); 104 const std::string& command, 106 next_transceiver_->SendCommand(command, callback); 59 SendCommand( const std::string& command, const ResponseCallback& callback) argument 80 SendCommandAndWait( const std::string& command) argument 103 SendCommandTask( const std::string& command, const ResponseCallback& callback) argument
|
H A D | trunks_binder_service.cc | 31 // If |command| is a valid command protobuf, provides the |command_data| and 33 bool ParseCommandProto(const std::vector<uint8_t>& command, argument 36 if (!request_proto.ParseFromArray(command.data(), command.size()) || 37 !request_proto.has_command() || request_proto.command().empty()) { 40 *command_data = request_proto.command(); 78 const std::vector<uint8_t>& command, 84 if (!ParseCommandProto(command, &command_data)) { 85 LOG(ERROR) << "TrunksBinderService: Bad command dat 77 SendCommand( const std::vector<uint8_t>& command, const android::sp<android::trunks::ITrunksClient>& client) argument 106 SendCommandAndWait( const std::vector<uint8_t>& command, std::vector<uint8_t>* response) argument [all...] |
H A D | trunks_dbus_proxy.cc | 31 // subsequent command needs to wait for all of them. Timeouts are always 58 void TrunksDBusProxy::SendCommand(const std::string& command, argument 65 tpm_command_proto.set_command(command); 84 std::string TrunksDBusProxy::SendCommandAndWait(const std::string& command) { argument 90 tpm_command_proto.set_command(command);
|
/system/update_engine/ |
H A D | fake_p2p_manager_configuration.h | 75 void SetInitctlStartCommand(const std::vector<std::string>& command) { argument 76 initctl_start_args_ = command; 81 void SetInitctlStopCommand(const std::vector<std::string>& command) { argument 82 initctl_stop_args_ = command; 106 // A string for generating the p2p-client command. See the
|
H A D | weave_service.cc | 114 void WeaveService::OnCheckForUpdates(std::unique_ptr<weaved::Command> command) { argument 117 command->AbortWithCustomError(error.get(), nullptr); 120 command->Complete({}, nullptr); 123 void WeaveService::OnTrackChannel(std::unique_ptr<weaved::Command> command) { argument 124 string channel = command->GetParameter<string>("channel"); 127 command->AbortWithCustomError(error.get(), nullptr); 130 command->Complete({}, nullptr);
|
/system/core/adb/ |
H A D | console.cpp | 31 // Return the console authentication command for the emulator, if needed 44 // either way we won't add any authentication command. 48 // now construct and return the actual command: "auth <token>\n" 49 std::string command = "auth "; local 50 command += token; 51 command += '\n'; 52 return command; 135 // preventing the emulator from reading the command that adb has sent. 145 // Any other emu command is followed by the quit command tha [all...] |
H A D | adb_client.cpp | 232 // version command, in which case we should fall-through to kill it. 257 // if the command is start-server, we are done. 311 std::string format_host_command(const char* command, TransportType type, const char* serial) { argument 313 return android::base::StringPrintf("host-serial:%s:%s", serial, command); 322 return android::base::StringPrintf("%s:%s", prefix, command);
|
H A D | framebuffer_service.cpp | 76 const char* command = "screencap"; local 77 const char *args[2] = {command, NULL}; 78 execvp(command, (char**)args);
|
H A D | shell_service_test.cpp | 47 void StartTestSubprocess(const char* command, SubprocessType type, 64 const char* command, SubprocessType type, SubprocessProtocol protocol) { 72 subprocess_fd_ = StartSubprocess(command, nullptr, type, protocol); 231 for (std::string command : commands) { 232 // Interactive shell requires a newline to complete each command. 233 command.push_back('\n'); 234 memcpy(protocol->data(), command.data(), command.length()); 235 ASSERT_TRUE(protocol->Write(ShellProtocol::kIdStdin, command.length())); 241 // An unpredictable command promp 63 StartTestSubprocess( const char* command, SubprocessType type, SubprocessProtocol protocol) argument [all...] |
/system/netd/server/ |
H A D | FwmarkServer.cpp | 49 FwmarkCommand command; local 52 iov.iov_base = &command; 53 iov.iov_len = sizeof(command); 74 if (messageLength != sizeof(command)) { 80 if (command.cmdId == FwmarkCommand::QUERY_USER_ACCESS) { 84 return mNetworkController->checkUserNetworkAccess(command.uid, command.netId); 103 switch (command.cmdId) { 156 fwmark.netId = command.netId; 157 if (command [all...] |
/system/weaved/buffet/ |
H A D | binder_weave_service.cc | 20 #include <weave/command.h> 60 const android::String16& command) { 62 std::string command_name = ToString(command); 83 const std::weak_ptr<weave::Command>& command) { 85 new BinderCommandProxy{command}; 58 registerCommandHandler( const android::String16& component, const android::String16& command) argument 80 OnCommand( const std::string& component_name, const std::string& command_name, const std::weak_ptr<weave::Command>& command) argument
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
H A D | hci_transport_unittest.cc | 63 void CommandCallback(std::unique_ptr<CommandPacket> command) { argument 65 // Ensure that the received packet matches the stub command. 66 EXPECT_EQ(DATA_TYPE_COMMAND, command->GetType()); 67 EXPECT_EQ(HCI_RESET, command->GetOpcode()); 68 EXPECT_EQ(0, command->GetPayloadSize()); 72 void MultiCommandCallback(std::unique_ptr<CommandPacket> command) { argument 74 // Ensure that the received packet matches the stub command. 75 EXPECT_EQ(DATA_TYPE_COMMAND, command->GetType()); 76 EXPECT_EQ(HCI_RESET, command->GetOpcode()); 77 EXPECT_EQ(0, command [all...] |
H A D | packet_stream_unittest.cc | 73 // Read the command packet. 74 std::unique_ptr<CommandPacket> command = local 77 const std::vector<uint8_t> received_payload = command->GetPayload(); 81 EXPECT_EQ(packet.size(), command->GetPacketSize()); 82 EXPECT_EQ(DATA_TYPE_COMMAND, command->GetType()); 83 EXPECT_EQ(opcode, command->GetOpcode()); 84 EXPECT_EQ(payload_size, command->GetPayloadSize());
|
/system/connectivity/shill/ |
H A D | mock_crypto_util_proxy.cc | 72 const std::string& command, 75 return CryptoUtilProxy::StartShimForCommand(command, input, 71 RealStartShimForCommand( const std::string& command, const std::string& input, const StringCallback& result_handler) argument
|
/system/connectivity/shill/net/ |
H A D | generic_netlink_message.h | 33 // haven't seen one, yet). The genlmsghdr contains a command id that, when 70 GenericNetlinkMessage(uint16_t my_message_type, uint8_t command, argument 74 command_(command), 80 uint8_t command() const { return command_; } function in class:shill::GenericNetlinkMessage 108 ControlNetlinkMessage(uint8_t command, const char* command_string) argument 109 : GenericNetlinkMessage(kMessageType, command, command_string) {} 146 explicit UnknownControlMessage(uint8_t command) argument 147 : ControlNetlinkMessage(command, "<UNKNOWN CONTROL MESSAGE>"), 148 command_(command) {}
|
/system/bt/btif/src/ |
H A D | btif_gatt_test.c | 213 bt_status_t btif_gattc_test_command_impl(uint16_t command, btgatt_test_params_t* params) argument 215 switch(command) { 293 LOG_ERROR(LOG_TAG, "%s: UNKNOWN TEST COMMAND 0x%02x", __FUNCTION__, command);
|
/system/bt/tools/hci/ |
H A D | main.c | 37 { "help", "<command> - shows help text for <command>.", help }, 46 printf("No help command specified.\n"); 50 const command_t *command = find_command(argv[0]); local 51 if (!command) { 52 printf("No command named '%s'.\n", argv[0]); 56 printf("%s %s\n", argv[0], command->help); 99 packet[2] = 0xF1; // HCI command packet length. 156 const command_t *command = find_command(argv[1]); local 157 if (!command) { [all...] |
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | hci_transport.cc | 93 std::unique_ptr<CommandPacket> command = local 95 LOG_INFO(LOG_TAG, "Received command packet."); 96 command_handler_(std::move(command));
|