Commit Graph

7 Commits

Author SHA1 Message Date
Dianne Hackborn
cb8739c53f Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
The monkey now gets told about system hangs, and does stuff about
it!  Most especially, it can collect a bug report.  Monkey wins!

Change-Id: Ic8350721e715ef21d1ec813c6aff9a83262d5faa
2013-05-06 11:16:34 -07:00
Dianne Hackborn
d424b8d9cc Prepare for a new IActivityController method.
Change-Id: I30823fe0c06aef35a2773760ec938e7979cd1037
2010-09-23 14:51:56 -07:00
Dan Egnor
9d5338249b More bad behavior: ANR and long-term wedge in system process.
Use ActivityController (the special monkey hook) to wedge
ActivityManagerService, useful for triggering system ANRs
and for setting off the watchdog.

Also add more logging so it's clear what happens when.
2010-03-04 17:29:40 -08:00
Dan Egnor
4903dae035 Add a native crash facility to Bad Behavior. 2010-01-27 15:10:58 -08:00
Dan Egnor
b4e39aebf6 Expand BadBehaviorActivity to add a few new flavors of ANR.
In addition to the basic sleep-for-20, add activity launch,
ordered broadcast, and service start that go to special bad
versions that sleep for a while to cause the respective sorts
of ANR to trigger.
2010-01-07 21:17:24 -08:00
Dan Egnor
1e9eb6722c Add some more buttons to Bad Behavior:
- crash system server
- report a Log.wtf()

Update Monkey for changes to IActivityController interface.
2009-12-21 15:32:57 -08:00
Dan Egnor
d0225ee63f Remove the old Dev Tools exception browser (since it relies on
now eliminated checkin database crash storage functionality).

Add a new test app to Dev Tools, "Bad Behavior", which has
buttons to crash and generate an ANR on command.

Update the Monkey to follow changed APIs.
2009-12-11 13:26:46 -08:00