Searched refs:HalError (Results 1 – 5 of 5) sorted by relevance
75 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()
122 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()
24 enum class HalError { enum
139 pub enum HalError { enum
106 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()