Home
last modified time | relevance | path

Searched refs:parseMessageType (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVmsUtils.cpp175 VmsMessageType parseMessageType(const VehiclePropValue& value) { in parseMessageType() function
180 if (isValidVmsMessage(value) && parseMessageType(value) == VmsMessageType::DATA && in parseData()
190 parseMessageType(publisher_id_response) == VmsMessageType::PUBLISHER_ID_RESPONSE && in parsePublisherIdResponse()
200 (parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_CHANGE || in isSequenceNumberNewer()
201 parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_RESPONSE) && in isSequenceNumberNewer()
209 (parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_CHANGE || in getSequenceNumberForSubscriptionsState()
210 parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_RESPONSE) && in getSequenceNumberForSubscriptionsState()
220 (parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_CHANGE || in getSubscribedLayers()
221 parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_RESPONSE) && in getSubscribedLayers()
288 parseMessageType(availability_change) == VmsMessageType::AVAILABILITY_CHANGE && in hasServiceNewlyStarted()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVmsUtils_test.cpp39 EXPECT_EQ(parseMessageType(*message), VmsMessageType::SUBSCRIBE); in TEST()
54 EXPECT_EQ(parseMessageType(*message), VmsMessageType::UNSUBSCRIBE); in TEST()
69 EXPECT_EQ(parseMessageType(*message), VmsMessageType::OFFERING); in TEST()
96 EXPECT_EQ(parseMessageType(*message), VmsMessageType::OFFERING); in TEST()
129 EXPECT_EQ(parseMessageType(*message), VmsMessageType::AVAILABILITY_REQUEST); in TEST()
138 EXPECT_EQ(parseMessageType(*message), VmsMessageType::SUBSCRIPTIONS_REQUEST); in TEST()
159 EXPECT_EQ(parseMessageType(*message), VmsMessageType::DATA); in TEST()
200 EXPECT_EQ(parseMessageType(*message), VmsMessageType::PUBLISHER_ID_REQUEST); in TEST()
420 EXPECT_EQ(parseMessageType(*message), VmsMessageType::START_SESSION); in TEST()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVmsUtils.h191 VmsMessageType parseMessageType(const VehiclePropValue& value);
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DVehicleManager_fuzzer.cpp71 using ::android::hardware::automotive::vehicle::V2_0::vms::parseMessageType;
334 parseMessageType(*message); in invokeVmsUtils()