/frameworks/base/core/java/com/android/internal/os/ |
PowerCalculator.java | 30 * @param statsType The type of stats. Can be {@link BatteryStats#STATS_CURRENT}, 35 long rawUptimeUs, int statsType); 43 * @param statsType The type of stats. Can be {@link BatteryStats#STATS_CURRENT}, 48 long rawUptimeUs, int statsType) {
|
WifiPowerCalculator.java | 42 long rawUptimeUs, int statsType) { 48 final long idleTime = counter.getIdleTimeCounter().getCountLocked(statsType); 49 final long txTime = counter.getTxTimeCounters()[0].getCountLocked(statsType); 50 final long rxTime = counter.getRxTimeCounter().getCountLocked(statsType); 60 statsType); 62 statsType); 64 statsType); 66 statsType); 76 long rawUptimeUs, int statsType) { 79 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); [all...] |
BluetoothPowerCalculator.java | 38 long rawUptimeUs, int statsType) { 45 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); 46 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(statsType); 47 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); 49 double powerMah = counter.getPowerCounter().getCountLocked(statsType) 59 app.btRxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_BT_RX_DATA, statsType); 60 app.btTxBytes = u.getNetworkActivityBytes(BatteryStats.NETWORK_BT_TX_DATA, statsType); 68 long rawUptimeUs, int statsType) { 72 final long idleTimeMs = counter.getIdleTimeCounter().getCountLocked(statsType); 73 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); [all...] |
MobileRadioPowerCalculator.java | 34 private double getMobilePowerPerPacket(long rawRealtimeUs, int statsType) { 39 statsType); 41 statsType); 45 mStats.getMobileRadioActiveTime(rawRealtimeUs, statsType) / 1000; 63 long rawUptimeUs, int statsType) { 66 statsType); 68 statsType); 69 app.mobileActive = u.getMobileRadioActiveTime(statsType) / 1000; 70 app.mobileActiveCount = u.getMobileRadioActiveCount(statsType); 72 statsType); [all...] |
WifiPowerEstimator.java | 52 long rawUptimeUs, int statsType) { 54 statsType); 56 statsType); 58 statsType); 60 statsType); 65 app.wifiRunningTimeMs = u.getWifiRunningTime(rawRealtimeUs, statsType) / 1000; 69 final long wifiScanTimeMs = u.getWifiScanTime(rawRealtimeUs, statsType) / 1000; 75 u.getWifiBatchedScanTime(bin, rawRealtimeUs, statsType) / 1000; 89 long rawUptimeUs, int statsType) { 90 final long totalRunningTimeMs = stats.getGlobalWifiRunningTime(rawRealtimeUs, statsType) [all...] |
CpuPowerCalculator.java | 33 long rawUptimeUs, int statsType) { 35 app.cpuTimeMs = (u.getUserCpuTimeUs(statsType) + u.getSystemCpuTimeUs(statsType)) / 1000; 43 totalTime += u.getTimeAtCpuSpeed(cluster, speed, statsType); 52 final double ratio = (double) u.getTimeAtCpuSpeed(cluster, speed, statsType) / 80 app.cpuFgTimeMs += ps.getForegroundTime(statsType); 82 final long costValue = ps.getUserTime(statsType) + ps.getSystemTime(statsType) 83 + ps.getForegroundTime(statsType);
|
CameraPowerCalculator.java | 34 long rawUptimeUs, int statsType) { 40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
|
FlashlightPowerCalculator.java | 32 long rawUptimeUs, int statsType) { 38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
|
WakelockPowerCalculator.java | 34 long rawUptimeUs, int statsType) { 46 wakeLockTimeUs += timer.getTotalTimeLocked(rawRealtimeUs, statsType); 62 long rawUptimeUs, int statsType) { 65 + (stats.getScreenOnTime(rawRealtimeUs, statsType) / 1000);
|
MemoryPowerCalculator.java | 26 long rawUptimeUs, int statsType) {} 30 long rawUptimeUs, int statsType) { 36 long timeMs = timers.valueAt(i).getTotalTimeLocked(rawRealtimeUs, statsType);
|
SensorPowerCalculator.java | 36 long rawUptimeUs, int statsType) { 44 final long sensorTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
|
BatteryStatsHelper.java | 321 public void refreshStats(int statsType, int asUser) { 324 refreshStats(statsType, users); 330 public void refreshStats(int statsType, List<UserHandle> asUsers) { 337 refreshStats(statsType, users); 343 public void refreshStats(int statsType, SparseArray<UserHandle> asUsers) { 344 refreshStats(statsType, asUsers, SystemClock.elapsedRealtime() * 1000, 348 public void refreshStats(int statsType, SparseArray<UserHandle> asUsers, long rawRealtimeUs, 424 mStatsType = statsType; [all...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
nan_i.h | 573 u32 statsType:8; 590 u8 statsType; [all...] |
nan_rsp.cpp | 504 (NanStatsType)pFwRsp->statsRspParams.statsType; [all...] |
nan_req.cpp | [all...] |
/prebuilts/misc/common/robolectric/lib/ |
android-all-6.0.0_r1-robolectric-0.jar | |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |