| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: I3543198b483c91a3bf7c3f17e174969af3dfb8c5
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I9736fcbb62da749c049178b03ddaccda30dcebf5
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to move the platform-specific modules to development.git to
avoid some clashes. This patch uses a guard Make variable to ensure that
each module is only built once.
The plan is to simply copy these modules to development.git, then remove
the current ones from sdk.git. The guard variable is here to ensure that
the transition happens smoothly, i.e. if a build contains modules in
both directories, only one of them will be built.
Change-Id: I4bc58741a18488f18a4b17e8a1edc4a4a5a93cbc
|
|
|
|
|
|
|
| |
The sensor HAL in libhardware was recently updated, this
change updates the sensor emulation to match the new HAL.
Change-Id: I1cf60665ec3cc59a14859de487a65b399ff9e343
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The emulator sensor code could enter a busy loop on certain
failure cases in poll.
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Saves us 52K in /system partition.
BUG=1739507
Original author: lockwood
Merged from: //branches/cupcake/...
Automated import of CL 143204
|
|
|