From db611d57e0da9acd7ecf2a4a9b2a63e7620fe54d Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Tue, 1 Nov 2011 17:35:07 -0700 Subject: Implements sensors emulation using a connected Android device 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 --- Makefile.common | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.common') diff --git a/Makefile.common b/Makefile.common index 71100f3..45be256 100644 --- a/Makefile.common +++ b/Makefile.common @@ -423,6 +423,8 @@ CORE_MISC_SOURCES = \ android/hw-pipe-net.c \ android/qemu-setup.c \ android/snapshot.c \ + android/android-device.c \ + android/sensors-port.c \ android/utils/timezone.c \ android/camera/camera-format-converters.c \ android/camera/camera-service.c -- cgit v1.1