aboutsummaryrefslogtreecommitdiffstats
path: root/android/android-device.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement asynchronous data send over 'event' socket.Vladimir Chtchetkine2012-01-301-0/+41
| | | | Change-Id: Ifce399aec98540fca4e1cca8c3599142d9ff6887
* Expand the ways how a query can be sent to Android device.Vladimir Chtchetkine2012-01-251-0/+41
| | | | | | | | Contains new routines that allow sending multiple blocks of data within a single query. Also, these routines allow to avoid restriction on queries as zero-terminated strings. Change-Id: Ia5789a01a7eadbae5b1f5014a67864eea463af43
* Implements sensors emulation using a connected Android deviceVladimir Chtchetkine2011-11-091-0/+239
There are three major things in this CL: 1. Abstract a connection with an Android device that is connected to the host via USB, and there is a TCP port forwarding to this device via 'adb forward' command. This abstraction is implemented in android/android-device.* 2. A client for android device API that talks to an app on the connected device that provides values for sensors available on the device. This is implemented in android/sensors-port.* 3. Changes to the sensor emulation code in android/hw-sensors.c to use sensors port (when available) for sensors emulation. Change-Id: I12901e8db6b6a6262fc1703ed96a9f714335d666