Lines Matching refs:Counter

922     public static class Counter extends BatteryStats.Counter implements TimeBaseObs {
929 public Counter(TimeBase timeBase, Parcel in) {
938 public Counter(TimeBase timeBase) {
960 * Writes a possibly null Counter to a Parcel.
963 * @param counter a Counter, or null.
965 public static void writeCounterToParcel(Parcel out, Counter counter) {
5748 Counter mBluetoothScanResultCounter;
5749 Counter mBluetoothScanResultBgCounter;
5758 Counter[] mUserActivityCounters;
6288 public Counter createBluetoothScanResultCounterLocked() {
6290 mBluetoothScanResultCounter = new Counter(mBsi.mOnBatteryTimeBase);
6295 public Counter createBluetoothScanResultBgCounterLocked() {
6297 mBluetoothScanResultBgCounter = new Counter(mOnBatteryBackgroundTimeBase);
6490 public Counter getBluetoothScanResultCounter() {
6495 public Counter getBluetoothScanResultBgCounter() {
6576 mUserActivityCounters = new Counter[NUM_USER_ACTIVITY_TYPES];
6578 mUserActivityCounters[i] = new Counter(mBsi.mOnBatteryTimeBase);
7471 mBluetoothScanResultCounter = new Counter(mBsi.mOnBatteryTimeBase, in);
7476 mBluetoothScanResultBgCounter = new Counter(mOnBatteryBackgroundTimeBase, in);
7495 mUserActivityCounters = new Counter[NUM_USER_ACTIVITY_TYPES];
7497 mUserActivityCounters[i] = new Counter(mBsi.mOnBatteryTimeBase, in);
8142 ArrayMap<String, Counter> mWakeupAlarms = new ArrayMap<>();
8169 mWakeupAlarms.put(tag, new Counter(mBsi.mOnBatteryScreenOffTimeBase, in));
8201 public ArrayMap<String, ? extends BatteryStats.Counter> getWakeupAlarmStats() {
8206 Counter c = mWakeupAlarms.get(tag);
8208 c = new Counter(mBsi.mOnBatteryScreenOffTimeBase);
12144 Counter c = new Counter(mOnBatteryScreenOffTimeBase);