/system/tpm/trunks/aidl/android/trunks/ |
H A D | ITrunks.aidl | 22 oneway void SendCommand(in byte[] command, in ITrunksClient client); 23 byte[] SendCommandAndWait(in byte[] command);
|
/system/weaved/buffet/ |
H A D | binder_command_proxy.cc | 39 const std::weak_ptr<weave::Command>& command) : command_{command} {} 42 auto command = command_.lock(); local 43 if (!command) 45 *id = ToString16(command->GetID()); 50 auto command = command_.lock(); local 51 if (!command) 53 *name = ToString16(command->GetName()); 59 auto command = command_.lock(); local 60 if (!command) 38 BinderCommandProxy( const std::weak_ptr<weave::Command>& command) argument 67 auto command = command_.lock(); local 76 auto command = command_.lock(); local 85 auto command = command_.lock(); local 94 auto command = command_.lock(); local 103 auto command = command_.lock(); local 112 auto command = command_.lock(); local 126 auto command = command_.lock(); local 141 auto command = command_.lock(); local 152 auto command = command_.lock(); local 160 auto command = command_.lock(); local 170 auto command = command_.lock(); local [all...] |
/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/tpm/trunks/ |
H A D | tpm_handle.h | 36 // std::string response = handle.SendCommandAndWait(command); 47 void SendCommand(const std::string& command, 49 std::string SendCommandAndWait(const std::string& command) override; 52 // Writes a |command| to /dev/tpm0 and reads the |response|. Returns 54 TPM_RC SendCommandInternal(const std::string& command, std::string* response);
|
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 | 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 | command_transceiver.h | 34 // Sends a TPM |command| asynchronously. When a |response| is received, 39 const std::string& command, 42 // Sends a TPM |command| synchronously (i.e. waits for a response) and returns 45 virtual std::string SendCommandAndWait(const std::string& command) = 0;
|
H A D | tpm_simulator_handle.h | 29 // Sends command requests to an in-process software TPM. All commands are 37 // std::string response = handle.SendCommandAndWait(command); 48 void SendCommand(const std::string& command, 50 std::string SendCommandAndWait(const std::string& command) override;
|
H A D | trunks_binder_proxy.h | 41 void SendCommand(const std::string& command, 43 std::string SendCommandAndWait(const std::string& command) override;
|
H A D | resource_manager_test.cc | 80 // Builds a well-formed command. 122 // Builds a well-formed command authorization section. 154 std::string command = CreateCommand(TPM_CC_Load, local 163 EXPECT_CALL(transceiver_, SendCommandAndWait(command)) 165 std::string actual_response = resource_manager_.SendCommandAndWait(command); 175 std::string command = CreateCommand(TPM_CC_Startup, local 191 resource_manager_.SendCommandAndWait(command); 197 std::string command = CreateCommand(TPM_CC_StartAuthSession, local 206 EXPECT_CALL(transceiver_, SendCommandAndWait(command)) 208 std::string actual_response = resource_manager_.SendCommandAndWait(command); 214 std::string command = CreateCommand(TPM_CC_Startup, local 254 std::string command = CreateCommand(TPM_CC_Startup, local 269 std::string command = CreateCommand(TPM_CC_Startup, local 288 std::string command = CreateCommand(TPM_CC_Load, local 314 std::string command = CreateCommand(TPM_CC_Sign, local 340 std::string command = CreateCommand(TPM_CC_FlushContext, local 386 std::string command = CreateCommand(TPM_CC_Sign, local 409 std::string command = CreateCommand(TPM_CC_Sign, local 422 std::string command = CreateCommand(TPM_CC_StartAuthSession, local 449 std::string command = CreateCommand(TPM_CC_StartAuthSession, local 484 std::string command = CreateCommand(TPM_CC_Startup, local 504 std::string command = CreateCommand(TPM_CC_Startup, local 528 std::string command = CreateCommand(TPM_CC_Startup, local 551 std::string command = CreateCommand(TPM_CC_FlushContext, local 581 std::string command = CreateCommand(TPM_CC_Sign, local 605 std::string command = CreateCommand(TPM_CC_Startup, local 645 std::string command = CreateCommand(TPM_CC_Sign, local 667 std::string command = CreateCommand(TPM_CC_Startup, local 682 std::string command = CreateCommand(TPM_CC_Startup, local 692 std::string command = CreateCommand(TPM_CC_Startup, local 716 std::string command = CreateCommand(TPM_CC_Startup, local 767 std::string command = CreateCommand(TPM_CC_Startup, local 834 std::string command = CreateCommand(TPM_CC_Startup, local 846 std::string command = CreateCommand(TPM_CC_Startup, local 870 std::string command = CreateCommand(TPM_CC_Startup, local 879 std::string command = CreateCommand(TPM_CC_Startup, local [all...] |
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 | 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 | background_command_transceiver.h | 56 void SendCommand(const std::string& command, 58 std::string SendCommandAndWait(const std::string& command) override; 61 // Sends a |command| to the |next_transceiver_| and invokes a |callback| with 62 // the command response. 63 void SendCommandTask(const std::string& command,
|
H A D | trunks_ftdi_spi.h | 42 void SendCommand(const std::string& command, 44 std::string SendCommandAndWait(const std::string& command) override; 94 void SendCommand(const std::string& command, 96 std::string SendCommandAndWait(const std::string& command) {
|
/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) {}
|
H A D | netlink_message_matchers.h | 29 // further that it is the specified command. 30 MATCHER_P2(IsNl80211Command, nl80211_message_type, command, "") { 40 if (msg->command() != command) { 41 LOG(INFO) << "Not a message of type " << command 42 << " (it's a " << +msg->command() << ")"; 56 if (msg->command() != NL80211_CMD_SET_WOWLAN) { 87 if (msg->command() != NL80211_CMD_TRIGGER_SCAN) { 135 if (msg->command() != NL80211_CMD_TRIGGER_SCAN) {
|
/system/core/logcat/tests/ |
H A D | logcat_test.cpp | 578 char command[sizeof(buf) + sizeof(comm)]; local 579 snprintf(command, sizeof(command), comm, buf); 582 EXPECT_FALSE((ret = system(command))); 584 snprintf(command, sizeof(command), "ls -s %s 2>/dev/null", buf); 587 EXPECT_TRUE(NULL != (fp = popen(command, "r"))); 611 snprintf(command, sizeof(command), "rm -rf %s", buf); 612 EXPECT_FALSE(system(command)); 622 char command[sizeof(tmp_out_dir) + sizeof(logcat_cmd)]; local 676 char command[sizeof(tmp_out_dir) + sizeof(logcat_cmd) + sizeof(log_filename)]; local 784 char command[sizeof(tmp_out_dir) + sizeof(logcat_cmd) + sizeof(log_filename) + sizeof(clear_cmd) + 32]; local [all...] |
/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...] |
/system/extras/simpleperf/ |
H A D | command_test.cpp | 19 #include "command.h" 31 TEST(command, CreateCommandInstance) { 39 TEST(command, GetAllCommands) {
|
/system/weaved/brillo/android/weave/ |
H A D | IWeaveClient.aidl | 26 in IWeaveCommand command);
|
H A D | IWeaveService.aidl | 21 void registerCommandHandler(in String component, in String command);
|
/system/bt/hci/include/ |
H A D | hci_layer.h | 74 typedef void (*command_status_cb)(uint8_t status, BT_HDR *command, void *context); 77 // Send a low power command, if supported and the low power manager is enabled. 78 void (*send_low_power_command)(low_power_command_t command); 89 // Send a command through the HCI layer 91 BT_HDR *command, 97 future_t *(*transmit_command_futured)(BT_HDR *command);
|
H A D | low_power_manager.h | 33 // Performs |command| synchronized on the thread that was provided 35 void (*post_command)(low_power_command_t command);
|
/system/update_engine/ |
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/tools/aidl/tests/ |
H A D | integration-test.py | 31 """Represents the result of running a shell command.""" 37 exit_status: integer exit code of shell command 38 stdout: string stdout of shell command 39 stderr: string stderr of shell command 70 def run(self, command, background=False, ignore_status=False): 71 """Run a command on the device via adb shell. 74 command: string containing a shell command to run. 75 background: True iff we should run this command in the background. 76 ignore_status: True iff we should ignore the command' [all...] |