8cbefd7af4801686c27d5802cfd087b2812110b6 |
|
11-Jul-2017 |
Peng Xu <pengxu@google.com> |
Synchronous resource recover mechanism for ISensorEventConnection Add synchronous destroy() function to recover resource used by remote ISensorEventConnection object. Bug: 63542033 Test: SensorDirectReportTest pass Change-Id: If98782ee12c7b1a733eb15a2fd8d7c5dacde243b
/frameworks/native/services/sensorservice/SensorDirectConnection.cpp
|
364077369bda0d892dabb0626a8497bb47549404 |
|
17-May-2017 |
Peng Xu <pengxu@google.com> |
No more ashmem equivalent checker false alarm The checker for ashmem file descriptor equivalency is too strict and false alarms. This CL fix the issue. Bug: 38352409 Test: successfully register multiple ashmem sensor direct channels without "Duplicate create channel request for the same share memory" Change-Id: Ib80b47944940ce708953632855174d2f90c41b49
/frameworks/native/services/sensorservice/SensorDirectConnection.cpp
|
f88e2b95b2cd6238f6758ef6a180fbd277f06ff2 |
|
11-Apr-2017 |
Peng Xu <pengxu@google.com> |
Fix gralloc direct channel bug and polish log messages 1) Remove obsoleted stub code so that second gralloc direct channel can be successfully registered. 2) Remove obsoleted misleading log messages. 3) Add missing log messages at failure to help debugging. Bug: 36900495 Test: SensorDirectReportTest Change-Id: I1d6941c4179338f6db8f84079844dce515b80516
/frameworks/native/services/sensorservice/SensorDirectConnection.cpp
|
f149b40b3385ee09b45aaf5581c31dcf66f4cb23 |
|
09-Feb-2017 |
Peng Xu <pengxu@google.com> |
Fix bug in isEquivalent() Fix a bug in SensorService::SensorDirectConnection::isEquivalent() that causes the check to unfairly judge two shared memory buffers. Test: compiles Change-Id: I8274b01f331dc958c8b0183aab32119f21a8c4ff
/frameworks/native/services/sensorservice/SensorDirectConnection.cpp
|
e36e34731cbe77a49aa5e7d687dde041d83d0370 |
|
03-Nov-2016 |
Peng Xu <pengxu@google.com> |
Direct report mode support in sensor service and client Added SensorDirectConnection to represent the direct channel. The life-cycle is similar to that of SensorEventConnection. Modified SensorDevice and SensorDeviceTreble to support new HAL API. Added support in SensorManager, SensorService, binder classes. Also added related helper functions in Sensor and dumpsys support in SensorList. Test: manual test with demo app Bug: 30985702 Change-Id: I8750294b6aab717ed7f525299be642f1f0b85558
/frameworks/native/services/sensorservice/SensorDirectConnection.cpp
|