Home
last modified time | relevance | path

Searched refs:Uid (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java50 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 …]
DBackupRecord.java31 final BatteryStatsImpl.Uid.Pkg.Serv stats;
39 BackupRecord(BatteryStatsImpl.Uid.Pkg.Serv _agentStats, ApplicationInfo _appInfo, in BackupRecord()
DServiceRecord.java66 final BatteryStatsImpl.Uid.Pkg.Serv stats;
316 BatteryStatsImpl.Uid.Pkg.Serv servStats, ComponentName name, in ServiceRecord()
DProcessRecord.java72 BatteryStatsImpl.Uid.Proc curProcBatteryStats;
/frameworks/base/core/java/com/android/internal/os/
DSensorPowerCalculator.java35 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()
DWakelockPowerCalculator.java33 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()
DCpuPowerCalculator.java32 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()
DBatterySipper.java18 import android.os.BatteryStats.Uid;
27 public Uid uidObj;
131 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper()
DBatteryStatsImpl.java255 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 …]
DWifiPowerEstimator.java51 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()
DPowerCalculator.java34 public abstract void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DCameraPowerCalculator.java33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DFlashlightPowerCalculator.java31 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DMemoryPowerCalculator.java25 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DBluetoothPowerCalculator.java37 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DBatteryStatsHelper.java27 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()
DWifiPowerCalculator.java41 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DMobileRadioPowerCalculator.java62 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DProcessCpuTracker.java195 public BatteryStatsImpl.Uid.Proc batteryStats;
/frameworks/base/core/java/android/os/
DBatteryStats.java477 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/
DBatteryStatsHelperTest.java69 private BatteryStats.Uid mUid;
229 final BatteryStats.Uid uid = mock(BatteryStats.Uid.class, RETURNS_DEEP_STUBS); in createTestSmearBatterySipper()
DBatteryStatsSensorTest.java394 final BatteryStats.Uid uid = bi.getUidStats().get(UID); in testSensorReset()
397 BatteryStats.Uid.Sensor sensor = uid.getSensorStats().get(SENSOR_ID); in testSensorReset()
DBatteryStatsServTest.java32 public static class TestServ extends BatteryStatsImpl.Uid.Pkg.Serv {
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags247 51400 ifw_intent_matched (Intent Type|1|5),(Component Name|3),(Caller Uid|1|5),(Caller Pkg Count|1|…
/frameworks/base/services/
Dprofile-classes1988 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 …]

12