make sure that Activity is ready before count down

Bug: 6339033
Change-Id: Idd98955b80a8502e6312bfbf517381e8294f8c5c
Remove the accessibility focus search tests since these APIs are taken out. DO NOT MERGE

1. In JellyBean we have added some APIs to search for next accessibility
   focus in various directions and set accessibility focus from hover.
   However, we have decided that there is not clean answer for how this
   should behave and the APIs were hidden. Now the accessibility service
   is responsible for that. The unused code is now taken out and some
   CTS tests are obsolete.

bug:6773816

Change-Id: I73e879522e15f11b2b7af94dc9a9c89914e49e59
Fix an issue with MediaRecorderTest

The max duration in the test was too short (200ms) to be respected.
Inceasse the max duration to 2 seconds.

Change-Id: Ia0de268a4fa89e4cd878f7611da94f0fb885ac89
related-to-bug: 6425402
We really should make method MediaRecorderTest.recordVideoUsingCamera() private

Change-Id: Ie2f1b81184700854061d90d1bbb6734678ea2805
related-to-bug: 6425402
reduce delay even further: 1 to 1.5 sec as failure still happened

Change-Id: I2f52ce8a082c6e5c8e74fcfeed81ad52f16519b4
Merge "Remove the accessibility focus search tests since these APIs are taken out. DO NOT MERGE" into jb-dev
Merge "reduce delay even further: 1 to 1.5 sec as failure still happened" into jb-dev
Merge "We really should make method MediaRecorderTest.recordVideoUsingCamera() private" into jb-dev
add retry to DisplayRefreshRateTest

- there can be other activity on-going which can drop frame rate
- try up to 3 times if fps is not Ok.

Bug: 6293607

Change-Id: I9c6d3467714a0a89208fc0735f01f6328a3e774c
upgrade version to 4.1.1

Change-Id: I9d7b73a2d911bbbb8046a34032848afb7dc59d31
Merge "add retry to DisplayRefreshRateTest" into jb-dev
Clear logcat before every monkey test

Bug 6681325

Change-Id: I5fee05f76306d1eda61f21b0dd0d62f037f95158
trial to fix MediaRecorderTest error

- activity is not guaranteed to be ready before MediaRecorder is accessed.

Change-Id: I85beda3fd2bb7a3715554653ad44e3e76f99f4b8
add --reboot-per-package option to allow rebooting after each running package

- This is for preventing one test from affecting another

Bug: 6769649
Change-Id: I23f99c474997d5a9806afb2f407b940db0b8a659
Merge "add --reboot-per-package option to allow rebooting after each running package" into jb-dev
FileSystemPermissionTest: Add directories

(cherry picked from commit 7c0f8130b222272e720ce30ef9dd492de8498438)

Change-Id: I5b2e9f36db9572067362bd0b3642039f1663ef08
Merge "FileSystemPermissionTest: Add directories" into jb-dev
merge in jb-mr0-release history after reset to jb-dev
increase time-out for reboot and do more clean-up

- increase reboot/online time-out to 4 mins when --reboot-per-package is set
  changed only during reboot
  requires update in tradefed-prebuilt for setters
- add key guard unlock before running each package
  active key guard is causing some accessibility failures

Change-Id: Ib93208b6698e9fe731a6f86d6548dbb1239d49cd
change testRunner to CtsTestRunner

- unlock keyguard by default

Change-Id: I0452a72cfa54edfa79b485894ffd0493a71122ee