/system/bt/stack/include/ |
H A D | btu.h | 50 BT_HDR* command; member in struct:__anon1115
|
/system/extras/simpleperf/ |
H A D | cmd_help.cpp | 23 #include "command.h" 49 LOG(ERROR) << "malformed command line: can't find help string for " 50 "unknown command " 80 void HelpCommand::PrintLongHelpForOneCommand(const Command& command) { argument 81 printf("%s\n", command.LongHelpString().c_str());
|
H A D | main.cpp | 24 #include "command.h" 61 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); local 62 if (command == nullptr) { 63 LOG(ERROR) << "malformed command line: unknown command " << args[0]; 69 LOG(DEBUG) << "command '" << command_name << "' starts running"; 70 bool result = command->Run(args); 71 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 | 74 void TrunksBinderProxy::SendCommand(const std::string& command, argument 77 command_proto.set_command(command); 96 std::string TrunksBinderProxy::SendCommandAndWait(const std::string& command) { argument 98 command_proto.set_command(command);
|
H A D | background_command_transceiver.cc | 60 const std::string& command, 70 command, background_callback); 73 next_transceiver_->SendCommand(command, callback); 78 const std::string& command) { 90 command, callback); 95 return next_transceiver_->SendCommandAndWait(command); 100 const std::string& command, 102 next_transceiver_->SendCommand(command, callback); 59 SendCommand( const std::string& command, const ResponseCallback& callback) argument 77 SendCommandAndWait( const std::string& command) argument 99 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 57 void TrunksDBusProxy::SendCommand(const std::string& command, argument 64 tpm_command_proto.set_command(command); 79 std::string TrunksDBusProxy::SendCommandAndWait(const std::string& command) { argument 85 tpm_command_proto.set_command(command);
|
/system/update_engine/ |
H A D | fake_p2p_manager_configuration.h | 65 void SetInitctlStartCommand(const std::vector<std::string>& command) { argument 66 initctl_start_args_ = command; 71 void SetInitctlStopCommand(const std::vector<std::string>& command) { argument 72 initctl_stop_args_ = command; 96 // 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 | 209 // version command, in which case we should fall-through to kill it. 234 // if the command is start-server, we are done. 288 std::string format_host_command(const char* command, TransportType type, const char* serial) { argument 290 return android::base::StringPrintf("host-serial:%s:%s", serial, command); 299 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/core/logcat/ |
H A D | logcat_system.cpp | 43 static bool __android_logcat_parse(const char* command, argument 46 for (const char *delim, *cp = command; cp && *cp; cp = delim) { 68 FILE* android_logcat_popen(android_logcat_context* ctx, const char* command) { argument 73 if (!__android_logcat_parse(command, args, envs)) return NULL; 120 int android_logcat_system(const char* command) { argument 123 if (!__android_logcat_parse(command, args, envs)) return -1;
|
/system/libufdt/utils/src/ |
H A D | mkdtimg.c | 34 const char *command; member in struct:command_info 47 static const struct command_info *search_command(const char *command) { argument 49 for (info = command_infos; info->command != NULL; info++) { 50 if (strcmp(command, info->command) == 0) { 54 if (info->command == NULL) { 55 fprintf(stderr, "Unknown command: %s\n", command); 63 for (info = command_infos; info->command != NULL; info++) { 67 fprintf(out_fp, "%s", info->command); 122 const char *command = argv[1]; local [all...] |
/system/bt/test/rootcanal/ |
H A D | bluetooth_hci.cc | 135 std::unique_ptr<CommandPacket> command = local 138 command->AddPayloadOctets1(packet[i]); 140 controller_.HandleCommand(std::move(command));
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
H A D | packet_stream_unittest.cc | 71 // Read the command packet. 72 std::unique_ptr<CommandPacket> command = local 75 const vector<uint8_t> received_payload = command->GetPayload(); 79 EXPECT_EQ(packet.size(), command->GetPacketSize()); 80 EXPECT_EQ(DATA_TYPE_COMMAND, command->GetType()); 81 EXPECT_EQ(opcode, command->GetOpcode()); 82 EXPECT_EQ(static_cast<size_t>(payload_size + 1), command->GetPayloadSize());
|
/system/netd/server/ |
H A D | Controllers.cpp | 92 std::string command = android::base::StringPrintf("*%s\n", table); local 95 // run one execIptablesSilently command to delete each child chain. We can't use -D in 101 command += android::base::StringPrintf(":%s -\n", parentChain); 102 command += android::base::StringPrintf("-F %s\n", parentChain); 110 command += android::base::StringPrintf(":%s -\n", *childChain); 111 command += android::base::StringPrintf("-A %s -j %s\n", parentChain, *childChain); 113 command += "COMMIT\n\n"; 114 execIptablesRestore(target, command);
|
H A D | FwmarkServer.cpp | 59 FwmarkCommand command; local 63 { &command, sizeof(command) }, 85 if (!((command.cmdId != FwmarkCommand::ON_CONNECT_COMPLETE && messageLength == sizeof(command)) 86 || (command.cmdId == FwmarkCommand::ON_CONNECT_COMPLETE 87 && messageLength == sizeof(command) + sizeof(connectInfo)))) { 93 if (command.cmdId == FwmarkCommand::QUERY_USER_ACCESS) { 97 return mNetworkController->checkUserNetworkAccess(command.uid, command [all...] |
/system/bt/btif/src/ |
H A D | btif_gatt_test.cc | 203 bt_status_t btif_gattc_test_command_impl(int command, argument 205 switch (command) { 288 LOG_ERROR(LOG_TAG, "%s: UNKNOWN TEST COMMAND 0x%02x", __func__, command);
|
/system/bt/tools/hci/ |
H A D | main.c | 38 {"help", "<command> - shows help text for <command>.", help}, 55 printf("No help command specified.\n"); 59 const command_t* command = find_command(argv[0]); local 60 if (!command) { 61 printf("No command named '%s'.\n", argv[0]); 65 printf("%s %s\n", argv[0], command->help); 106 packet[2] = 0xF1; // HCI command packet length. 162 const command_t* command = find_command(argv[1]); local 163 if (!command) { [all...] |
/system/connectivity/wifilogd/tests/ |
H A D | command_processor_unittest.cpp | 56 // command, so that we can test the CommandProcessor's handling of oversized 106 const auto& command = local 112 EXPECT_EQ(payload_len, command.payload_len); 114 .AppendOrDie(&command, sizeof(command)) 146 const auto& command = protocol::Command() local 149 const auto& buf = CommandBuffer().AppendOrDie(&command, sizeof(command)); 223 const auto& command = local 228 const auto& buf = CommandBuffer().AppendOrDie(&command, sizeo [all...] |
/system/core/libsysutils/src/ |
H A D | SocketListener.cpp | 300 void SocketListener::runOnEachSocket(SocketClientCommand *command) { argument 320 command->runSocketCommand(c);
|