Home
last modified time | relevance | path

Searched refs:getDeviceIdleTime (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DBluetoothPowerStatsLayout.java80 public long getDeviceIdleTime(long[] stats) { in getDeviceIdleTime() method in BluetoothPowerStatsLayout
DWifiPowerStatsLayout.java140 public long getDeviceIdleTime(long[] stats) { in getDeviceIdleTime() method in WifiPowerStatsLayout
DMobileRadioPowerStatsLayout.java105 public long getDeviceIdleTime(long[] stats) { in getDeviceIdleTime() method in MobileRadioPowerStatsLayout
DBluetoothPowerStatsProcessor.java166 long idleTime = mStatsLayout.getDeviceIdleTime(mTmpDeviceStatsArray); in computeDevicePowerEstimates()
DWifiPowerStatsProcessor.java204 mStatsLayout.getDeviceIdleTime(mTmpDeviceStatsArray)); in computeDevicePowerEstimates()
DMobileRadioPowerStatsProcessor.java250 mStatsLayout.getDeviceIdleTime(mTmpDeviceStatsArray)); in computeDevicePowerEstimates()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMobileRadioPowerStatsCollectorTest.java246 assertThat(layout.getDeviceIdleTime(powerStats.stats)).isEqualTo(300); in collectStats()
302 assertThat(layout.getDeviceIdleTime(powerStats.stats)).isEqualTo(300); in collectStats_noPerNetworkTypeData()
DBluetoothPowerStatsCollectorTest.java196 assertThat(layout.getDeviceIdleTime(powerStats.stats)).isEqualTo(200); in collectStats()
DWifiPowerStatsCollectorTest.java254 assertThat(layout.getDeviceIdleTime(powerStats.stats)).isEqualTo(300); in collectStats_powerReportingSupported()