Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVmsUtils.cpp231 int current_index = toInt(VmsSubscriptionsStateIntegerValuesIndex::SUBSCRIPTIONS_START); in getSubscribedLayers() local
237 if (subscriptions_state_int_size < current_index + kLayerSize) { in getSubscribedLayers()
240 VmsLayer layer = VmsLayer(subscriptions_state.value.int32Values[current_index], in getSubscribedLayers()
241 subscriptions_state.value.int32Values[current_index + 1], in getSubscribedLayers()
242 subscriptions_state.value.int32Values[current_index + 2]); in getSubscribedLayers()
246 current_index += kLayerSize; in getSubscribedLayers()
258 if (subscriptions_state_int_size < current_index + kLayerSize) { in getSubscribedLayers()
261 VmsLayer layer = VmsLayer(subscriptions_state.value.int32Values[current_index], in getSubscribedLayers()
262 subscriptions_state.value.int32Values[current_index + 1], in getSubscribedLayers()
263 subscriptions_state.value.int32Values[current_index + 2]); in getSubscribedLayers()
[all …]
/hardware/google/pixel/thermal/
Dthermal-helper.cpp475 int current_index = 0; in fillTemperatures() local
480 (*temperatures)[current_index] = temp; in fillTemperatures()
486 ++current_index; in fillTemperatures()
488 return current_index > 0; in fillTemperatures()