summaryrefslogtreecommitdiffstats
path: root/include/gui/Sensor.h
Commit message (Collapse)AuthorAgeFilesLines
* Add body sensors app op - framework nativeSvetoslav2015-05-011-0/+4
| | | | Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
* libgui: Enable -Weverything and -WerrorDan Stoza2014-12-051-5/+5
| | | | | | | Enables -Weverything and -Werror, with just a few exceptions for warnings we can't (or shouldn't need to) work around. Change-Id: I034abec27bf4020d84af60d7acc1939c59986dd6
* Enable clang for libui/libgui/surfaceflingerDan Stoza2014-11-111-1/+1
| | | | | | | Enables clang and C++11 for libui/libgui/surfaceflinger, and eliminates all compile-time warnings. Change-Id: Ie237fdb5ae44f2bfcddaa884f9c65ec3f08ae50f
* Surface reportingMode for Sensors.Aravind Akella2014-06-121-1/+3
| | | | Change-Id: Iac8dd3408c90eb7d285a2e8043131fab3a7e58fa
* Surface maxDelay and isWakeUpSensor flag in Sensor.java.Aravind Akella2014-05-231-1/+2
| | | | Change-Id: Idd1e9045190beeca87b086b272e8cbf0bed05bae
* Enable wakeup sensors.Aravind Akella2014-04-231-0/+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/+6
| | | | | | | | 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-6/+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/+6
| | | | | | permission checking for sensors Change-Id: If0f3dbdb5d2e9378e1fed4614baee4e750d0c850
* Sensor batching. Changes to the native code.Aravind Akella2013-09-031-1/+5
| | | | | Bug: 10109508 Change-Id: I7333f3aac76125a8226a4c99c901fb904588df04
* Make Flattenable not virtualMathias Agopian2013-07-301-2/+2
| | | | | | | | | | | | | | | | | Fallout from the Flattenable change, update all its uses. Additionnaly, fix/tighten size checks when (un)flatten()ing things. Removed the assumption by some flattenables (e.g.: Fence) that the size passed to them would be exact (it can and will be larger in some cases) The code in Parcel is a bit complicated so that we don't have to expose the full implementation (and also to keep the code smallish). Change-Id: I0bf1c8aca2a3128491b4f45510bc46667e566dde
* improve [un]marshalling of non-binder objectsMathias Agopian2012-08-131-9/+7
| | | | | | | | | | | | | | | | | this change introduces a new class LightFlattenable<> which is a protocol to flatten simple objects that don't require binders or file descriptors; the benefit of this protocol is that it doesn't require the objects to have a virtual table and give us a consitant way of doing this. we also introduce an implementation of this protocol for POD structures, LightFlattenablePod<>. Parcel has been update to handle this protocol automatically. Sensor, Rect, Point and Region now use this new protocol. Change-Id: Icb3ce7fa1d785249eb666f39c2129f2fc143ea4a
* 9-axis sensor fusion with Kalman filterMathias Agopian2011-05-271-1/+5
| | | | | | | Add support for 9-axis gravity and linear-acceleration sensors virtual orientation sensor using 9-axis fusion Change-Id: I6717539373fce781c10e97b6fa59f68a831a592f
* Added SensorManager.getMinDelay()Mathias Agopian2010-07-291-0/+2
| | | | | | | | | | | | | Exposed the new "min delay" sensor property through native and java sensor apis. This allows the caller to know what is the maximum rate at which a sensor can return events, or, if a sensor works in "update" mode (events returned only when the value changes). Also augmented SensorManager.regusterSensorEvent() so that it can accept a value in microsecond in addition to the 4 constants already defined. Change-Id: If425e9979892666df8c989d7de3c362230fa19e0
* new SensorServiceMathias Agopian2010-07-191-1/+2
| | | | | | | remove old sensor service and implement SensorManager on top of the new (native) SensorManger API. Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
* first step at implementing the native sensor supportMathias Agopian2010-07-131-0/+88
in this commit: - implemented the C stub - implemented the binder interfaces involved - implemented most of the C++ client side missing: - SensorManager cannot connect to the SensorServer yet (because there is no SensorServer yet) Change-Id: I75010cbeef31c98d6fa62fd5d388dcef87c2636b