summaryrefslogtreecommitdiffstats
path: root/native/android/sensor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Udpate instrumentation codeWilliam Clark2015-11-301-2/+0
| | | | | | Added changes to support new features in QSSP Change-Id: I92c0a4eb3cb5363fbf08185f25644a3202c38788
* Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-4/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: cmds/bootanimation/BootAnimation.cpp core/java/android/accounts/AccountManager.java core/java/android/app/AppOpsManager.java core/java/android/os/PowerManagerInternal.java core/java/android/os/storage/IMountService.java core/java/android/provider/Settings.java core/java/com/android/internal/widget/ILockSettings.aidl core/res/res/values-mcc204-mnc12/config.xml core/res/res/values-mcc219-mnc02/config.xml core/res/res/values-mcc730-mnc07/config.xml core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/systemui/doze/DozeService.java packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/pm/PackageManagerService.java services/core/java/com/android/server/power/PowerManagerService.java telecomm/java/android/telecom/Phone.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/RadioAccessFamily.java telephony/java/android/telephony/ServiceState.java telephony/java/android/telephony/SignalStrength.java telephony/java/android/telephony/TelephonyManager.java telephony/java/com/android/ims/ImsCallProfile.java telephony/java/com/android/ims/ImsReasonInfo.java telephony/java/com/android/ims/ImsSuppServiceNotification.aidl telephony/java/com/android/ims/ImsSuppServiceNotification.java telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl telephony/java/com/android/internal/telephony/RILConstants.java Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
| * Call getInstanceForPackage instead of creating a new SensorManager instance.Aravind Akella2015-07-301-5/+1
| | | | | | | | | | Bug: 22529981 Change-Id: If077e042a4af940dfb1fc9c4ac8b9d352dd32685
* | SEEMP: Add more framework instrumentationWilliam Clark2015-10-061-1/+3
|/ | | | | | | | | Instrument framework files to log events of interest. Conflicts: core/java/android/accounts/AccountManager.java Change-Id: Ia45651e6352586f910039b51cac2356f65f80010
* Revert "Call getInstanceForPackage instead of creating a new SensorManager ↵Narayan Kamath2015-07-291-1/+4
| | | | | | | | instance." This reverts commit 5967ddbf05f146bdb6744207e3daed1aa76fc637. Change-Id: I6d58129585a30d7c2ef39c8cbe796fd696c93f56
* Call getInstanceForPackage instead of creating a new SensorManager instance.Aravind Akella2015-07-271-4/+1
| | | | | Bug: 22529981 Change-Id: Id3adfbcf55d1268db1a555c72a06456a5219c086
* Fix broke NDK sensor manager APISvet Ganov2015-05-071-0/+18
| | | | Change-Id: I0f4e2a3ce20ce20e0aa5a7d38d1f988497c033c0
* Add body sensors app op - framework baseSvet Ganov2015-05-011-5/+0
| | | | Change-Id: Idd5cd573fab3405e5b2a6e51d2d9d115650826e9
* Sensor related changes for NDK.Aravind Akella2014-08-051-0/+18
| | | | | | | | i) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx methods. Bug: 16399898 Change-Id: Icc252aad068fa337bef8b22f20584f98cd5a155d
* Add java APIs for Sensor reportingMode.Aravind Akella2014-06-091-0/+5
| | | | Change-Id: Iba6bb11f990d9966b86bf02d70ced7312f3e64a8
* am c7153377: am 73da981f: Merge "Remove getRequiredPermission from NDK." ↵Aravind Akella2014-05-231-5/+0
|\ | | | | | | | | | | | | into klp-modular-dev * commit 'c7153377cf03303e97185397544a13971a089961': Remove getRequiredPermission from NDK.
| * Remove getRequiredPermission from NDK.Aravind Akella2014-05-221-5/+0
| | | | | | | | Change-Id: Ieb1e97e44ef335e6087ba9164058fe3535e9998a
* | Bug fix for wakeup sensors.Aravind Akella2014-04-231-2/+5
|/ | | | | | | | 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: I6cab0147c63f57a494a61f4dfe2a64a27dfe1b4e
* Add stringType and requiredPermissions to SensorManager.java, as well as a ↵Aravind Akella2014-04-111-0/+20
| | | | | | | | permission for the heart rate sensor This reverts commit 819239e5bec90ee3c861ac45fffac4a832a183a1. Change-Id: I4bbb222e5c9dc65aed03aa28fd9e0f00fe335819
* Revert "Add stringType and requiredPermissions to SensorManager.java, as ↵Etienne Le Grand2014-04-051-20/+0
| | | | | | | | well as a permission for the heart rate sensor" This reverts commit fd53d8352a4617941b0a0449390aa562a01ea1d3. Change-Id: I1c6322d1d992147bb5ef201238374966128c1a61
* Add stringType and requiredPermissions to SensorManager.java, as well as a ↵Etienne Le Grand2014-04-041-0/+20
| | | | | | permission for the heart rate sensor Change-Id: I16e5da68f860494e24cca64075be76fad02617bc
* Replace epoll() with poll() and rename PollLoop to Looper.Jeff Brown2010-09-141-3/+3
| | | | | | | | | | | | | | | As part of this change, consolidated and cleaned up the Looper API so that there are fewer distinctions between the NDK and non-NDK declarations (no need for two callback types, etc.). Removed the dependence on specific constants from sys/poll.h such as POLLIN. Instead looper.h defines events like LOOPER_EVENT_INPUT for the events that it supports. That should help make any future under-the-hood implementation changes easier. Fixed a couple of compiler warnings along the way. Change-Id: I449a7ec780bf061bdd325452f823673e2b39b6ae
* Modify native ALooper to take an explicit ident.Dianne Hackborn2010-09-071-2/+2
| | | | | | | | The ALooper API now uses an explicit "identifier" for the integer that is returned rather than implicitly using the fd. This allows the APIs that had the fd to be a little more sane. Change-Id: I8507f535ad484c0bdc4a1bd016d87bb09acd7ff0
* Added SensorManager.getMinDelay()Mathias Agopian2010-07-291-0/+4
| | | | | | | | | | | | | 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-18/+19
| | | | | | | 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/+150
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