Commit Graph

6 Commits

Author SHA1 Message Date
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
Romain Guy
74192eafec Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:18 -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