Home
last modified time | relevance | path

Searched refs:CreateErrorResponse (Results 1 – 10 of 10) sorted by relevance

/system/tpm/trunks/
Dtrunks_binder_proxy.cc47 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()
Dtrunks_dbus_proxy.cc62 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()
Dresource_manager_test.cc179 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 …]
Dtrunks_binder_service.cc86 callback.Run(CreateErrorResponse(SAPI_RC_BAD_PARAMETER)); in SendCommand()
112 CreateResponseProto(CreateErrorResponse(SAPI_RC_BAD_PARAMETER), response); in SendCommandAndWait()
Dtpm_simulator_handle.cc73 return CreateErrorResponse(TCTI_RC_GENERAL_FAILURE); in SendCommandAndWait()
Dresource_manager.cc117 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()
Dtrunks_dbus_service.cc64 CreateErrorResponse(SAPI_RC_BAD_PARAMETER)); in HandleSendCommand()
Dtpm_handle.cc69 response = CreateErrorResponse(result); in SendCommandAndWait()
Derror_codes.h84 TRUNKS_EXPORT std::string CreateErrorResponse(TPM_RC error_code);
Derror_codes.cc230 std::string CreateErrorResponse(TPM_RC error_code) { in CreateErrorResponse() function