Searched refs:MultiStateCounter (Results 1 – 5 of 5) sorted by relevance
39 class MultiStateCounter {57 MultiStateCounter(uint16_t stateCount, const T& emptyValue);59 virtual ~MultiStateCounter();69 void copyStatesFrom(const MultiStateCounter<T>& source);123 MultiStateCounter<T>::MultiStateCounter(uint16_t stateCount, const T& emptyValue) in MultiStateCounter() function140 MultiStateCounter<T>::~MultiStateCounter() { in ~MultiStateCounter()145 void MultiStateCounter<T>::setEnabled(bool enabled, time_t timestamp) { in setEnabled()171 void MultiStateCounter<T>::setState(state_t state, time_t timestamp) { in setState()202 void MultiStateCounter<T>::copyStatesFrom(const MultiStateCounter<T>& source) { in copyStatesFrom()218 void MultiStateCounter<T>::setValue(state_t state, const T& value) { in setValue()[all …]
26 typedef MultiStateCounter<std::vector<uint64_t>> LongArrayMultiStateCounter;
24 typedef MultiStateCounter<double> DoubleMultiStateCounter;
31 typedef battery::MultiStateCounter<int64_t> LongMultiStateCounter;
103 per-file com_android_internal_os_*MultiStateCounter* = file:/BATTERY_STATS_OWNERS