Svet Ganov
5fa32d4b08
Fix broken NDK sensor manager API.
...
Change-Id: I21bb8b0dcfd3f1c812753a9fd77dea792e7155f2
2015-05-07 12:50:27 -07:00
Svetoslav
b412f6e203
Add body sensors app op - framework native
...
Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
2015-05-01 13:51:45 -07:00
Aravind Akella
b37ba399c1
Sensor related changes for NDK.
...
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
2014-08-05 17:17:51 -07:00
Aravind Akella
0e025c5af3
Surface reportingMode for Sensors.
...
Change-Id: Iac8dd3408c90eb7d285a2e8043131fab3a7e58fa
2014-06-12 14:49:41 -07:00
Etienne Le Grand
03b1a9db9d
am b3a65bb0
: am 9dcd38ad
: Merge "Add heart rate to ASensorEvent" into klp-modular-dev
...
* commit 'b3a65bb0c2d2f6e660510efe0d93b3d26b0b2bf9':
Add heart rate to ASensorEvent
2014-05-27 18:14:51 +00:00
Etienne Le Grand
9dcd38ad3b
Merge "Add heart rate to ASensorEvent" into klp-modular-dev
2014-05-27 18:02:49 +00:00
Etienne Le Grand
630e31d6ed
Add heart rate to ASensorEvent
...
Change-Id: Ic82838b17a575de93d499e44a454bb382f17678f
2014-05-23 12:35:10 -07:00
Aravind Akella
72c524dd8c
am 040730e8
: am 1236710b
: Remove getRequiredPermission from NDK.
...
* commit '040730e8954b2f686390434646f82bc333de7058':
Remove getRequiredPermission from NDK.
2014-05-23 18:04:27 +00:00
Aravind Akella
1236710bcc
Remove getRequiredPermission from NDK.
...
Change-Id: Ic967adde89f30261c75fca67c09d14d35bd1cdb3
2014-05-22 13:19:49 -07:00
Aravind Akella
9a844cf78f
Enable wakeup sensors.
...
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
2014-04-23 14:38:56 -07:00
Aravind Akella
700180487f
Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors
...
This reverts commit 4369a4ebd5
.
Change-Id: Ifa8619cc6873470a07a987763d818d78d4232610
2014-04-11 00:06:06 +00:00
Etienne Le Grand
4369a4ebd5
Revert "Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors"
...
This reverts commit c57a019e11
.
Change-Id: I3540565bc3e56a32cf3b176a29216cf68bb763b2
2014-04-05 05:02:22 +00:00
Etienne Le Grand
c57a019e11
Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors
...
Change-Id: If0f3dbdb5d2e9378e1fed4614baee4e750d0c850
2014-04-04 16:31:09 -07:00
Aravind Akella
724d91d778
Sensor batching. Changes to the native code.
...
Bug: 10109508
Change-Id: I7333f3aac76125a8226a4c99c901fb904588df04
2013-09-03 17:04:36 -07:00
Mathias Agopian
ba02cd2f6c
improve sensorservice's dumpsys
...
it now displays the reported trigger mode properly, as well as
the number and type of the last received data
Change-Id: I2ff64b32ab71f1332bc2e09671c8c02bb9550490
2013-07-08 15:44:41 -07:00
Mathias Agopian
7438fd1a01
simplify some unnecessary complex code
...
getSensorType() ran in O(n) instead of O(1). fix that.
Change-Id: Idcf29e46fc34db32604a0d8e5a9156486783b74f
2013-07-08 12:50:39 -07:00
Mathias Agopian
e1c61d3cc8
move ndk headers to frameworks/native
...
Change-Id: Ib740333753818ff8f8230ed009211b447e30cbee
2012-03-23 14:19:36 -07:00