e55e6e0eb3f3bd603103ec40b591748bb3558e8c |
|
02-Jun-2017 |
Chong Zhang <chz@google.com> |
Add media.codec to native stack dump list This is still needed for non-treble devices. Test: do 'adb shell bugreport' on angler, and check that 'Cmd line: media.codec' and the stacks should be there. bug: 62297059 Change-Id: Ic46b044e471a2ec3c432bb2fdc6afd6fb1f8090e
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
74debcd00194adb144aa1a3f42a752e9418166ab |
|
21-Apr-2017 |
Chia-I Wu <olv@google.com> |
Watchdog: add graphics composer to HALs of interest Bug: 37152880 Test: adb shell am hang --allow-restart Change-Id: Ic380da057f6f7529a9296cf32f46064c995b0caa
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
6b47c54a65d8c0aca9a6523a926a386ecfaec069 |
|
21-Mar-2017 |
Steven Moreland <smoreland@google.com> |
WatchDog: dump hal pids when killing a process. Test: `adb shell am hang --allow-restart` -> Watchdog dumps hal traces (eventually) Bug: 36414311 Change-Id: I5143cedf3e5ab4695d2507a29993e748f6de17d5
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
492495bcbdd3abcab64250f5faa9a84514d408e5 |
|
28-Feb-2017 |
Pawin Vongmasa <pawin@google.com> |
Remove mediacodec from NATIVE_STACKS_OF_INTEREST. See also: b/36414311. Test: Camera, Photos, YouTube, and Play Movies apps. Bug: 35328855 Change-Id: I709644669f5bb7a5f3ad686b325f1f9f37f7a3d3
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
cf9e79b90192d1a1ece3264b021d3256a2fffefe |
|
12-May-2016 |
Andreas Gampe <agampe@google.com> |
System server: Add Bluetooth to native processes Add Bluetooth service to the interesting native processes to dump during watchdog abort and ANRs. This may help if the process gets wedged and cannot react normally to Java-side ANR dump requests. Bug: 28658141 Change-Id: I788b7c299cc95748fdcddaa2be1d0e2d78f25ef1
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
689574ad4a3cebe5ad6993621fa19554fb392674 |
|
14-Apr-2016 |
Andy Hung <hunga@google.com> |
Unify dumped native stack traces Bug: 28179196 Change-Id: I96a8c0c2ec1a7d4c569a8788e1f6f8ac6a6a1bcc
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
05d4e35c8e9cf67127630a2ee4376295f275b682 |
|
15-Mar-2016 |
Eric Laurent <elaurent@google.com> |
Add media.log to Watchdog stacks Needed for debugging after mediaserver split. Bug: 27408518 Change-Id: I412575264e813688396835f4f3501f6132432960
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
3a64ecb7fdb67e7fe8c565fa972140d2c0f7c4e2 |
|
09-Mar-2016 |
Andy Hung <hunga@google.com> |
Add audioserver to Watchdog stacks Needed for debugging after mediaserver split. Bug: 27548913 Bug: 27570954 Change-Id: I7d1e92494c0543f10f3193153e3e9afdafd41655
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
517daeccb29ce42b1ec4b366e7807088cad3f5ed |
|
15-Apr-2015 |
Wale Ogunwale <ogunwale@google.com> |
Moved SystemServer binder thread monitor from AMS to Monitor class. Since to it applies to more than just the ActivityManagerService. Bug: 19297165 Change-Id: I3affd50aaf8a49589ca48b845d6d31e4a44efb8f
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
d7fdd0228e6abdbc079f9cf08b780e4222dfe7c5 |
|
14-Apr-2015 |
Wale Ogunwale <ogunwale@google.com> |
Added watchdog monitor for Binder threads availability. The watchdog will trigger if all binder threads in the system_server are stuck for a long time (1min) preventing the process from handling additional IPC requests. Bug: 19297165 Change-Id: I5909a9c230bf23917feaed53f2b54bd50425bf3c
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
6c7b41adf9e937a66880b8906389760f3fc82a08 |
|
26-Feb-2015 |
Jeff Brown <jeffbrown@google.com> |
Rename Looper::isIdling() to isPolling() to resolve confusion. The loop isn't technically idle at this time, it's just checking whether any file descriptors have pending events. However it's still a good signal as to whether the loop is alive. Added a real isIdle() function. Bug: 19532373 Change-Id: Idd273e8774f469ccafb00d560818cf279dfd6ba6
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
0620c451da6728e7a2e78c2dc921a76490d7b7d8 |
|
29-Oct-2014 |
Guang Zhu <guangzhu@google.com> |
also add backtraces of CPUs before watchdog kills system server Bug: 18003452 Change-Id: I052fe0b2948ea036c3f1b842ea6270b6f11eadef
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
89ad456ea49cb62615ebdcac83a2515743bbe5fa |
|
25-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #16311398: Limit number of documents a process can open In application processes, monitor for when we start getting close to the Dalvik heap limit, and ask the activity manager to try to prune old activity instances in that case. Add an explicit API for apps to ask that they have their own activity instances cleaned up, if they want. Fix some bugs in launching activities that were not correctly applying the "multi task" behavior in the appropriate situations of document-centric recents. Clean up the activity manager's process removal code to all share a common path. Add a new "Spam" option to ActivityTests, which continually creates new tasks, checking that the activity manager will now prune old tasks rather than letting the app run out of RAM. And while I was was doing this, I found problems with the path for bringing an empty task to the foreground -- it could make a new task instead of re-starting the root activity in the existing task. This is fixed, and some code in the recents UI for working around the bug is removed. And as long as I am doing that, we now have nice hooks in to the activity manager for AppTask to give some APIs for better managing the task, so add those along with more tests for these APIs in ActivityTests. We should look at also having the activity manager try to prune old tasks when it sees app processes being killed, to better balance memory use across multiple processes when some processes may host many documents. That however is for another CL... Change-Id: I2bb81c3f92819350c868c7a7470b35817eb9bea9
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
4ccb823a9f62e57f9d221f83a97e82967e79a9e5 |
|
17-Jan-2014 |
Jeff Brown <jeffbrown@google.com> |
Refactor display manager service to new pattern. Transform DisplayManagerService into a SystemService and start cleaning up other local services that it uses from window manager and input manager. Clean up service thread initialization. Remove unnecessary static variables from ActivityManagerService. It's starting to become clear that we really need a better way to manage service dependencies. Boot phases don't quite cut it. Change-Id: If319dbd7cbfbd4812fe55ece969e818d4b20755b
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
6f357d3284a833cc50a990e14b39f389b8972254 |
|
16-Jan-2014 |
Jeff Brown <jeffbrown@google.com> |
Start untangling system server early bootstrapping. Refactored SystemServer to get rid of a bunch of legacy cruft related to how the ServerThread used to be started up. Create system context first when system server starts. This removes the tangled initialization order dependency that forced us to start the activity manager service before most anything else. Moved factory test related constants into the FactoryTest class. Partially migrated Installer, ActivityManagerService, and PowerManagerService to the new SystemService pattern. There's more work to be done here, particularly around the lifecycle of the power manager. Bug: 12172368 Change-Id: Ia527dd56e3b3fd90f9eeb41289dbe044921230d4
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/Watchdog.java
|