History log of /sdk/emulator/sensors/sensors_qemu.c
Revision Date Author Comments
96c829d5a43905ad32450ff0eed4220162ecc30a 02-Mar-2012 Nick Kralevich <nnk@google.com> remove HAL_MODULE_INFO_SYM const

HAL_MODULE_INFO_SYM was declared as read-only, but
the struct is written to by libhardware. This causes
a segfault when -Wl,-z,relro is enabled.

Fixed.

Change-Id: I5324418b217abbfe95e7b39825d52cc8d6e26732
08c8c67926b446b2b89a1565a493b17dada8f75d 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I3543198b483c91a3bf7c3f17e174969af3dfb8c5
403ded01593c108fa6133685eb362b304cde987f 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I9736fcbb62da749c049178b03ddaccda30dcebf5
a1f8a5b3a11ea104dfdaf7e73a7df7ace2676aaf 17-Jul-2011 Adam Zalcman <viathor@google.com> Fix magnetic field sensor string.

The emulator's sensor module sends "magnetic-field:<x>:<y>:<z>" rather
than "magnetic:<x>:<y>:<z>", see external/qemu/android/hw-sensors.c.

Change-Id: I858f4f88a4af47504bbf204340db238cf2ac2d66
Signed-off-by: Adam Zalcman <viathor@google.com>
9bdeb24279a840dc75379b76828e6904f7edcd79 14-Apr-2011 David 'Digit' Turner <digit@android.com> Revert 183675b74e5a58211e5d9a90a9ca86546ed3e245

Unfortunately, we need to keep the duplicate libraries here to prevent
breaking a few internal branches for now.

Remove obsolete emulator modules

The corresponding modules have all been moved to development/tools/emulator/system/
already. Note that we use a global variable Make trick to prevent the same module
from being built twice, so removing these files doesn't break the builds.

Another patch should remove the global variable Make trick from
development/tools/emulator/system after this patch.

Change-Id: I97332216b311608de61919cb75f4b760b249c0d9
15d10b388ea69fc9c9ea2d73a6c8dcd75f1545f3 07-Apr-2011 David 'Digit' Turner <digit@android.com> Fix tools_r10 build.

This is a back-port of https://review.source.android.com/#change,22179

Remove obsolete emulator modules

The corresponding modules have all been moved to development/tools/emulator/system/
already. Note that we use a global variable Make trick to prevent the same module
from being built twice, so removing these files doesn't break the builds.

Another patch should remove the global variable Make trick from
development/tools/emulator/system after this patch.

Change-Id: I52d7a0b13bf2115ed1f566dd968fac2093b3be35
183675b74e5a58211e5d9a90a9ca86546ed3e245 07-Apr-2011 David 'Digit' Turner <digit@android.com> Remove obsolete emulator modules

The corresponding modules have all been moved to development/tools/emulator/system/
already. Note that we use a global variable Make trick to prevent the same module
from being built twice, so removing these files doesn't break the builds.

Another patch should remove the global variable Make trick from
development/tools/emulator/system after this patch.

Change-Id: I547d2a0173ddf58c1870784920ce795f6a0d7bcf
f7a7646c481a1df14892fa85f79102bb974de442 14-Jan-2011 Bertil Lynner <bertil.lynner@sonyericsson.com> Merge 2c8b999e into tools_r10. do not merge.

Update the sensor emulation to use the new HAL

The sensor HAL in libhardware was recently updated, this
change updates the sensor emulation to match the new HAL.

Change-Id: I1632d53dc2246934516104c6ebdb5b63576dfdd8
2c8b999ed688fda9702a83947d2ba2e356b80199 14-Jan-2011 Bertil Lynner <bertil.lynner@sonyericsson.com> Update the sensor emulation to use the new HAL

The sensor HAL in libhardware was recently updated, this
change updates the sensor emulation to match the new HAL.

Change-Id: I1cf60665ec3cc59a14859de487a65b399ff9e343
32861494ef2a8878448e8e8f9a3b95c0e97c9f56 17-Dec-2010 Ola Albertsson <ola.albertsson@sonyericsson.com> Add handling of proximity sensor

A proximity sensor is added to the sensors, the proximity sensor has
resolution 1 and maxRange 1. This means that it can be either 0 or 1.

Change-Id: I60e27ebe673d493124be19158e56a19b0e4813de
e1de67d34a5a896a936307a67f1308a993ed2013 05-Mar-2010 David 'Digit' Turner <digit@google.com> Fix sensor emulation.

This gets rid of a bug where the control fd would be closed when the
data channel is opened, making the later activation of sensors impossible.

Also add more debugging messages.
36d5a9ecf0baf4b2da148bc558af68f12b7fe1f8 27-Feb-2010 Mathias Agopian <mathias@google.com> fix [2418333] SensorManager hogs CPU on emulator

The emulator sensor code could enter a busy loop on certain
failure cases in poll.
d4963dc4347c871be5faa76920709001490e1d2a 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> snapshot
e13151727c63786342cddc3ea355425582bd4e7a 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
9bce44dfa198f3859f1677b2d693e2f709d1cca8 22-May-2009 Mike Lockwood <lockwood@android.com> Sensors: Use a native_handle for the data channel instead of a single file descriptor.

This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481

Signed-off-by: Mike Lockwood <lockwood@android.com>
1c8fdff64e5cb89e687925812ea0b372e0db72bc 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373