summaryrefslogtreecommitdiffstats
path: root/libsensors/sensors.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-5/+5
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I2e1c43800c19b718cc7ee94ec299c62bc14873b4
* am ece6e5bc: am 477abd91: sensors: Retry poll on EINTRArve Hjønnevåg2011-11-101-1/+3
|\ | | | | | | | | * commit 'ece6e5bcf1aea9803df0a73a79dfc23e61ada2df': sensors: Retry poll on EINTR
| * am 477abd91: sensors: Retry poll on EINTRArve Hjønnevåg2011-11-091-1/+3
| |\ | | | | | | | | | | | | * commit '477abd91e5f174a548e30a5f38beb7a8b14ff437': sensors: Retry poll on EINTR
| | * sensors: Retry poll on EINTRArve Hjønnevåg2011-11-091-1/+3
| | | | | | | | | | | | Change-Id: I29dec0d901ce56b385d03e24d354b1f3d2b13776
* | | am 63bb261a: Merge "sensors: Return a calculated lux value instead using the ↵Arve Hjønnevåg2011-11-021-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | current 8 entry table" into ics-mr1 * commit '63bb261af2ae4213fc8cb0ce81367af63616a773': sensors: Return a calculated lux value instead using the current 8 entry table
| * | sensors: Return a calculated lux value instead using the current 8 entry tableArve Hjønnevåg2011-11-011-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | The light sensor now uses the lux to current formula in the datasheet, I = 10 * log(Ev) uA, and multiplies the result by 4 as an attempt to correct for the glass in front of the sensor. Also update the config_autoBrightnessLevels table so the auto brightness change occurs at the same adc values as before (or close for 7.2 lux). Change-Id: I121ce0f23dca093c9607ac9447b9263f48507a09
* | Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-1/+1
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: Iab0aa050fba57491f5cb7ed928f44a0fda7d1ea4
* silence sensor HALMathias Agopian2011-10-101-2/+3
| | | | Change-Id: I2a2382a73ff6615cc1148ec838fa188964a9d1d4
* sensors: Let MPLSensor populate the sensor list with the sensors it providesArve Hjønnevåg2011-08-181-31/+8
| | | | | | | If the mpl library is not available we do not want the fused sensors from MPLSensor. Change-Id: If2ac70188db8c0319cc24dc546d60a34de1c986d
* tuna: sensors: add light, proximity, pressure sensorsMarty Fouts2011-06-291-3/+46
| | | | | | | | NOTE: - light sensor ADC values need to be calibrated. Change-Id: Iba75dc62a922bbcd0d1e273566f9089c4da450fb Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>
* ARM: omap4: tuna: Add input event reader to sensor HALMarty Fouts2011-06-291-6/+5
| | | | | Change-Id: I34a4a4dea8b30b22046889246f164c3ea40ab2a4 Signed-off-by: Danke Xie <d.xie@sta.samsung.com>
* Add sensors halArve Hjønnevåg2011-06-161-0/+370
Only the sensors from the invensense library are inclueded fro now. Change-Id: I997d38eb722e2e5c0b44168db8c70282fab407a6