Home
last modified time | relevance | path

Searched refs:subscriptions_state (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVmsUtils.cpp197 bool isSequenceNumberNewer(const VehiclePropValue& subscriptions_state, in isSequenceNumberNewer() argument
199 return (isValidVmsMessage(subscriptions_state) && in isSequenceNumberNewer()
200 (parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_CHANGE || in isSequenceNumberNewer()
201 parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_RESPONSE) && in isSequenceNumberNewer()
202 subscriptions_state.value.int32Values.size() > kSubscriptionStateSequenceNumberIndex && in isSequenceNumberNewer()
203 subscriptions_state.value.int32Values[kSubscriptionStateSequenceNumberIndex] > in isSequenceNumberNewer()
207 int32_t getSequenceNumberForSubscriptionsState(const VehiclePropValue& subscriptions_state) { in getSequenceNumberForSubscriptionsState() argument
208 if (isValidVmsMessage(subscriptions_state) && in getSequenceNumberForSubscriptionsState()
209 (parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_CHANGE || in getSequenceNumberForSubscriptionsState()
210 parseMessageType(subscriptions_state) == VmsMessageType::SUBSCRIPTIONS_RESPONSE) && in getSequenceNumberForSubscriptionsState()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVmsUtils.h207 bool isSequenceNumberNewer(const VehiclePropValue& subscriptions_state,
211 int32_t getSequenceNumberForSubscriptionsState(const VehiclePropValue& subscriptions_state);
221 std::vector<VmsLayer> getSubscribedLayers(const VehiclePropValue& subscriptions_state,