OSDN Git Service

Prevent binder flooding when sending instrumentation status.
authorBrett Chabot <brettchabot@android.com>
Wed, 25 Apr 2012 02:27:20 +0000 (19:27 -0700)
committerBrett Chabot <brettchabot@android.com>
Tue, 1 May 2012 19:33:28 +0000 (12:33 -0700)
commitd733ec3b28ded8d2d4f6ab0498bc66a207cb6ad7
tree576813357f51f3742429e0a3e5fa9c49a04f2ca8
parented43b1877d533ede713f7cdcd8c7f5ecaba46925
Prevent binder flooding when sending instrumentation status.

There is a long standing bug in the InstrumentationTestRunner where executing
many fast-running tests causes it to hang with 'FAILED BINDER TRANSACTION'
messages in the logs.

This commit changes the Instrumentation status updates to be sent synchronously.

Bug 1796494

Change-Id: Ifd1af31158353d727bd88283eaeb90933ba1a3ca
core/java/android/app/IInstrumentationWatcher.aidl
core/tests/coretests/src/android/app/InstrumentationTest.java [new file with mode: 0644]