Home
last modified time | relevance | path

Searched refs:VhalResult (Results 1 – 19 of 19) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/
DSubscriptionManager.h91 VhalResult<void> subscribe(
102 VhalResult<void> unsubscribe(ClientIdType client, const std::vector<int32_t>& propIds);
108 VhalResult<void> unsubscribe(ClientIdType client);
165 VhalResult<void> addContinuousSubscriberLocked(const ClientIdType& clientId,
169 VhalResult<void> addOnChangeSubscriberLocked(const PropIdAreaId& propIdAreaId) REQUIRES(mLock);
171 VhalResult<void> removeContinuousSubscriberLocked(const ClientIdType& clientId,
175 VhalResult<void> removeOnChangeSubscriberLocked(const PropIdAreaId& propIdAreaId)
178 VhalResult<void> updateContSubConfigsLocked(const PropIdAreaId& PropIdAreaId,
181 VhalResult<void> unsubscribePropIdAreaIdLocked(SubscriptionManager::ClientIdType clientId,
DDefaultVehicleHal.h178 VhalResult<void> checkSubscribeOptions(const std::vector<aidlvhal::SubscribeOptions>& options);
180 VhalResult<void> checkPermissionHelper(const aidlvhal::VehiclePropValue& value,
183 VhalResult<void> checkReadPermission(const aidlvhal::VehiclePropValue& value) const;
185 VhalResult<void> checkWritePermission(const aidlvhal::VehiclePropValue& value) const;
DConnectedClient.h61 VhalResult<void> addRequests(const std::unordered_set<int64_t>& requestIds);
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/include/
DFakeObd2Frame.h41 VhalResult<VehiclePropValuePool::RecyclableType> getObd2FreezeFrame(
44 VhalResult<VehiclePropValuePool::RecyclableType> getObd2DtcInfo() const;
45 VhalResult<void> clearObd2FreezeFrames(
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/
DSubscriptionManager.cpp155 VhalResult<void> SubscriptionManager::addOnChangeSubscriberLocked( in addOnChangeSubscriberLocked()
175 VhalResult<void> SubscriptionManager::addContinuousSubscriberLocked( in addContinuousSubscriberLocked()
189 VhalResult<void> SubscriptionManager::removeContinuousSubscriberLocked( in removeContinuousSubscriberLocked()
197 VhalResult<void> SubscriptionManager::removeOnChangeSubscriberLocked( in removeOnChangeSubscriberLocked()
214 VhalResult<void> SubscriptionManager::updateContSubConfigsLocked(const PropIdAreaId& propIdAreaId, in updateContSubConfigsLocked()
258 VhalResult<void> SubscriptionManager::subscribe(const std::shared_ptr<IVehicleCallback>& callback, in subscribe()
294 VhalResult<void> result; in subscribe()
314 VhalResult<void> SubscriptionManager::unsubscribePropIdAreaIdLocked( in unsubscribePropIdAreaIdLocked()
343 VhalResult<void> SubscriptionManager::unsubscribe(SubscriptionManager::ClientIdType clientId, in unsubscribe()
377 VhalResult<void> SubscriptionManager::unsubscribe(SubscriptionManager::ClientIdType clientId) { in unsubscribe()
DDefaultVehicleHal.cpp693 VhalResult<void> DefaultVehicleHal::checkSubscribeOptions( in checkSubscribeOptions()
878 VhalResult<void> DefaultVehicleHal::checkPermissionHelper( in checkPermissionHelper()
909 VhalResult<void> DefaultVehicleHal::checkWritePermission(const VehiclePropValue& value) const { in checkWritePermission()
913 VhalResult<void> DefaultVehicleHal::checkReadPermission(const VehiclePropValue& value) const { in checkReadPermission()
DConnectedClient.cpp201 VhalResult<void> ConnectedClient::addRequests(const std::unordered_set<int64_t>& requestIds) { in addRequests()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/include/
DFakeVehicleHardware.h52 using ValueResultType = VhalResult<VehiclePropValuePool::RecyclableType>;
115 VhalResult<void> setValue(
220 VhalResult<void> setHvacTemperatureValueSuggestion(
223 VhalResult<void> maybeSetSpecialValue(
226 VhalResult<bool> isCruiseControlTypeStandard() const;
230 VhalResult<void> setApPowerStateReport(
232 VhalResult<void> setApPowerStateReqShutdown(
238 VhalResult<void> setUserHalProp(
245 VhalResult<void> isAdasPropertyAvailable(int32_t adasStatePropertyId) const;
246 VhalResult<void> synchronizeHvacTemp(int32_t hvacDualOnAreaId,
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DVehiclePropertyStore.h46 using ValueResultType = VhalResult<VehiclePropValuePool::RecyclableType>;
47 using ValuesResultType = VhalResult<std::vector<VehiclePropValuePool::RecyclableType>>;
109 VhalResult<void> writeValue(VehiclePropValuePool::RecyclableType propValue,
DVehicleUtils.h256 using VhalResult = android::base::Result<T, VhalError>; variable
263 aidl::android::hardware::automotive::vehicle::StatusCode getErrorCode(const VhalResult<T>& result) { in getErrorCode()
271 int getIntErrorCode(const VhalResult<T>& result) { in getIntErrorCode()
303 ndk::ScopedAStatus toScopedAStatus(const VhalResult<T>& result) { in toScopedAStatus()
308 ndk::ScopedAStatus toScopedAStatus(const VhalResult<T>& result, in toScopedAStatus()
DPendingRequestPool.h52 VhalResult<void> addRequests(const void* clientId,
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/src/
DFakeObd2Frame.cpp128 VhalResult<VehiclePropValuePool::RecyclableType> FakeObd2Frame::getObd2FreezeFrame( in getObd2FreezeFrame()
154 VhalResult<VehiclePropValuePool::RecyclableType> FakeObd2Frame::getObd2DtcInfo() const { in getObd2DtcInfo()
171 VhalResult<void> FakeObd2Frame::clearObd2FreezeFrames(const VehiclePropValue& propValue) { in clearObd2FreezeFrames()
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehiclePropertyStore.cpp90 VhalResult<VehiclePropValuePool::RecyclableType> VehiclePropertyStore::readValueLocked( in readValueLocked()
109 VhalResult<void> VehiclePropertyStore::writeValue(VehiclePropValuePool::RecyclableType propValue, in writeValue()
355 VhalResult<const VehiclePropConfig*> VehiclePropertyStore::getConfig(int32_t propId) const { in getConfig()
366 VhalResult<VehiclePropConfig> VehiclePropertyStore::getPropConfig(int32_t propId) const { in getPropConfig()
DPendingRequestPool.cpp81 VhalResult<void> PendingRequestPool::addRequests( in addRequests()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/include/
DFakeUserHal.h42 using ValueResultType = VhalResult<VehiclePropValuePool::RecyclableType>;
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp462 VhalResult<void> FakeVehicleHardware::setApPowerStateReqShutdown(const VehiclePropValue& value) { in setApPowerStateReqShutdown()
481 VhalResult<void> FakeVehicleHardware::setApPowerStateReport(const VehiclePropValue& value) { in setApPowerStateReport()
581 VhalResult<void> FakeVehicleHardware::setHvacTemperatureValueSuggestion( in setHvacTemperatureValueSuggestion()
654 VhalResult<void> FakeVehicleHardware::isAdasPropertyAvailable(int32_t adasStatePropertyId) const { in isAdasPropertyAvailable()
689 VhalResult<void> FakeVehicleHardware::setUserHalProp(const VehiclePropValue& value) { in setUserHalProp()
713 VhalResult<void> FakeVehicleHardware::synchronizeHvacTemp(int32_t hvacDualOnAreaId, in synchronizeHvacTemp()
793 VhalResult<bool> FakeVehicleHardware::isCruiseControlTypeStandard() const { in isCruiseControlTypeStandard()
839 VhalResult<void> isAdasPropertyAvailableResult; in maybeGetSpecialValue()
1015 VhalResult<void> FakeVehicleHardware::maybeSetSpecialValue(const VehiclePropValue& value, in maybeSetSpecialValue()
1047 VhalResult<void> isAdasPropertyAvailableResult; in maybeSetSpecialValue()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/src/
DFakeUserHal.cpp54 VhalResult<int32_t> getRequestId(const VehiclePropValue& value) { in getRequestId()
62 VhalResult<SwitchUserMessageType> getSwitchUserMessageType(const VehiclePropValue& value) { in getSwitchUserMessageType()
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehiclePropertyStoreTest.cpp106 VhalResult<VehiclePropConfig> result = in TEST_F()
114 VhalResult<VehiclePropConfig> result = mStore->getPropConfig(INVALID_PROP_ID); in TEST_F()
DVehicleUtilsTest.cpp768 VhalResult<void> result = Error<VhalError>(StatusCode::INVALID_ARG) << "error message"; in TEST()