ecc9385ed487a0749ee6ef17b42f812382857785 |
|
03-Nov-2017 |
Andrew Rossignol <aarossig@google.com> |
Moves the recv buffer for SocketServer to the heap - Avoids a stack corruption when running on Android in a separate thread. Bug: 67001170 Test: ./load_android_sim.sh Change-Id: I4e6e32b4b0c3af52118ace5aca901e12c4941b44
/system/chre/host/common/include/chre_host/socket_server.h
|
f685db3a6b34f8dd6942964ae99836bda87c8134 |
|
21-Mar-2017 |
Brian Duddie <bduddie@google.com> |
Support unicast messages from CHRE to host Tag messages sent to CHRE with the client ID of the sender. Populate this same value in the response to discriminate the addressee so that responses are only delivered to the client who sent the request. Test: run multiple instances of chre_test_client Change-Id: I60d52944cf4e6cb2bb1fb21e9806eadd7f74b6c2
/system/chre/host/common/include/chre_host/socket_server.h
|
d5316a6fa259f5524483737e6abf19beee7f6850 |
|
18-Mar-2017 |
Brian Duddie <bduddie@google.com> |
Increase size of receive buffer in SocketServer Bump to 1MB to allow larger messages on the path to the hub, which will be used when loading nanoapps. Test: compile Change-Id: I2a7f67634e6267fa27b4a7d6116a7e6e0455ab99
/system/chre/host/common/include/chre_host/socket_server.h
|
f972651484105181854f604e4709e32c8bf30375 |
|
14-Mar-2017 |
Brian Duddie <bduddie@google.com> |
Add SocketClient, move shareable code to common Add a SocketClient as a helper to simplify interacting with the socket connection, including automatically reconnecting if the remote end dies. Another layer is expected to be added on top of this to handle encoding/decoding messages. Move the SocketServer and chre_test_client code from the MSM-specific folder to common, as these can be used in any platform where there's a userspace daemon that acts as the entry point to CHRE communications. Test: compile, run chre and chre_test_client Change-Id: I69c06eb823670beb0a8d018b8fe80495ced842a5
/system/chre/host/common/include/chre_host/socket_server.h
|