Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/utils/
DUserHalHelper.cpp41 auto prop = verifyAndCast<VehicleProperty>(propValue.prop); in verifyPropValue()
115 auto type = verifyAndCast<UserIdentificationAssociationType>(int32Values[pos]); in parseUserAssociationTypes()
135 auto type = verifyAndCast<UserIdentificationAssociationType>(int32Values[pos]); in parseUserAssociations()
140 auto value = verifyAndCast<UserIdentificationAssociationSetValue>(int32Values[pos + 1]); in parseUserAssociations()
153 Result<T> verifyAndCast(int32_t value) { in verifyAndCast() function
170 auto requestType = verifyAndCast<InitialUserInfoRequestType>(propValue.value.int32Values[1]); in toInitialUserInfoRequest()
188 auto messageType = verifyAndCast<SwitchUserMessageType>(propValue.value.int32Values[1]); in toSwitchUserRequest()
DUserHalHelper.h37 android::base::Result<T> verifyAndCast(int32_t value);
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/src/
DUserHalHelper.cpp66 auto prop = verifyAndCast<VehicleProperty>(propValue.prop); in verifyPropValue()
133 auto type = verifyAndCast<UserIdentificationAssociationType>(int32Values[pos]); in parseUserAssociationTypes()
153 auto type = verifyAndCast<UserIdentificationAssociationType>(int32Values[pos]); in parseUserAssociations()
158 auto value = verifyAndCast<UserIdentificationAssociationSetValue>(int32Values[pos + 1]); in parseUserAssociations()
171 Result<T> verifyAndCast(int32_t value) { in verifyAndCast() function
189 auto requestType = verifyAndCast<InitialUserInfoRequestType>(propValue.value.int32Values[1]); in toInitialUserInfoRequest()
207 auto messageType = verifyAndCast<SwitchUserMessageType>(propValue.value.int32Values[1]); in toSwitchUserRequest()
DFakeUserHal.cpp67 auto result = user_hal_helper::verifyAndCast<SwitchUserMessageType>(value.value.int32Values[1]); in getSwitchUserMessageType()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/include/
DUserHalHelper.h38 android::base::Result<T> verifyAndCast(int32_t value);
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/userhal/
DFakeUserHal.cpp58 return user_hal_helper::verifyAndCast<SwitchUserMessageType>(value.value.int32Values[1]); in getSwitchUserMessageType()