History log of /frameworks/native/services/sensorservice/hidl/SensorManager.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
80d87ee386be7065817d4d40f2151dec9e0c557c 14-Jun-2017 Yifan Hong <elsk@google.com> Fix race condition for SensorManager looper.

Before the fix there could be two background threads started for two
loopers. Add a guard to prevent this from happening.

Test: pass
Bug: 62404135
Change-Id: I8230addaaa6b83670d7b83c96809b00fca95d352
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
09034f076e7897732479c8aef6284938aafbfbfe 14-Jun-2017 Yifan Hong <elsk@google.com> SensorManager: attach background thread to JavaVM

Test: pass
Bug: 62404135

Change-Id: I63a128c3c933904211f5ff2483492674eaba93ed
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
542eace6bf9aa9cc4a2fff4886ff023b973232e2 10-May-2017 Yifan Hong <elsk@google.com> Framework sensor manager init not depends on ::android::SensorManager.

Test: photo sphere
Change-Id: Ice37a758421827757226a9898bcf3e00857443ff
Merged-In: Ice37a758421827757226a9898bcf3e00857443ff
Fixes: 36448245
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
71906aac8532b80b43a04582eb3ad1e92acdaa7a 10-Apr-2017 Yifan Hong <elsk@google.com> android.frameworks.sensorservice@1.0: Looper thread SCHED_FIFO

Looper thread uses SCHED_FIFO with a priority 10.

Test: sensor works (sanity checks with camera app), logcat
doesn't show SCHED_FIFO could not be used

b/34386025 [Treble] Identify and fix Binder usage by camera HALs that isn't NDK-based
b/35219747 [Treble] Figure out the new interface between camera and sensor
b/36651814 [QCOM Treble] [REDACTED] Camera HAL uses Binder
b/36651420 [QCOM Treble] [REDACTED] location daemon uses Binder

Change-Id: I0f236a77cccdc8d67a933daf7d5046947c82a3cf
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
8a420ed627c1db832ef33663e8abaedb214368f7 03-Apr-2017 Yifan Hong <elsk@google.com> android.frameworks.sensorservice@1.0: ashmem direct channel check sizes.

Test: VtsHalSensorManagerV1_0TargetTest
Change-Id: I18b87128da2607f82ffddb260bf440786c378010
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
95c7a0636763c0861d46425709befe90a3919c04 29-Mar-2017 Yifan Hong <elsk@google.com> Implement android.frameworks.sensorservice@1.0::IEventQueue.

Test: pass
Bug: 35219747
Change-Id: I52ddd64db500c23db22768fc0603bce0cc14f8c6
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
57d427735f025eb8835d3c55124f6a2215af2166 29-Mar-2017 Yifan Hong <elsk@google.com> Renamed HIDL SensorManager::mManager -> mInternalManager.

Use "Internal" to represent objects of the wrapped type.

Test: pass
Change-Id: I4f86bc2c7c272c9abb0c5b4c2837baccfdc2a748
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
8358c6b5d4f30292f25ffbed16ddd23cec333a61 24-Mar-2017 Yifan Hong <elsk@google.com> Add stub for SensorManager::createEventQueue

It is not yet implemented.

Test: pass
Bug: 35219747
Change-Id: I8ef1627376ac88f552c20a2809416115ba342b82
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp
c34f57fed0ad09c6d7361a39580da20b466d46d1 10-Mar-2017 Yifan Hong <elsk@google.com> Add implementation for android.frameworks.sensorservice@1.0

Test: marlin boots
Test: lshal -ipm | grep android.frameworks.sensorservice@1.0
Bug: 35219747
Change-Id: Idc2823c674ef452102766a1331c962d3f3f66c53
/frameworks/native/services/sensorservice/hidl/SensorManager.cpp