summaryrefslogtreecommitdiffstats
path: root/libsensors/SamsungSensorBase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libsensors: Big cleanup.Kyle Repinski2016-01-171-4/+2
| | | | | | | - Some formatting nitpicks. - Removed useless 'dev_name'/'dev_fd' stuff for SensorBase. - Merged sensor structs together. - Added handleToDriver for MPLSensor.
* libsensors/invensense: Clean-up.Kyle Repinski2016-01-171-0/+7
|
* libsensors: Build with -Wall -Werror.Kyle Repinski2016-01-171-4/+4
|
* libsensors: fix build on MZiyan2016-01-171-0/+1
|
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-2/+2
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I2e1c43800c19b718cc7ee94ec299c62bc14873b4
* SensorHAL: solve the issue that sensors get slowWon Hyoung Lee2011-10-191-7/+6
| | | | | | | | | | | | Solving the bug where residual events in input queue from one sensor that was disabled causes events from other sensors to not be returned until num events = count. The bug has the symptom that events from all sensors seem to be delayed. The bug was in readEvents() in SamsungSensorBase.cpp. Solution is to discard the residual events if sensor has been disabled already. Change-Id: I8c9e1ff741c8f2864d6bc7513c1163c41a178852 Signed-off-by: Won Hyoung Lee <whlee@sta.samsung.com>
* tuna: sensors: add light, proximity, pressure sensorsMarty Fouts2011-06-291-0/+179
NOTE: - light sensor ADC values need to be calibrated. Change-Id: Iba75dc62a922bbcd0d1e273566f9089c4da450fb Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>