Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVmsUtils.cpp319 bool isAvailabilitySequenceNumberNewer(const VehiclePropValue& availability_state, in isAvailabilitySequenceNumberNewer() argument
321 return (isValidVmsMessage(availability_state) && in isAvailabilitySequenceNumberNewer()
322 (parseMessageType(availability_state) == VmsMessageType::AVAILABILITY_CHANGE || in isAvailabilitySequenceNumberNewer()
323 parseMessageType(availability_state) == VmsMessageType::AVAILABILITY_RESPONSE) && in isAvailabilitySequenceNumberNewer()
324 availability_state.value.int32Values.size() > kAvailabilitySequenceNumberIndex && in isAvailabilitySequenceNumberNewer()
325 availability_state.value.int32Values[kAvailabilitySequenceNumberIndex] > in isAvailabilitySequenceNumberNewer()
329 int32_t getSequenceNumberForAvailabilityState(const VehiclePropValue& availability_state) { in getSequenceNumberForAvailabilityState() argument
330 if (isValidVmsMessage(availability_state) && in getSequenceNumberForAvailabilityState()
331 (parseMessageType(availability_state) == VmsMessageType::AVAILABILITY_CHANGE || in getSequenceNumberForAvailabilityState()
332 parseMessageType(availability_state) == VmsMessageType::AVAILABILITY_RESPONSE) && in getSequenceNumberForAvailabilityState()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVmsUtils.h238 bool isAvailabilitySequenceNumberNewer(const VehiclePropValue& availability_state,
242 int32_t getSequenceNumberForAvailabilityState(const VehiclePropValue& availability_state);
252 std::vector<VmsAssociatedLayer> getAvailableLayers(const VehiclePropValue& availability_state);