6797f377898193cbf15b71eba313bd783e552836 |
|
12-May-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Implements sampling status update Upon sampling status change, - update sampling status - post the CHRE event Also modifies SensorWorld to receive this event. Test: compile and test on device. Change-Id: If98330d509eddbedd8071a6fd5d402868179f083
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|
f4f692d5178bf2ff40e33f7ebce86c84811d1178 |
|
31-Mar-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Adds support for passive sensors Test: use SensorWorld to subscribe to passive sensors. Use sensorlogger to enable sensors of the same sensor ID and verify that SensorWorld receive data only when sensorlogger is enabled. Change-Id: I24bed3a2f4837c57fc70f181bf4ac7483846e023
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|
53cec69ff23e5ffabf9f29d824c14fbdb18dc856 |
|
17-Apr-2017 |
Brian Duddie <bduddie@google.com> |
Rework sensor model Model Sensor as a composite object made up of common code, common interface and platform-specific implementation, and platform-specific interface and implementation. These interfaces are composed via inheritance, as they are in chre::Nanoapp, but without polymorphic behavior. Test: run sensor world on SLPI Change-Id: I568688e012d0777c863be2c8b1f301322dfde0f6
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|
67de3f239af66c0d5733950a916bc5566f2017f0 |
|
15-Mar-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Adds support for on-change sensors - adds getLastEvent() and setLastEvent() to Sensor and PlatformSensor - adds getSensor() to SensorRequestManager - delivers last valid event when a nanoapp has a new on-change sensor request. - last event validity is handled internally in Sensor::setLastEvent(). - last event memory is handled in the constructor/destructor of PlatformSensor. Change-Id: Ic2d4b0777cab7da57f6e8bbb0ec8df4764f8e776
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|
9cab6df9598abbf843a7b37eed0c7039048deba7 |
|
18-Mar-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Adds move assignment to PlatformSensor This CL allows Platformsensor to allocate/free memory internally. Also - makes PlatformSensor non-copyable - adds a move constructor to PlatformSensor - changes Sensor's copy constructor to move constructor. Change-Id: Ib944c230d534a81f76c0cb01dc545ad27c7a0543
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|
48fda6e1eedf6ba80ae7596fc7676f8318a1e88e |
|
07-Mar-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Implements the chreGetSensorInfo CHRE API Also modifies SensorWorld nanoapp to exercise the API. Change-Id: If71643bbc98edc5fb8a753aa546aa31ee4c27f48
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|
ba02dd147fe1ab32de471743e1996b416d345a7a |
|
17-Feb-2017 |
Meng-hsuan Chung <menghsuan@google.com> |
Add support for temperature and uncalibrated sensors Change-Id: I4561ce1661496ad71b5f63ad66c990ac3d2e4b3b
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|
0d94eb2fcf599754d9a1087c3292ab6ac6495de6 |
|
24-Jan-2017 |
Andrew Rossignol <aarossig@google.com> |
Moves SensorContext static methods to PlatformSensor - Renames all SensorContext-related files to PlatformSensor. - Moves the SLPI sensor context util to platform sensor util. Change-Id: I05e6b05ff162e7ec00a90e66d114f173b355ef5b
/system/chre/platform/slpi/include/chre/target_platform/platform_sensor_base.h
|