Lines Matching defs:Proc
330 * Used as a buffer for reading in data from /proc/wakelocks before it is processed and added
780 * The most recent reported count from /proc/wakelocks.
785 * The reported count from /proc/wakelocks when unplug() was last
791 * The most recent reported total_time from /proc/wakelocks.
797 * The reported total_time from /proc/wakelocks when unplug() was last
1264 is = new FileInputStream("/proc/wakelocks");
1791 Uid.Proc proc = uid.getProcessStatsLocked("*wakelock*");
1792 proc.addCpuTimeLocked(myUTime, mySTime);
1793 proc.addSpeedStepTimes(cpuSpeedTimes);
1803 Uid.Proc proc = uid.getProcessStatsLocked("*lost*");
1804 proc.addCpuTimeLocked(utime, stime);
1805 proc.addSpeedStepTimes(cpuSpeedTimes);
1851 public void reportExcessiveWakeLocked(int uid, String proc, long overTime, long usedTime) {
1854 u.reportExcessiveWakeLocked(proc, overTime, usedTime);
1858 public void reportExcessiveCpuLocked(int uid, String proc, long overTime, long usedTime) {
1861 u.reportExcessiveCpuLocked(proc, overTime, usedTime);
2609 final HashMap<String, Proc> mProcessStats = new HashMap<String, Proc>();
2644 public Map<String, ? extends BatteryStats.Uid.Proc> getProcessStats() {
3035 Iterator<Map.Entry<String, Proc>> it = mProcessStats.entrySet().iterator();
3037 Map.Entry<String, Proc> procEntry = it.next();
3126 for (Map.Entry<String, Uid.Proc
3128 Uid.Proc proc = procEntry.getValue();
3129 proc.writeToParcelLocked(out);
3231 Uid.Proc proc = new Proc();
3232 proc.readFromParcelLocked(in);
3233 mProcessStats.put(processName, proc);
3458 public final class Proc extends BatteryStats.Uid.Proc implements Unpluggable {
3543 Proc() {
4178 public Proc getProcessStatsLocked(String name) {
4179 Proc ps = mProcessStats.get(name);
4181 ps = new Proc();
4324 public void reportExcessiveWakeLocked(String proc, long overTime, long usedTime) {
4325 Proc p = getProcessStatsLocked(proc);
4331 public void reportExcessiveCpuLocked(String proc, long overTime, long usedTime) {
4332 Proc p = getProcessStatsLocked(proc);
4792 // Set timers to stale if they didn't appear in /proc/wakelocks this time.
5054 public Uid.Proc getProcessStatsLocked(int uid, String name) {
5065 public Uid.Proc getProcessStatsLocked(String name, int pid) {
5104 for (Uid.Proc proc : wifiUid.mProcessStats.values()) {
5111 Uid.Proc uidProc = uid.getProcessStatsLocked("*wifi*");
5112 long time = proc.getUserTime(which);
5115 proc.mUserTime -= time;
5116 time = proc.getSystemTime(which);
5119 proc.mSystemTime -= time;
5120 time = proc.getForegroundTime(which);
5123 proc.mForegroundTime -= time;
5124 for (int sb=0; sb<proc.mSpeedBins.length; sb++) {
5125 SamplingCounter sc = proc.mSpeedBins[sb];
5538 Uid.Proc p = u.getProcessStatsLocked(procName);
5770 for (Map.Entry<String, BatteryStatsImpl.Uid.Proc> ent
5773 Uid.Proc ps = ent.getValue();