Home
last modified time | relevance | path

Searched refs:StatusError (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/src/
DFakeUserHal.cpp56 return StatusError(StatusCode::INVALID_ARG) in getRequestId()
64 return StatusError(StatusCode::INVALID_ARG) in getSwitchUserMessageType()
69 return StatusError(StatusCode::INVALID_ARG) << result.error().message(); in getSwitchUserMessageType()
105 return StatusError(StatusCode::INVALID_ARG) in onSetProperty()
118 return StatusError(StatusCode::INVALID_ARG) << "only supported on SET"; in onGetProperty()
123 return StatusError(StatusCode::INVALID_ARG) << "not supported by User HAL"; in onGetProperty()
305 return StatusError(StatusCode::NOT_AVAILABLE) << "not set by lshal"; in defaultUserIdentificationAssociation()
322 return StatusError(StatusCode::NOT_AVAILABLE) in sendUserHalResponse()
327 return StatusError(StatusCode::INTERNAL_ERROR) in sendUserHalResponse()
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehiclePropertyStore.cpp95 return StatusError(StatusCode::NOT_AVAILABLE) in readValueLocked()
133 return StatusError(StatusCode::INVALID_ARG) in writeValue()
138 return StatusError(StatusCode::INVALID_ARG) in writeValue()
149 return StatusError(StatusCode::INVALID_ARG) in writeValue()
307 return StatusError(StatusCode::INVALID_ARG) << "property: " << propId << " not registered"; in readValuesForProperty()
323 return StatusError(StatusCode::INVALID_ARG) << "property: " << propId << " not registered"; in readValue()
337 return StatusError(StatusCode::INVALID_ARG) << "property: " << propId << " not registered"; in readValue()
360 return StatusError(StatusCode::INVALID_ARG) << "property: " << propId << " not registered"; in getConfig()
371 return StatusError(StatusCode::INVALID_ARG) << "property: " << propId << " not registered"; in getPropConfig()
DPendingRequestPool.cpp93 return StatusError(StatusCode::INVALID_ARG) in addRequests()
105 return StatusError(StatusCode::TRY_AGAIN) << "too many pending requests"; in addRequests()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/src/
DFakeObd2Frame.cpp131 return StatusError(StatusCode::INVALID_ARG) in getObd2FreezeFrame()
136 return StatusError(StatusCode::INTERNAL_ERROR) in getObd2FreezeFrame()
143 return StatusError(StatusCode::NOT_AVAILABLE); in getObd2FreezeFrame()
148 return StatusError(StatusCode::INVALID_ARG) in getObd2FreezeFrame()
158 return StatusError(StatusCode::INTERNAL_ERROR) in getObd2DtcInfo()
179 return StatusError(StatusCode::INVALID_ARG) in clearObd2FreezeFrames()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/
DSubscriptionManager.cpp168 return StatusError(status) in addOnChangeSubscriberLocked()
207 return StatusError(status) in removeOnChangeSubscriberLocked()
231 return StatusError(status) in updateContSubConfigsLocked()
241 return StatusError(status) << StringPrintf( in updateContSubConfigsLocked()
248 return StatusError(status) << StringPrintf( in updateContSubConfigsLocked()
268 return StatusError(StatusCode::INVALID_ARG) << result.error().message(); in subscribe()
271 return StatusError(StatusCode::INVALID_ARG) << StringPrintf( in subscribe()
279 return StatusError(StatusCode::INVALID_ARG) in subscribe()
348 return StatusError(StatusCode::INVALID_ARG) in unsubscribe()
381 return StatusError(StatusCode::INVALID_ARG) << "No property was subscribed for this client"; in unsubscribe()
DDefaultVehicleHal.cpp700 return StatusError(StatusCode::INVALID_ARG) in checkSubscribeOptions()
717 return StatusError(StatusCode::INVALID_ARG) in checkSubscribeOptions()
727 return StatusError(StatusCode::INVALID_ARG) in checkSubscribeOptions()
734 return StatusError(StatusCode::ACCESS_DENIED) in checkSubscribeOptions()
751 return StatusError(StatusCode::INVALID_ARG) in checkSubscribeOptions()
755 return StatusError(StatusCode::INVALID_ARG) in checkSubscribeOptions()
884 return StatusError(StatusCode::INVALID_ARG) in checkPermissionHelper()
891 return StatusError(StatusCode::INVALID_ARG) << getErrorMsg(result); in checkPermissionHelper()
898 return StatusError(StatusCode::INVALID_ARG) << "no config for area ID: " << value.areaId; in checkPermissionHelper()
902 return StatusError(StatusCode::ACCESS_DENIED) in checkPermissionHelper()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp464 return StatusError(StatusCode::INVALID_ARG) in setApPowerStateReqShutdown()
474 return StatusError(getErrorCode(writeResult)) in setApPowerStateReqShutdown()
487 return StatusError(getErrorCode(writeResult)) in setApPowerStateReport()
513 return StatusError(getErrorCode(writeResult)) in setApPowerStateReport()
530 return StatusError(getErrorCode(writeResult)) in setApPowerStateReport()
587 return StatusError(getErrorCode(hvacTemperatureSetConfigResult)) << StringPrintf( in setHvacTemperatureValueSuggestion()
595 return StatusError(StatusCode::INVALID_ARG) << StringPrintf( in setHvacTemperatureValueSuggestion()
603 return StatusError(StatusCode::INVALID_ARG) << StringPrintf( in setHvacTemperatureValueSuggestion()
622 return StatusError(getErrorCode(writeResult)) in setHvacTemperatureValueSuggestion()
667 return StatusError(StatusCode::NOT_AVAILABLE_DISABLED) in isAdasPropertyAvailable()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DVehicleUtils.h260 using StatusError = android::base::Error<VhalError>; variable