Home
last modified time | relevance | path

Searched refs:HalError (Results 1 – 5 of 5) sorted by relevance

/system/chre/host/common/
Dhal_client.cc75 HalError HalClient::initConnection() { in initConnection()
80 return HalError::SUCCESS; in initConnection()
90 return HalError::BINDER_CONNECTION_FAILED; in initConnection()
97 return HalError::LINK_DEATH_RECIPIENT_FAILED; in initConnection()
104 return HalError::NULL_CONTEXT_HUB_FROM_BINDER; in initConnection()
115 return HalError::VERSION_TOO_LOW; in initConnection()
127 return HalError::CALLBACK_REGISTRATION_FAILED; in initConnection()
130 return HalError::SUCCESS; in initConnection()
143 HalError result = halClient->initConnection(); in onHalDisconnected()
145 if (result != HalError::SUCCESS) { in onHalDisconnected()
/system/chre/host/common/include/chre_host/
Dhal_client.h122 return initConnection() == HalError::SUCCESS; in connect()
133 callback.onInitialization(initConnection() == HalError::SUCCESS); in connectInBackground()
221 HalError initConnection();
246 return fromHalError(HalError::BINDER_DISCONNECTED); in callIfConnected()
267 static ScopedAStatus fromHalError(HalError errorCode) { in fromHalError()
268 return errorCode == HalError::SUCCESS in fromHalError()
Dhal_error.h24 enum class HalError { enum
/system/nfc/src/rust/hal/
Dhal.rs139 pub enum HalError { enum
/system/chre/host/hal_generic/common/
Dmulti_client_context_hub_base.cc106 inline ScopedAStatus fromServiceError(HalError errorCode) { in fromServiceError()
112 : fromServiceError(HalError::OPERATION_FAILED); in fromResult()
452 return fromServiceError(HalError::INVALID_ARGUMENT); in onHostEndpointConnected()
459 return fromServiceError(HalError::INVALID_ARGUMENT); in onHostEndpointConnected()