Lines Matching refs:command

80   // Builds a well-formed command.
122 // Builds a well-formed command authorization section.
154 std::string command = CreateCommand(TPM_CC_Load,
163 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
165 std::string actual_response = resource_manager_.SendCommandAndWait(command);
175 std::string command = CreateCommand(TPM_CC_Startup,
191 resource_manager_.SendCommandAndWait(command);
197 std::string command = CreateCommand(TPM_CC_StartAuthSession,
206 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
208 std::string actual_response = resource_manager_.SendCommandAndWait(command);
214 std::string command = CreateCommand(TPM_CC_Startup,
228 resource_manager_.SendCommandAndWait(command);
254 std::string command = CreateCommand(TPM_CC_Startup,
262 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
264 std::string actual_response = resource_manager_.SendCommandAndWait(command);
269 std::string command = CreateCommand(TPM_CC_Startup,
277 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
282 resource_manager_.SendCommand(command, callback);
288 std::string command = CreateCommand(TPM_CC_Load,
297 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
299 std::string actual_response = resource_manager_.SendCommandAndWait(command);
314 std::string command = CreateCommand(TPM_CC_Sign,
331 std::string actual_response = resource_manager_.SendCommandAndWait(command);
340 std::string command = CreateCommand(TPM_CC_FlushContext,
356 std::string actual_response = resource_manager_.SendCommandAndWait(command);
360 command = CreateCommand(TPM_CC_Sign,
365 actual_response = resource_manager_.SendCommandAndWait(command);
372 command = CreateCommand(TPM_CC_FlushContext,
376 actual_response = resource_manager_.SendCommandAndWait(command);
386 std::string command = CreateCommand(TPM_CC_Sign,
403 std::string actual_response = resource_manager_.SendCommandAndWait(command);
409 std::string command = CreateCommand(TPM_CC_Sign,
415 std::string actual_response = resource_manager_.SendCommandAndWait(command);
422 std::string command = CreateCommand(TPM_CC_StartAuthSession,
432 for (size_t i = 0; i < command.size(); ++i) {
433 resource_manager_.SendCommandAndWait(command.substr(0, i));
434 resource_manager_.SendCommandAndWait(command.substr(i));
435 std::string fuzzed_command(command);
449 std::string command = CreateCommand(TPM_CC_StartAuthSession,
467 resource_manager_.SendCommandAndWait(command);
469 resource_manager_.SendCommandAndWait(command);
473 resource_manager_.SendCommandAndWait(command);
484 std::string command = CreateCommand(TPM_CC_Startup,
495 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
497 std::string actual_response = resource_manager_.SendCommandAndWait(command);
504 std::string command = CreateCommand(TPM_CC_Startup,
515 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
517 std::string actual_response = resource_manager_.SendCommandAndWait(command);
521 actual_response = resource_manager_.SendCommandAndWait(command);
528 std::string command = CreateCommand(TPM_CC_Startup,
539 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
543 std::string actual_response = resource_manager_.SendCommandAndWait(command);
551 std::string command = CreateCommand(TPM_CC_FlushContext,
559 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
561 std::string actual_response = resource_manager_.SendCommandAndWait(command);
564 command = CreateCommand(TPM_CC_Startup,
571 actual_response = resource_manager_.SendCommandAndWait(command);
581 std::string command = CreateCommand(TPM_CC_Sign,
598 std::string actual_response = resource_manager_.SendCommandAndWait(command);
605 std::string command = CreateCommand(TPM_CC_Startup,
622 std::string actual_response = resource_manager_.SendCommandAndWait(command);
645 std::string command = CreateCommand(TPM_CC_Sign,
649 std::string actual_response = resource_manager_.SendCommandAndWait(command);
667 std::string command = CreateCommand(TPM_CC_Startup,
673 std::string actual_response = resource_manager_.SendCommandAndWait(command);
682 std::string command = CreateCommand(TPM_CC_Startup,
688 std::string actual_response = resource_manager_.SendCommandAndWait(command);
692 std::string command = CreateCommand(TPM_CC_Startup,
700 std::string actual_response = resource_manager_.SendCommandAndWait(command);
716 std::string command = CreateCommand(TPM_CC_Startup,
737 std::string actual_response = resource_manager_.SendCommandAndWait(command);
767 std::string command = CreateCommand(TPM_CC_Startup,
776 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
779 actual_response = resource_manager_.SendCommandAndWait(command);
802 // The scenario being tested is when a command results in a warning to be
834 std::string command = CreateCommand(TPM_CC_Startup,
838 std::string response = resource_manager_.SendCommandAndWait(command);
846 std::string command = CreateCommand(TPM_CC_Startup,
850 std::string response = resource_manager_.SendCommandAndWait(command);
870 std::string command = CreateCommand(TPM_CC_Startup,
874 std::string response = resource_manager_.SendCommandAndWait(command);
879 std::string command = CreateCommand(TPM_CC_Startup,
890 EXPECT_CALL(transceiver_, SendCommandAndWait(command))
892 std::string actual_response = resource_manager_.SendCommandAndWait(command);