/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 50 public void writeUid(HealthStatsWriter uidWriter, BatteryStats bs, BatteryStats.Uid uid) { in writeUid() 53 SparseArray<? extends BatteryStats.Uid.Sensor> sensors; in writeUid() 54 SparseArray<? extends BatteryStats.Uid.Pid> pids; in writeUid() 85 for (final Map.Entry<String,? extends BatteryStats.Uid.Wakelock> entry: in writeUid() 88 final BatteryStats.Uid.Wakelock wakelock = entry.getValue(); in writeUid() 126 if (sensorId == BatteryStats.Uid.Sensor.GPS) { in writeUid() 145 for (final Map.Entry<String,? extends BatteryStats.Uid.Proc> entry: in writeUid() 153 for (final Map.Entry<String,? extends BatteryStats.Uid.Pkg> entry: in writeUid() 255 uid.getProcessStateTimer(BatteryStats.Uid.PROCESS_STATE_TOP)); in writeUid() 259 uid.getProcessStateTimer(BatteryStats.Uid.PROCESS_STATE_FOREGROUND_SERVICE)); in writeUid() [all …]
|
D | BackupRecord.java | 31 final BatteryStatsImpl.Uid.Pkg.Serv stats; 39 BackupRecord(BatteryStatsImpl.Uid.Pkg.Serv _agentStats, ApplicationInfo _appInfo, in BackupRecord()
|
D | ServiceRecord.java | 66 final BatteryStatsImpl.Uid.Pkg.Serv stats; 316 BatteryStatsImpl.Uid.Pkg.Serv servStats, ComponentName name, in ServiceRecord()
|
D | ProcessRecord.java | 72 BatteryStatsImpl.Uid.Proc curProcBatteryStats;
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SensorPowerCalculator.java | 35 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 38 final SparseArray<? extends BatteryStats.Uid.Sensor> sensorStats = u.getSensorStats(); in calculateApp() 41 final BatteryStats.Uid.Sensor sensor = sensorStats.valueAt(ise); in calculateApp() 46 case BatteryStats.Uid.Sensor.GPS: in calculateApp()
|
D | WakelockPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 36 final ArrayMap<String, ? extends BatteryStats.Uid.Wakelock> wakelockStats = in calculateApp() 40 final BatteryStats.Uid.Wakelock wakelock = wakelockStats.valueAt(i); in calculateApp()
|
D | CpuPowerCalculator.java | 32 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 75 final ArrayMap<String, ? extends BatteryStats.Uid.Proc> processStats = u.getProcessStats(); in calculateApp() 78 final BatteryStats.Uid.Proc ps = processStats.valueAt(i); in calculateApp()
|
D | BatterySipper.java | 18 import android.os.BatteryStats.Uid; 27 public Uid uidObj; 131 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper()
|
D | BatteryStatsImpl.java | 255 final SparseArray<BatteryStatsImpl.Uid> mUidStats = new SparseArray<>(); 1625 final Uid mUid; 1642 BatchTimer(Clocks clocks, Uid uid, int type, TimeBase timeBase, Parcel in) { in BatchTimer() 1650 BatchTimer(Clocks clocks, Uid uid, int type, TimeBase timeBase) { in BatchTimer() 1790 public DurationTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in DurationTimer() 1797 public DurationTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in DurationTimer() 1967 final Uid mUid; 1994 public StopwatchTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in StopwatchTimer() 2002 public StopwatchTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in StopwatchTimer() 2209 public DualTimer(Clocks clocks, Uid uid, int type, ArrayList<StopwatchTimer> timerPool, in DualTimer() [all …]
|
D | WifiPowerEstimator.java | 51 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 73 for (int bin = 0; bin < BatteryStats.Uid.NUM_WIFI_BATCHED_SCAN_BINS; bin++) { in calculateApp()
|
D | PowerCalculator.java | 34 public abstract void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | CameraPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | FlashlightPowerCalculator.java | 31 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | MemoryPowerCalculator.java | 25 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | BluetoothPowerCalculator.java | 37 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | BatteryStatsHelper.java | 27 import android.os.BatteryStats.Uid; 543 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage() 546 final Uid u = uidStats.valueAt(iu); in processAppUsage() 868 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper() 940 public long getForegroundActivityTotalTimeMs(BatteryStats.Uid uid, long rawRealtimeMs) { in getForegroundActivityTotalTimeMs()
|
D | WifiPowerCalculator.java | 41 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | MobileRadioPowerCalculator.java | 62 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | ProcessCpuTracker.java | 195 public BatteryStatsImpl.Uid.Proc batteryStats;
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 477 public static abstract class Uid { class in BatteryStats 2359 public abstract SparseArray<? extends Uid> getUidStats(); in getUidStats() 3082 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() 3103 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 3105 final ArrayMap<String, ? extends BatteryStats.Uid.Wakelock> wakelocks in dumpCheckinLocked() 3108 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpCheckinLocked() 3357 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 3478 args = new Object[Uid.NUM_USER_ACTIVITY_TYPES]; in dumpCheckinLocked() 3480 for (int i=0; i<Uid.NUM_USER_ACTIVITY_TYPES; i++) { in dumpCheckinLocked() 3500 final ArrayMap<String, ? extends Uid.Wakelock> wakelocks = u.getWakelockStats(); in dumpCheckinLocked() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 69 private BatteryStats.Uid mUid; 229 final BatteryStats.Uid uid = mock(BatteryStats.Uid.class, RETURNS_DEEP_STUBS); in createTestSmearBatterySipper()
|
D | BatteryStatsSensorTest.java | 394 final BatteryStats.Uid uid = bi.getUidStats().get(UID); in testSensorReset() 397 BatteryStats.Uid.Sensor sensor = uid.getSensorStats().get(SENSOR_ID); in testSensorReset()
|
D | BatteryStatsServTest.java | 32 public static class TestServ extends BatteryStatsImpl.Uid.Pkg.Serv {
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 247 51400 ifw_intent_matched (Intent Type|1|5),(Component Name|3),(Caller Uid|1|5),(Caller Pkg Count|1|…
|
/frameworks/base/services/ |
D | profile-classes | 1988 Landroid/os/BatteryStats$Uid; 1989 Landroid/os/BatteryStats$Uid$Pid; 1990 Landroid/os/BatteryStats$Uid$Pkg; 1991 Landroid/os/BatteryStats$Uid$Pkg$Serv; 1992 Landroid/os/BatteryStats$Uid$Proc; 1993 Landroid/os/BatteryStats$Uid$Sensor; 1994 Landroid/os/BatteryStats$Uid$Wakelock; 3201 Lcom/android/internal/os/BatteryStatsImpl$Uid; 3202 Lcom/android/internal/os/BatteryStatsImpl$Uid$1; 3203 Lcom/android/internal/os/BatteryStatsImpl$Uid$2; [all …]
|