Lines Matching defs:mOnBatteryTimeBase

264     protected final TimeBase mOnBatteryTimeBase = new TimeBase();
2066 timer = new SamplingTimer(mClocks, mOnBatteryTimeBase);
2906 mOnBatteryTimeBase.setRunning(unplugged, uptime, realtime);
3460 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), false,
3488 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), true,
4993 mUserCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
4994 mSystemCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
4995 mCpuPower = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
5005 mBsi.mOnBatteryTimeBase);
5011 mBsi.mOnBatteryTimeBase);
5016 mBsi.mWifiRunningTimers, mBsi.mOnBatteryTimeBase);
5018 mBsi.mFullWifiLockTimers, mBsi.mOnBatteryTimeBase);
5020 mBsi.mWifiScanTimers, mBsi.mOnBatteryTimeBase);
5023 mBsi.mWifiMulticastTimers, mBsi.mOnBatteryTimeBase);
5068 mBsi.mWifiRunningTimers, mBsi.mOnBatteryTimeBase);
5088 mBsi.mFullWifiLockTimers, mBsi.mOnBatteryTimeBase);
5108 mBsi.mWifiScanTimers, mBsi.mOnBatteryTimeBase);
5158 WIFI_MULTICAST_ENABLED, mBsi.mWifiMulticastTimers, mBsi.mOnBatteryTimeBase);
5189 mWifiControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
5197 mBluetoothControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
5205 mModemControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
5214 mBsi.mAudioTurnedOnTimers, mBsi.mOnBatteryTimeBase);
5238 mBsi.mVideoTurnedOnTimers, mBsi.mOnBatteryTimeBase);
5262 FLASHLIGHT_TURNED_ON, mBsi.mFlashlightTurnedOnTimers, mBsi.mOnBatteryTimeBase);
5286 mBsi.mCameraTurnedOnTimers, mBsi.mOnBatteryTimeBase);
5310 FOREGROUND_ACTIVITY, null, mBsi.mOnBatteryTimeBase);
5318 mBsi.mBluetoothScanOnTimers, mBsi.mOnBatteryTimeBase);
5355 mBsi.mOnBatteryTimeBase);
5463 mBsi.mOnBatteryTimeBase);
5466 mBsi.mOnBatteryTimeBase, in);
5526 collected, mBsi.mOnBatteryTimeBase);
5529 collected, mBsi.mOnBatteryTimeBase, in);
5537 mUserActivityCounters[i] = new Counter(mBsi.mOnBatteryTimeBase);
5636 mNetworkByteActivityCounters[i] = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
5637 mNetworkPacketActivityCounters[i] = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
5639 mMobileRadioActiveTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
5640 mMobileRadioActiveCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
6154 sensor.readFromParcelLocked(mBsi.mOnBatteryTimeBase, in);
6179 mBsi.mWifiRunningTimers, mBsi.mOnBatteryTimeBase, in);
6186 mBsi.mFullWifiLockTimers, mBsi.mOnBatteryTimeBase, in);
6193 mBsi.mWifiScanTimers, mBsi.mOnBatteryTimeBase, in);
6208 mBsi.mWifiMulticastTimers, mBsi.mOnBatteryTimeBase, in);
6214 mBsi.mAudioTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
6220 mBsi.mVideoTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
6226 FLASHLIGHT_TURNED_ON, mBsi.mFlashlightTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
6232 mBsi.mCameraTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
6238 FOREGROUND_ACTIVITY, null, mBsi.mOnBatteryTimeBase, in);
6244 mBsi.mBluetoothScanOnTimers, mBsi.mOnBatteryTimeBase, in);
6258 mBsi.mOnBatteryTimeBase, in);
6265 mUserActivityCounters[i] = new Counter(mBsi.mOnBatteryTimeBase, in);
6276 = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6278 = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6280 mMobileRadioActiveTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6281 mMobileRadioActiveCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6288 mWifiControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
6295 mBluetoothControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
6302 mModemControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
6308 mUserCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6309 mSystemCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6310 mCpuPower = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6331 cpuSpeeds[speed] = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
6474 mBsi.mFullTimers, mBsi.mOnBatteryTimeBase);
6482 mBsi.mWindowTimers, mBsi.mOnBatteryTimeBase);
6490 mBsi.mDrawTimers, mBsi.mOnBatteryTimeBase);
6674 mBsi.mOnBatteryTimeBase.add(this);
6691 mBsi.mOnBatteryTimeBase.remove(this);
6941 mWakeupAlarms.put(tag, new Counter(mBsi.mOnBatteryTimeBase, in));
6980 c = new Counter(mBsi.mOnBatteryTimeBase);
7100 mBsi.mOnBatteryTimeBase.add(this);
7118 mBsi.mOnBatteryTimeBase.remove(this);
7392 mBsi.mOnBatteryTimeBase);
7526 mScreenOnTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase);
7529 mOnBatteryTimeBase);
7531 mInteractiveTimer = new StopwatchTimer(mClocks, null, -10, null, mOnBatteryTimeBase);
7533 mOnBatteryTimeBase);
7535 mOnBatteryTimeBase);
7536 mDeviceIdleModeFullTimer = new StopwatchTimer(mClocks, null, -14, null, mOnBatteryTimeBase);
7537 mDeviceLightIdlingTimer = new StopwatchTimer(mClocks, null, -15, null, mOnBatteryTimeBase);
7538 mDeviceIdlingTimer = new StopwatchTimer(mClocks, null, -12, null, mOnBatteryTimeBase);
7539 mPhoneOnTimer = new StopwatchTimer(mClocks, null, -3, null, mOnBatteryTimeBase);
7542 mOnBatteryTimeBase);
7545 mOnBatteryTimeBase);
7548 mOnBatteryTimeBase);
7551 mNetworkByteActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase);
7552 mNetworkPacketActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase);
7554 mWifiActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase, NUM_WIFI_TX_LEVELS);
7555 mBluetoothActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
7557 mModemActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
7560 mMobileRadioActiveTimer = new StopwatchTimer(mClocks, null, -400, null, mOnBatteryTimeBase);
7562 mOnBatteryTimeBase);
7563 mMobileRadioActiveAdjustedTime = new LongSamplingCounter(mOnBatteryTimeBase);
7564 mMobileRadioActiveUnknownTime = new LongSamplingCounter(mOnBatteryTimeBase);
7565 mMobileRadioActiveUnknownCount = new LongSamplingCounter(mOnBatteryTimeBase);
7566 mWifiOnTimer = new StopwatchTimer(mClocks, null, -4, null, mOnBatteryTimeBase);
7567 mGlobalWifiRunningTimer = new StopwatchTimer(mClocks, null, -5, null, mOnBatteryTimeBase);
7570 mOnBatteryTimeBase);
7574 mOnBatteryTimeBase);
7578 mOnBatteryTimeBase);
7580 mAudioOnTimer = new StopwatchTimer(mClocks, null, -7, null, mOnBatteryTimeBase);
7581 mVideoOnTimer = new StopwatchTimer(mClocks, null, -8, null, mOnBatteryTimeBase);
7582 mFlashlightOnTimer = new StopwatchTimer(mClocks, null, -9, null, mOnBatteryTimeBase);
7583 mCameraOnTimer = new StopwatchTimer(mClocks, null, -13, null, mOnBatteryTimeBase);
7584 mBluetoothScanTimer = new StopwatchTimer(mClocks, null, -14, null, mOnBatteryTimeBase);
7586 mDischargeCounter = new LongSamplingCounter(mOnBatteryTimeBase);
8132 mOnBatteryTimeBase.init(uptime, realtime);
8164 mOnBatteryTimeBase.reset(uptime, realtime);
8258 mOnBatteryTimeBase.remove(timer);
9068 cpuSpeeds[speed] = new LongSamplingCounter(mOnBatteryTimeBase);
9521 case STATS_SINCE_UNPLUGGED: return (curTime-mOnBatteryTimeBase.getUptimeStart());
9531 case STATS_SINCE_UNPLUGGED: return (curTime-mOnBatteryTimeBase.getRealtimeStart());
9538 return mOnBatteryTimeBase.computeUptime(curTime, which);
9543 return mOnBatteryTimeBase.computeRealtime(curTime, which);
9677 return mOnBatteryTimeBase.getUptime(mClocks.uptimeMillis() * 1000);
9682 return mOnBatteryTimeBase.getUptime(curTime);
9687 return mOnBatteryTimeBase.getRealtime(curTime);
10112 mOnBatteryTimeBase.readSummaryFromParcel(in);
10339 mOnBatteryTimeBase);
10420 Counter c = new Counter(mOnBatteryTimeBase);
10465 mOnBatteryTimeBase.writeSummaryToParcel(out, NOW_SYS, NOWREAL_SYS);
10805 mOnBatteryTimeBase.getUptime(NOW_SYS));
10838 mOnBatteryTimeBase.readFromParcel(in);
10842 mScreenOnTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase, in);
10845 mOnBatteryTimeBase, in);
10848 mInteractiveTimer = new StopwatchTimer(mClocks, null, -10, null, mOnBatteryTimeBase, in);
10851 mOnBatteryTimeBase, in);
10855 mOnBatteryTimeBase, in);
10857 mOnBatteryTimeBase, in);
10859 mOnBatteryTimeBase, in);
10860 mDeviceIdlingTimer = new StopwatchTimer(mClocks, null, -12, null, mOnBatteryTimeBase, in);
10861 mPhoneOnTimer = new StopwatchTimer(mClocks, null, -3, null, mOnBatteryTimeBase, in);
10864 null, mOnBatteryTimeBase, in);
10867 mOnBatteryTimeBase, in);
10870 null, mOnBatteryTimeBase, in);
10873 mNetworkByteActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase, in);
10874 mNetworkPacketActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase, in);
10878 mOnBatteryTimeBase, in);
10880 mOnBatteryTimeBase, in);
10881 mMobileRadioActiveAdjustedTime = new LongSamplingCounter(mOnBatteryTimeBase, in);
10882 mMobileRadioActiveUnknownTime = new LongSamplingCounter(mOnBatteryTimeBase, in);
10883 mMobileRadioActiveUnknownCount = new LongSamplingCounter(mOnBatteryTimeBase, in);
10886 mWifiOnTimer = new StopwatchTimer(mClocks, null, -4, null, mOnBatteryTimeBase, in);
10889 mOnBatteryTimeBase, in);
10892 null, mOnBatteryTimeBase, in);
10896 null, mOnBatteryTimeBase, in);
10900 null, mOnBatteryTimeBase, in);
10903 mWifiActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
10905 mBluetoothActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
10907 mModemActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
10917 mAudioOnTimer = new StopwatchTimer(mClocks, null, -7, null, mOnBatteryTimeBase);
10919 mVideoOnTimer = new StopwatchTimer(mClocks, null, -8, null, mOnBatteryTimeBase);
10921 mFlashlightOnTimer = new StopwatchTimer(mClocks, null, -9, null, mOnBatteryTimeBase, in);
10923 mCameraOnTimer = new StopwatchTimer(mClocks, null, -13, null, mOnBatteryTimeBase, in);
10925 mBluetoothScanTimer = new StopwatchTimer(mClocks, null, -14, null, mOnBatteryTimeBase, in);
10938 mDischargeCounter = new LongSamplingCounter(mOnBatteryTimeBase, in);
10939 mDischargeScreenOffCounter = new LongSamplingCounter(mOnBatteryTimeBase, in);
10957 SamplingTimer timer = new SamplingTimer(mClocks, mOnBatteryTimeBase, in);
10980 u.readFromParcelLocked(mOnBatteryTimeBase, mOnBatteryScreenOffTimeBase, in);
11004 final long batteryRealtime = mOnBatteryTimeBase.getRealtime(uSecRealtime);
11021 mOnBatteryTimeBase.writeToParcel(out, uSecUptime, uSecRealtime);
11156 pw.println("mOnBatteryTimeBase:");
11157 mOnBatteryTimeBase.dump(pw, " ");