diff options
| author | Felipe Leme <felipeal@google.com> | 2018-05-03 14:51:12 -0700 |
|---|---|---|
| committer | Felipe Leme <felipeal@google.com> | 2018-05-03 15:44:58 -0700 |
| commit | 236c626458708ab48b505efecb5704ee109fdc63 (patch) | |
| tree | c5951e36e7983aa2a9785c393d1e25dc97e1fea6 /tools/aidl/generate_java.cpp | |
| parent | f63735289f7554f167ef149af0e924e71d89f11c (diff) | |
Make Autofill PERF tests more lenient to error.
These tests were based on CTS autofill tests, where correctness is the priority
(for example, there should be no "orphan" onFillRequest() call) and the number
of UI interactions is small.
But that "correctness" model doesn't work well on PERF, because the
onFillRequest() calls are handled in the main thread and the main test loop can
make hundreds of UI calls. For example, if testFocus_autofillUsernameOnly()
doesn't set the ignored id on the password field, each focus on that field would
result in a new onFillRequest(), which is not called right away. As such, the
main loop would finish, but subsequent tests would hang until all those calls
are made.
Test: mmma -j ./frameworks/base/apct-tests/perftests/core/ && \
adb install -r $OUT/data/app/CorePerfTests/CorePerfTests.apk && \
adb shell am instrument -w -e class android.view.autofill.AutofillPerfTest \
com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner
Bug: 38345816
Change-Id: I83a311e719966dcf41e86142952075e68d0c64bf
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions
