Home
last modified time | relevance | path

Searched refs:MultiStateCounter (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/battery/
DMultiStateCounter.h39 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() function
140 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 …]
DLongArrayMultiStateCounter.h26 typedef MultiStateCounter<std::vector<uint64_t>> LongArrayMultiStateCounter;
DMultiStateCounterTest.cpp24 typedef MultiStateCounter<double> DoubleMultiStateCounter;
/frameworks/base/core/jni/
Dcom_android_internal_os_LongMultiStateCounter.cpp31 typedef battery::MultiStateCounter<int64_t> LongMultiStateCounter;
DOWNERS103 per-file com_android_internal_os_*MultiStateCounter* = file:/BATTERY_STATS_OWNERS