summaryrefslogtreecommitdiffstats
path: root/include/android/sensor.h
Commit message (Collapse)AuthorAgeFilesLines
* Sensor related changes for NDK.Aravind Akella2014-08-051-1/+13
| | | | | | | | | i) ASensorManager_getDefaultSensor returns a wake-up/non wake-up sensor depending on the type. ii) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx methods. Bug : 16399898 Change-Id: I1a86fb8d9de23039fdf41679d1487e1cd761a9d0
* Surface reportingMode for Sensors.Aravind Akella2014-06-121-0/+15
| | | | Change-Id: Iac8dd3408c90eb7d285a2e8043131fab3a7e58fa
* am b3a65bb0: am 9dcd38ad: Merge "Add heart rate to ASensorEvent" into ↵Etienne Le Grand2014-05-271-0/+7
|\ | | | | | | | | | | | | klp-modular-dev * commit 'b3a65bb0c2d2f6e660510efe0d93b3d26b0b2bf9': Add heart rate to ASensorEvent
| * Merge "Add heart rate to ASensorEvent" into klp-modular-devEtienne Le Grand2014-05-271-0/+7
| |\
| | * Add heart rate to ASensorEventEtienne Le Grand2014-05-231-0/+7
| | | | | | | | | | | | Change-Id: Ic82838b17a575de93d499e44a454bb382f17678f
* | | am 040730e8: am 1236710b: Remove getRequiredPermission from NDK.Aravind Akella2014-05-231-7/+0
|\ \ \ | |/ / | | | | | | | | | * commit '040730e8954b2f686390434646f82bc333de7058': Remove getRequiredPermission from NDK.
| * | Remove getRequiredPermission from NDK.Aravind Akella2014-05-221-7/+0
| |/ | | | | | | Change-Id: Ic967adde89f30261c75fca67c09d14d35bd1cdb3
* | Enable wakeup sensors.Aravind Akella2014-04-231-1/+3
|/ | | | | | | | SensorService should hold a wakelock till the app reads events from a wakeup sensor. Currently drivers hold a wakelock with a timeout while delivering events from a wake up sensor like Significant Motion. This hack can be removed now. Bug: 9774884 Change-Id: If3b5acb99c9cf0cd29012fcfa9d6b04c74133d01
* Add stringType and requiredPermission to sensors, effectively adding ↵Aravind Akella2014-04-111-0/+22
| | | | | | | | permission checking for sensors This reverts commit 4369a4ebd5ae7567e7075bc82830b83178099ed5. Change-Id: Ifa8619cc6873470a07a987763d818d78d4232610
* Revert "Add stringType and requiredPermission to sensors, effectively adding ↵Etienne Le Grand2014-04-051-22/+0
| | | | | | | | permission checking for sensors" This reverts commit c57a019e117117c5a76c772970b26cd0f5db8c6a. Change-Id: I3540565bc3e56a32cf3b176a29216cf68bb763b2
* Add stringType and requiredPermission to sensors, effectively adding ↵Etienne Le Grand2014-04-041-0/+22
| | | | | | permission checking for sensors Change-Id: If0f3dbdb5d2e9378e1fed4614baee4e750d0c850
* Sensor batching. Changes to the native code.Aravind Akella2013-09-031-1/+28
| | | | | Bug: 10109508 Change-Id: I7333f3aac76125a8226a4c99c901fb904588df04
* improve sensorservice's dumpsysMathias Agopian2013-07-081-9/+14
| | | | | | | it now displays the reported trigger mode properly, as well as the number and type of the last received data Change-Id: I2ff64b32ab71f1332bc2e09671c8c02bb9550490
* simplify some unnecessary complex codeMathias Agopian2013-07-081-0/+1
| | | | | | getSensorType() ran in O(n) instead of O(1). fix that. Change-Id: Idcf29e46fc34db32604a0d8e5a9156486783b74f
* move ndk headers to frameworks/nativeMathias Agopian2012-03-231-0/+256
Change-Id: Ib740333753818ff8f8230ed009211b447e30cbee