Home
last modified time | relevance | path

Searched refs:updatedValue (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehiclePropertyStoreTest.cpp402 VehiclePropValue updatedValue; in TEST_F() local
404 [&updatedValue](const VehiclePropValue& value) { updatedValue = value; }); in TEST_F()
411 ASSERT_EQ(updatedValue, fuelCapacity); in TEST_F()
415 VehiclePropValue updatedValue; in TEST_F() local
423 [&updatedValue](const VehiclePropValue& value) { updatedValue = value; }); in TEST_F()
430 ASSERT_EQ(updatedValue, fuelCapacity); in TEST_F()
434 VehiclePropValue updatedValue{ in TEST_F() local
444 [&updatedValue](const VehiclePropValue& value) { updatedValue = value; }); in TEST_F()
449 ASSERT_EQ(updatedValue.prop, INVALID_PROP_ID); in TEST_F()
453 VehiclePropValue updatedValue{ in TEST_F() local
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/userhal/
DFakeUserHal.cpp158 auto updatedValue = user_hal_helper::toVehiclePropValue(InitialUserInfoResponse{ in onSetInitialUserInfoResponse() local
163 toString(*updatedValue).c_str()); in onSetInitialUserInfoResponse()
164 return updatedValue; in onSetInitialUserInfoResponse()
210 auto updatedValue = user_hal_helper::toVehiclePropValue(SwitchUserResponse{ in onSetSwitchUserResponse() local
216 toString(*updatedValue).c_str()); in onSetSwitchUserResponse()
217 return updatedValue; in onSetSwitchUserResponse()
243 auto updatedValue = user_hal_helper::toVehiclePropValue(CreateUserResponse{ in onSetCreateUserResponse() local
247 ALOGI("no lshal response; replying with SUCCESS: %s", toString(*updatedValue).c_str()); in onSetCreateUserResponse()
248 return updatedValue; in onSetCreateUserResponse()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/src/
DFakeUserHal.cpp173 auto updatedValue = user_hal_helper::toVehiclePropValue( in onSetInitialUserInfoResponse() local
179 updatedValue->toString().c_str()); in onSetInitialUserInfoResponse()
180 return updatedValue; in onSetInitialUserInfoResponse()
227 auto updatedValue = user_hal_helper::toVehiclePropValue( in onSetSwitchUserResponse() local
234 updatedValue->toString().c_str()); in onSetSwitchUserResponse()
235 return updatedValue; in onSetSwitchUserResponse()
262 auto updatedValue = user_hal_helper::toVehiclePropValue( in onSetCreateUserResponse() local
267 ALOGI("no lshal response; replying with SUCCESS: %s", updatedValue->toString().c_str()); in onSetCreateUserResponse()
268 return updatedValue; in onSetCreateUserResponse()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp482 auto updatedValue = mValuePool->obtain(value); in setApPowerStateReport() local
483 updatedValue->timestamp = elapsedRealtimeNano(); in setApPowerStateReport()
485 if (auto writeResult = mServerSidePropStore->writeValue(std::move(updatedValue)); in setApPowerStateReport()
610 auto updatedValue = mValuePool->obtain(hvacTemperatureValueSuggestion); in setHvacTemperatureValueSuggestion() local
612 auto& hvacTemperatureValueSuggestionInput = updatedValue->value.floatValues; in setHvacTemperatureValueSuggestion()
617 updatedValue->timestamp = elapsedRealtimeNano(); in setHvacTemperatureValueSuggestion()
618 auto writeResult = mServerSidePropStore->writeValue(std::move(updatedValue), in setHvacTemperatureValueSuggestion()
695 auto& updatedValue = result.value(); in setUserHalProp() local
696 if (updatedValue != nullptr) { in setUserHalProp()
698 updatedValue->toString().c_str()); in setUserHalProp()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehiclePropertyStore.cpp114 VehiclePropValue updatedValue; in writeValue() local
168 updatedValue = *(record->values[recId]); in writeValue()
182 onValuesChangeCallback({updatedValue}); in writeValue()
184 onValueChangeCallback(updatedValue); in writeValue()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHal.cpp340 auto updatedValue = ret.value().get(); in setUserHalProp() local
341 if (updatedValue != nullptr) { in setUserHalProp()
343 toString(*updatedValue).c_str()); in setUserHalProp()
344 onPropertyValue(*updatedValue, true); in setUserHalProp()