Searched refs:CreateErrorResponse (Results 1 – 10 of 10) sorted by relevance
47 trunks::CreateErrorResponse(trunks::SAPI_RC_MALFORMED_RESPONSE)); in OnCommandResponse()82 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR)); in SendCommand()90 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR)); in SendCommand()103 return CreateErrorResponse(TRUNKS_RC_IPC_ERROR); in SendCommandAndWait()110 return CreateErrorResponse(TRUNKS_RC_IPC_ERROR); in SendCommandAndWait()116 return trunks::CreateErrorResponse(trunks::SAPI_RC_MALFORMED_RESPONSE); in SendCommandAndWait()
62 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR)); in SendCommand()71 response.set_response(CreateErrorResponse(SAPI_RC_NO_RESPONSE_RECEIVED)); in SendCommand()87 return CreateErrorResponse(TRUNKS_RC_IPC_ERROR); in SendCommandAndWait()107 return CreateErrorResponse(SAPI_RC_MALFORMED_RESPONSE); in SendCommandAndWait()
179 std::string response = CreateErrorResponse(TPM_RC_OBJECT_MEMORY); in EvictObjects()218 std::string response = CreateErrorResponse(TPM_RC_SESSION_MEMORY); in EvictSession()364 response = CreateErrorResponse(TPM_RC_HANDLE | kResourceManagerTpmErrorBase); in TEST_F()413 std::string response = CreateErrorResponse(TPM_RC_HANDLE | in TEST_F()430 .WillRepeatedly(Return(CreateErrorResponse(TPM_RC_FAILURE))); in TEST_F()520 response = CreateErrorResponse(TPM_RC_HANDLE | kResourceManagerTpmErrorBase); in TEST_F()570 response = CreateErrorResponse(TPM_RC_HANDLE | kResourceManagerTpmErrorBase); in TEST_F()586 std::string response = CreateErrorResponse(TPM_RC_OBJECT_MEMORY); in TEST_F()616 std::string error_response = CreateErrorResponse(TPM_RC_SESSION_MEMORY); in TEST_F()720 std::string response = CreateErrorResponse(TPM_RC_CONTEXT_GAP); in TEST_F()[all …]
86 callback.Run(CreateErrorResponse(SAPI_RC_BAD_PARAMETER)); in SendCommand()112 CreateResponseProto(CreateErrorResponse(SAPI_RC_BAD_PARAMETER), response); in SendCommandAndWait()
73 return CreateErrorResponse(TCTI_RC_GENERAL_FAILURE); in SendCommandAndWait()
117 return CreateErrorResponse(result); in SendCommandAndWait()130 return CreateErrorResponse(result); in SendCommandAndWait()139 return CreateErrorResponse(result); in SendCommandAndWait()168 return CreateErrorResponse(result); in SendCommandAndWait()703 return CreateErrorResponse(MakeError(TPM_RC_SIZE, FROM_HERE)); in ProcessFlushContext()710 return CreateErrorResponse(MakeError(TPM_RC_HANDLE, FROM_HERE)); in ProcessFlushContext()715 return CreateErrorResponse(TPM_RC_SUCCESS); in ProcessFlushContext()731 return CreateErrorResponse(result); in ProcessFlushContext()
64 CreateErrorResponse(SAPI_RC_BAD_PARAMETER)); in HandleSendCommand()
69 response = CreateErrorResponse(result); in SendCommandAndWait()
84 TRUNKS_EXPORT std::string CreateErrorResponse(TPM_RC error_code);
230 std::string CreateErrorResponse(TPM_RC error_code) { in CreateErrorResponse() function