Home | History | Annotate | Download | only in os

Lines Matching defs:mOnBatteryTimeBase

464                     mOnBatteryTimeBase.isRunning(), mOnBatteryScreenOffTimeBase.isRunning());
635 protected final TimeBase mOnBatteryTimeBase = new TimeBase();
3088 rpmt = new SamplingTimer(mClocks, mOnBatteryTimeBase);
3111 timer = new SamplingTimer(mClocks, mOnBatteryTimeBase);
3133 kmt = new SamplingTimer(mClocks, mOnBatteryTimeBase);
3984 final boolean updateOnBatteryTimeBase = unplugged != mOnBatteryTimeBase.isRunning();
4005 mOnBatteryTimeBase.setRunning(unplugged, uptime, realtime);
4954 mOnBatteryTimeBase.isRunning(), mOnBatteryScreenOffTimeBase.isRunning());
4956 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state,
4964 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state,
6858 mUserCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
6859 mSystemCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
6860 mCpuActiveTimeMs = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
6861 mCpuClusterTimesMs = new LongSamplingCounterArray(mBsi.mOnBatteryTimeBase);
6871 mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase);
6877 mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase);
6882 mBsi.mWifiRunningTimers, mBsi.mOnBatteryTimeBase);
6884 mBsi.mFullWifiLockTimers, mBsi.mOnBatteryTimeBase);
6886 mBsi.mWifiScanTimers, mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase);
6889 mBsi.mWifiMulticastTimers, mBsi.mOnBatteryTimeBase);
6891 mJobsDeferredEventCount = new Counter(mBsi.mOnBatteryTimeBase);
6892 mJobsDeferredCount = new Counter(mBsi.mOnBatteryTimeBase);
6893 mJobsFreshnessTimeMs = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
6994 mBsi.mOnBatteryTimeBase);
7068 mBsi.mWifiRunningTimers, mBsi.mOnBatteryTimeBase);
7088 mBsi.mFullWifiLockTimers, mBsi.mOnBatteryTimeBase);
7108 mBsi.mWifiScanTimers, mBsi.mOnBatteryTimeBase,
7159 WIFI_MULTICAST_ENABLED, mBsi.mWifiMulticastTimers, mBsi.mOnBatteryTimeBase);
7196 mWifiControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
7204 mBluetoothControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
7212 mModemControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
7221 mBsi.mAudioTurnedOnTimers, mBsi.mOnBatteryTimeBase);
7245 mBsi.mVideoTurnedOnTimers, mBsi.mOnBatteryTimeBase);
7269 FLASHLIGHT_TURNED_ON, mBsi.mFlashlightTurnedOnTimers, mBsi.mOnBatteryTimeBase);
7293 mBsi.mCameraTurnedOnTimers, mBsi.mOnBatteryTimeBase);
7317 FOREGROUND_ACTIVITY, null, mBsi.mOnBatteryTimeBase);
7325 FOREGROUND_SERVICE, null, mBsi.mOnBatteryTimeBase);
7342 mBsi.mBluetoothScanOnTimers, mBsi.mOnBatteryTimeBase,
7352 mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase);
7385 mBluetoothScanResultCounter = new Counter(mBsi.mOnBatteryTimeBase);
7429 mBsi.mOnBatteryTimeBase);
7612 mBsi.mOnBatteryTimeBase);
7615 mBsi.mOnBatteryTimeBase, in);
7675 collected, mBsi.mOnBatteryTimeBase);
7678 collected, mBsi.mOnBatteryTimeBase, in);
7686 mUserActivityCounters[i] = new Counter(mBsi.mOnBatteryTimeBase);
7778 mMobileRadioApWakeupCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
7793 mWifiRadioApWakeupCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
7855 mNetworkByteActivityCounters[i] = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
7856 mNetworkPacketActivityCounters[i] = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
7858 mMobileRadioActiveTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
7859 mMobileRadioActiveCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase);
8556 mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase, in));
8566 mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase, in));
8572 mJobsDeferredEventCount = new Counter(mBsi.mOnBatteryTimeBase, in);
8573 mJobsDeferredCount = new Counter(mBsi.mOnBatteryTimeBase, in);
8574 mJobsFreshnessTimeMs = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8576 mJobsFreshnessBuckets[i] = Counter.readCounterFromParcel(mBsi.mOnBatteryTimeBase,
8585 sensor.readFromParcelLocked(mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase,
8611 mBsi.mWifiRunningTimers, mBsi.mOnBatteryTimeBase, in);
8618 mBsi.mFullWifiLockTimers, mBsi.mOnBatteryTimeBase, in);
8625 mBsi.mWifiScanTimers, mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase,
8641 mBsi.mWifiMulticastTimers, mBsi.mOnBatteryTimeBase, in);
8647 mBsi.mAudioTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
8653 mBsi.mVideoTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
8659 FLASHLIGHT_TURNED_ON, mBsi.mFlashlightTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
8665 mBsi.mCameraTurnedOnTimers, mBsi.mOnBatteryTimeBase, in);
8671 FOREGROUND_ACTIVITY, null, mBsi.mOnBatteryTimeBase, in);
8677 FOREGROUND_SERVICE, null, mBsi.mOnBatteryTimeBase, in);
8691 mBsi.mBluetoothScanOnTimers, mBsi.mOnBatteryTimeBase,
8699 mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase, in);
8704 mBluetoothScanResultCounter = new Counter(mBsi.mOnBatteryTimeBase, in);
8723 mBsi.mOnBatteryTimeBase, in);
8730 mUserActivityCounters[i] = new Counter(mBsi.mOnBatteryTimeBase, in);
8741 = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8743 = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8745 mMobileRadioActiveTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8746 mMobileRadioActiveCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8753 mWifiControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
8760 mBluetoothControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
8767 mModemControllerActivity = new ControllerActivityCounterImpl(mBsi.mOnBatteryTimeBase,
8773 mUserCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8774 mSystemCpuTime = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8796 mBsi.mOnBatteryTimeBase, in);
8807 mCpuFreqTimeMs = LongSamplingCounterArray.readFromParcel(in, mBsi.mOnBatteryTimeBase);
8811 mCpuActiveTimeMs = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8812 mCpuClusterTimesMs = new LongSamplingCounterArray(mBsi.mOnBatteryTimeBase, in);
8819 in, mBsi.mOnBatteryTimeBase);
8836 mMobileRadioApWakeupCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8842 mWifiRadioApWakeupCount = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
8859 mBsi.mOnBatteryTimeBase);
9189 mBsi.mOnBatteryTimeBase.add(this);
9206 mBsi.mOnBatteryTimeBase.remove(this);
9314 addCpuTimeLocked(utime, stime, mBsi.mOnBatteryTimeBase.isRunning());
9611 mBsi.mOnBatteryTimeBase.add(this);
9629 mBsi.mOnBatteryTimeBase.remove(this);
9799 mBsi.mOnBatteryTimeBase.isRunning(),
9844 boolean on = mBsi.mOnBatteryTimeBase.isRunning() && isInBackground();
9943 mBsi.mOnBatteryTimeBase, mOnBatteryBackgroundTimeBase);
9974 if (mBsi.mOnBatteryTimeBase.isRunning()) {
10004 mBsi.mFullTimers, mBsi.mOnBatteryTimeBase);
10013 mBsi.mWindowTimers, mBsi.mOnBatteryTimeBase);
10022 mBsi.mDrawTimers, mBsi.mOnBatteryTimeBase);
10128 mScreenOnTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase);
10129 mScreenDozeTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase);
10132 mOnBatteryTimeBase);
10134 mInteractiveTimer = new StopwatchTimer(mClocks, null, -10, null, mOnBatteryTimeBase);
10136 mOnBatteryTimeBase);
10138 mOnBatteryTimeBase);
10139 mDeviceIdleModeFullTimer = new StopwatchTimer(mClocks, null, -14, null, mOnBatteryTimeBase);
10140 mDeviceLightIdlingTimer = new StopwatchTimer(mClocks, null, -15, null, mOnBatteryTimeBase);
10141 mDeviceIdlingTimer = new StopwatchTimer(mClocks, null, -12, null, mOnBatteryTimeBase);
10142 mPhoneOnTimer = new StopwatchTimer(mClocks, null, -3, null, mOnBatteryTimeBase);
10145 mOnBatteryTimeBase);
10148 mOnBatteryTimeBase);
10151 mOnBatteryTimeBase);
10154 mNetworkByteActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase);
10155 mNetworkPacketActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase);
10157 mWifiActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase, NUM_WIFI_TX_LEVELS);
10158 mBluetoothActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
10160 mModemActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
10162 mMobileRadioActiveTimer = new StopwatchTimer(mClocks, null, -400, null, mOnBatteryTimeBase);
10164 mOnBatteryTimeBase);
10165 mMobileRadioActiveAdjustedTime = new LongSamplingCounter(mOnBatteryTimeBase);
10166 mMobileRadioActiveUnknownTime = new LongSamplingCounter(mOnBatteryTimeBase);
10167 mMobileRadioActiveUnknownCount = new LongSamplingCounter(mOnBatteryTimeBase);
10169 WIFI_AGGREGATE_MULTICAST_ENABLED, null, mOnBatteryTimeBase);
10170 mWifiOnTimer = new StopwatchTimer(mClocks, null, -4, null, mOnBatteryTimeBase);
10171 mOnBatteryTimeBase);
10174 mOnBatteryTimeBase);
10178 mOnBatteryTimeBase);
10182 mOnBatteryTimeBase);
10184 mWifiActiveTimer = new StopwatchTimer(mClocks, null, -900, null, mOnBatteryTimeBase);
10187 mOnBatteryTimeBase);
10189 mAudioOnTimer = new StopwatchTimer(mClocks, null, -7, null, mOnBatteryTimeBase);
10190 mVideoOnTimer = new StopwatchTimer(mClocks, null, -8, null, mOnBatteryTimeBase);
10191 mFlashlightOnTimer = new StopwatchTimer(mClocks, null, -9, null, mOnBatteryTimeBase);
10192 mCameraOnTimer = new StopwatchTimer(mClocks, null, -13, null, mOnBatteryTimeBase);
10193 mBluetoothScanTimer = new StopwatchTimer(mClocks, null, -14, null, mOnBatteryTimeBase);
10195 mDischargeScreenDozeCounter = new LongSamplingCounter(mOnBatteryTimeBase);
10196 mDischargeLightDozeCounter = new LongSamplingCounter(mOnBatteryTimeBase);
10197 mDischargeDeepDozeCounter = new LongSamplingCounter(mOnBatteryTimeBase);
10198 mDischargeCounter = new LongSamplingCounter(mOnBatteryTimeBase);
10763 mOnBatteryTimeBase.init(uptime, realtime);
10800 mOnBatteryTimeBase.reset(uptime, realtime);
10902 mOnBatteryTimeBase.remove(timer);
10922 mOnBatteryTimeBase.remove(mKernelMemoryStats.valueAt(i));
10929 mOnBatteryTimeBase.remove(timer);
11876 timer = new SamplingTimer(mClocks, mOnBatteryTimeBase);
11891 return mOnBatteryTimeBase.isRunning();
12049 cpuSpeeds[speed] = new LongSamplingCounter(mOnBatteryTimeBase);
12199 u.mCpuFreqTimeMs = new LongSamplingCounterArray(mOnBatteryTimeBase);
12232 cpuTimesUs[speed] = new LongSamplingCounter(mOnBatteryTimeBase);
12273 cpuTimeUs[speed] = new LongSamplingCounter(mOnBatteryTimeBase);
12768 case STATS_SINCE_UNPLUGGED: return (curTime-mOnBatteryTimeBase.getUptimeStart());
12778 case STATS_SINCE_UNPLUGGED: return (curTime-mOnBatteryTimeBase.getRealtimeStart());
12785 return mOnBatteryTimeBase.computeUptime(curTime, which);
12790 return mOnBatteryTimeBase.computeRealtime(curTime, which);
13031 return mOnBatteryTimeBase.getUptime(mClocks.uptimeMillis() * 1000);
13036 return mOnBatteryTimeBase.getUptime(curTime);
13041 return mOnBatteryTimeBase.getRealtime(curTime);
13722 mOnBatteryTimeBase.readSummaryFromParcel(in);
14008 mOnBatteryTimeBase);
14021 in, mOnBatteryTimeBase);
14034 in, mOnBatteryTimeBase);
14052 u.mMobileRadioApWakeupCount = new LongSamplingCounter(mOnBatteryTimeBase);
14059 u.mWifiRadioApWakeupCount = new LongSamplingCounter(mOnBatteryTimeBase);
14099 u.mJobsFreshnessBuckets[i] = new Counter(u.mBsi.mOnBatteryTimeBase);
14190 mOnBatteryTimeBase.writeSummaryToParcel(out, NOW_SYS, NOWREAL_SYS);
14660 mOnBatteryTimeBase.getUptime(NOW_SYS));
14695 mOnBatteryTimeBase.readFromParcel(in);
14699 mScreenOnTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase, in);
14700 mScreenDozeTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase, in);
14703 mOnBatteryTimeBase, in);
14706 mInteractiveTimer = new StopwatchTimer(mClocks, null, -10, null, mOnBatteryTimeBase, in);
14709 mOnBatteryTimeBase, in);
14713 mOnBatteryTimeBase, in);
14715 mOnBatteryTimeBase, in);
14717 mOnBatteryTimeBase, in);
14718 mDeviceIdlingTimer = new StopwatchTimer(mClocks, null, -12, null, mOnBatteryTimeBase, in);
14719 mPhoneOnTimer = new StopwatchTimer(mClocks, null, -3, null, mOnBatteryTimeBase, in);
14722 null, mOnBatteryTimeBase, in);
14725 mOnBatteryTimeBase, in);
14728 null, mOnBatteryTimeBase, in);
14731 mNetworkByteActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase, in);
14732 mNetworkPacketActivityCounters[i] = new LongSamplingCounter(mOnBatteryTimeBase, in);
14736 mOnBatteryTimeBase, in);
14738 mOnBatteryTimeBase, in);
14739 mMobileRadioActiveAdjustedTime = new LongSamplingCounter(mOnBatteryTimeBase, in);
14740 mMobileRadioActiveUnknownTime = new LongSamplingCounter(mOnBatteryTimeBase, in);
14741 mMobileRadioActiveUnknownCount = new LongSamplingCounter(mOnBatteryTimeBase, in);
14743 mOnBatteryTimeBase, in);
14746 mWifiOnTimer = new StopwatchTimer(mClocks, null, -4, null, mOnBatteryTimeBase, in);
14749 mOnBatteryTimeBase, in);
14752 null, mOnBatteryTimeBase, in);
14756 null, mOnBatteryTimeBase, in);
14760 null, mOnBatteryTimeBase, in);
14763 mOnBatteryTimeBase, in);
14764 mWifiActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
14768 null, mOnBatteryTimeBase, in);
14770 mBluetoothActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
14772 mModemActivity = new ControllerActivityCounterImpl(mOnBatteryTimeBase,
14782 mAudioOnTimer = new StopwatchTimer(mClocks, null, -7, null, mOnBatteryTimeBase);
14784 mVideoOnTimer = new StopwatchTimer(mClocks, null, -8, null, mOnBatteryTimeBase);
14786 mFlashlightOnTimer = new StopwatchTimer(mClocks, null, -9, null, mOnBatteryTimeBase, in);
14788 mCameraOnTimer = new StopwatchTimer(mClocks, null, -13, null, mOnBatteryTimeBase, in);
14790 mBluetoothScanTimer = new StopwatchTimer(mClocks, null, -14, null, mOnBatteryTimeBase, in);
14806 mDischargeCounter = new LongSamplingCounter(mOnBatteryTimeBase, in);
14808 mDischargeScreenDozeCounter = new LongSamplingCounter(mOnBatteryTimeBase, in);
14809 mDischargeLightDozeCounter = new LongSamplingCounter(mOnBatteryTimeBase, in);
14810 mDischargeDeepDozeCounter = new LongSamplingCounter(mOnBatteryTimeBase, in);
14818 SamplingTimer rpmt = new SamplingTimer(mClocks, mOnBatteryTimeBase, in);
14847 SamplingTimer timer = new SamplingTimer(mClocks, mOnBatteryTimeBase, in);
14857 SamplingTimer kmt = new SamplingTimer(mClocks, mOnBatteryTimeBase, in);
14880 u.readFromParcelLocked(mOnBatteryTimeBase, mOnBatteryScreenOffTimeBase, in);
14904 final long batteryRealtime = mOnBatteryTimeBase.getRealtime(uSecRealtime);
14923 mOnBatteryTimeBase.writeToParcel(out, uSecUptime, uSecRealtime);
15105 pw.println("mOnBatteryTimeBase:");
15106 mOnBatteryTimeBase.dump(pw, " ");