code coverage improvement

* automatically detect if emma is on device
* build emma into libcore if necessary
* stop runtime before adb sync and restart afterwards

Change-Id: I6f1beacdd266310c481351165a054dca8f8657b2
Makefile to create Windows SDK under Linux.

The makefile makes it possible to "make PRODUCT-sdk-win_sdk".
It builds the Linux SDK, mirrors it as a Windows SDK and then use the shell
script to patch in all the Windows binaries.

Change-Id: Ie24f765bbe5201266efcb1c4cdcdead4ced35ef6
am d428e48a: merge from open-source master
Start refactoring MonkeyRunner to be a bit easier to understand.

- Add in ImageUtils (which is basically a copy from HierarchyViewer)
- Encapsulate ADB communications inside DebugBridge.
- Encapsulate Network Monkey protocol inside MonkeyMananger

Most of this code is currenlty duplicated in MonkeyRunner.java.  Deletions of that code
will come in a subsequent change.

Change-Id: Ia33eeae9b12d97371781c5d2a0292b738130b4d3
Merge "Start refactoring MonkeyRunner to be a bit easier to understand."
am 891b4e9d: am beca3af7: cherry-pick from master: 3c26ae869e24e6cd7c63dc44fc3f46221262e15f
am a3799abc: am 8d53a13d: Merge "Add a backup provider for the SDK" into froyo
The rest of the refactor to make MonkeyRunner cleaner.

Change-Id: Iac08f166755abd0d3b439023cac8c7d354fdb439
Note: this removes the MonkeyRecorder functionality.  This will be re-added in a later change.
Merge "The rest of the refactor to make MonkeyRunner cleaner."
Merge "Makefile to create Windows SDK under Linux."
am fab98d83: am 67fa3142: Fix etc1tool to build in Windows SDK under Linux
am 262113ac: am 0e4dd618: Makefile to create Windows SDK under Linux.
Refactor ImageUtils to eliminate extra copy of image data that was being done.  This yields a small
(but noticable) performance improvement.

Add in unit tests to validate that ImageUtils works correctly.

Change-Id: I3f5a8512534c0193f99c0e514066dbd02746a6bc
Merge "Refactor ImageUtils to eliminate extra copy of image data that was being done.  This yields a small (but noticable) performance improvement."
resolved conflicts for merge of 096f06be to master

Change-Id: Ida756c1bee7418224a6bb53266728ec41b984cd2
Minor content/messaging changes in advance of final review.

Change-Id: I0c1b9f85db253a56c1c8daf6239eb9fec44ed124
Merge "Minor content/messaging changes in advance of final review."
am 51ecd212: merge from open-source master
Doc Change: Files for the Spinner and SpinnerTest sample applications, part of Activity Testing tutorial

Change-Id: If9b6f214cdad870257efc34193eed846cde2ec47
Merge commit '8aff3602e7dda266efa2ed5a9da481aad4d0a331' into oxygen_4.3

* commit '8aff3602e7dda266efa2ed5a9da481aad4d0a331':
  code coverage improvement