summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/ProcessStats.java
AgeCommit message (Collapse)Author
2011-07-14Move LoadAverageService to the SystemUI apk.Dianne Hackborn
Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
2011-04-07Remove the deprecated things from Config.java. These haven't been working ↵Joe Onorato
since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
2010-11-15Fix more things that CloseGuard found.Brad Fitzpatrick
Not terribly happy with how the code looks after, though. Change-Id: I7bf5f78ef6c0ac82339a2e49488ca6e64d13c05e
2010-09-23am 287952c3: Fix issue #3022508: Crash during media scanDianne Hackborn
Merge commit '287952c35e148811c106bc0f5036eabf20f71562' into gingerbread-plus-aosp * commit '287952c35e148811c106bc0f5036eabf20f71562': Fix issue #3022508: Crash during media scan
2010-09-23Fix issue #3022508: Crash during media scanDianne Hackborn
Don't kill processes for excessive wake lock use, even if they are in the background, as long as they have running services. Also fix some problems with this, such as not noting the kill in battery stats. And add killing of processes for cpu usage as well, along with some optimizations to computing CPU usage. And fix BatteryWaster to be better behaving for testing these cases. Add new "monitor" command to am to watch as the activity manager does stuff (so we can catch things at the point of ANR). Finally some miscellaneous debug output for the stuff here, as well as in progress debugging of an ANR. Change-Id: Ib32f55ca50fb7486b4be4eb5e695f8f60c882cd1
2010-08-31am 22cd420b: Merge "Improve debug output when an ANR happens." into gingerbreadDianne Hackborn
Merge commit '22cd420bfa431b4ad55e699afadf109dcc54f201' into gingerbread-plus-aosp * commit '22cd420bfa431b4ad55e699afadf109dcc54f201': Improve debug output when an ANR happens.
2010-08-31Improve debug output when an ANR happens.Dianne Hackborn
- Collect data at better times. - Collect per-thread CPU usage as soon as possible after the ANR, and print in log. - Based on new per-thread CPU usage, limit the number of processes we collect stacks from to not include inactive not interesting procs. - Improve the way ProcessStats compute and reports its data. Change-Id: I12b17fb47d593d175be69bb792c1f57179bf4fdf
2010-06-15merge from open-source masterThe Android Open Source Project
Change-Id: I4d7b0ec9895d8b090e0cdf2efb6731358a5d087c
2010-05-25Replaced deprecated String ConstructorChristian Mehlmauer
Change-Id: I91874093d69e230850c695b92da5f91391030d44
2010-03-01Switch the services library to using the new SlogJoe Onorato
2009-09-21Fix NPE crash-loop when cpufreq not available in the kernel.Brad Fitzpatrick
2009-09-20Track CPU speed stepping to get more accurate CPU cost per app.Amith Yamasani
More CPU speed stepping happening with newer devices, so we need to qualify CPU time with the CPU speed, since power consumption varies greatly by speed. Apps that peg the CPU should get a higher penaltly. Also, fix for 2062930: NPE at VolumePreference.onKey()
2009-08-06More work on issue #2030135: Device sluggishDianne Hackborn
Also include the page faults in the cpu info, to help determine if the system is paging at the time of an ANR.
2009-06-03Track activity foreground CPU usage for battery stats.Amith Yamasani
Track the foreground CPU time of an activity so that we can tell if apps are spending more time in the background compared to foreground. Update power profile values for screen backlight and GPS. Fix some javadoc bugs (milliseconds vs. microseconds).
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2008-10-21Initial ContributionThe Android Open Source Project