Home
last modified time | relevance | path

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

/hardware/google/pixel/pwrstats_util/dataproviders/
DDataProviderHelper.cpp22 StateResidency_Residency* intervalResidency) { in StateResidencyInterval() argument
24 if (startResidency.size() != intervalResidency->size()) { in StateResidencyInterval()
32 if (startResidency.Get(i).entity_name() != intervalResidency->Get(i).entity_name() || in StateResidencyInterval()
33 startResidency.Get(i).state_name() != intervalResidency->Get(i).state_name()) { in StateResidencyInterval()
38 auto delta = intervalResidency->Get(i).time_ms() - startResidency.Get(i).time_ms(); in StateResidencyInterval()
39 intervalResidency->Mutable(i)->set_time_ms(delta); in StateResidencyInterval()
DPowerEntityResidencyDataProvider.cpp109 auto intervalResidency = interval->mutable_power_entity_state_residency()->mutable_residency(); in getImpl() local
111 if (0 != StateResidencyInterval(startResidency, intervalResidency)) { in getImpl()