History log of /system/chre/Android.bp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7c6a30343da6a6bac81423727e23417c09a19dbc 05-Mar-2018 Arthur Ishiguro <arthuri@google.com> Implements fragmented nanoapp load request

- Modifies HAL to fragment nanoapps during load

Bug: 70526856
Test: Run CHQTS and verify pass
Change-Id: Icfd75494836aa9f3c00d1677b9fcb945ae73662b
/system/chre/Android.bp
abe6dd64a5ae46024eecaddc8f1dbdff9a4d4da5 09-Mar-2018 Arthur Ishiguro <arthuri@google.com> Creates a FragmentedLoadTransaction object

Used to pre-allocate requests containing fragmented
binaries.

Bug: 70526856
Test: Compile only
Change-Id: I9de5bc016eb9d73c13ebf526348c144e4d534fcd
/system/chre/Android.bp
012339cd584a90cf1677787026bbbb5b887ff268 12-Oct-2017 Chih-Hung Hsieh <chh@google.com> Use -Werror in system/chre am: 872df74e02 am: dd059e8204
am: 80c7bdf988

Change-Id: I82dcd28f65e2198688d7616b49ba97610c5333a7
872df74e02f2a7caae54b5813238fccff115e179 03-Oct-2017 Chih-Hung Hsieh <chh@google.com> Use -Werror in system/chre

* Fix unused variable warning.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I85ae8e234836fc38b81beba8538c0494fc896725
/system/chre/Android.bp
d2c8b6d1ab226e146ff86baf208ade3a59f82028 16-Aug-2017 Mehdi Alizadeh <mett@google.com> Moves wifi nanoapp's type defs to system/chre

Bug: 32842314
Test: run_sim.sh and run_tests.sh and verify builds
Change-Id: I668f63608c024793d5a568f868ebc149504ff4de
Merged-In: I668f63608c024793d5a568f868ebc149504ff4de
/system/chre/Android.bp
303fed071c0544f38b38cab19ca570f6c2a91125 18-Aug-2017 Brian Duddie <bduddie@google.com> Mark chre_api headers as a vendor module

While this API definition is shared to the ecosystem, the choice of API
version and implementation thereof is device-specific. Therefore, this
module should be tagged as a vendor module, which also allows it to be
used by other vendor modules.

Bug: 32842314
Test: mma from system/chre path
Change-Id: I0a27878a47d3b235736e238a77441d4256e63fdd
Merged-In: I0a27878a47d3b235736e238a77441d4256e63fdd
/system/chre/Android.bp
7ab2df15b6b96395e1f0688c9f607527616f78db 17-Aug-2017 Brian Duddie <bduddie@google.com> Export CHRE API include path

Expose the path to the CHRE API header files as "chre_api" in Android.bp
so other code that wishes to use its definitions can pull it in.

Bug: 32842314
Test: mma from system/chre path
Change-Id: I49be7fb6616f1a02842fdc76ae64e559edc51ee0
Merged-In: I49be7fb6616f1a02842fdc76ae64e559edc51ee0
/system/chre/Android.bp
24ca58cc47ef4eea6b6ba73dbc2552b20d670e73 17-Aug-2017 Brian Duddie <bduddie@google.com> Export chre_flatbuffers header-only library

Allows other modules to depend on this target without pulling in the
whole chre_client library.

Bug: 32842314
Test: mma from system/chre path
Change-Id: Id706249d3aa1aac7118dbc33c55bb5207c982a43
Merged-In: Id706249d3aa1aac7118dbc33c55bb5207c982a43
/system/chre/Android.bp
0559299c5661dc88275a914f8e7546ae38d59724 02-May-2017 Steven Moreland <smoreland@google.com> Remove redundant dependencies

android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I761cb079474130b461122098e8c089a0d90dee9c
/system/chre/Android.bp
9012ffd806c8ff0f1e30a2d04a1f99b353a523e5 14-Apr-2017 Steven Moreland <smoreland@google.com> Move chre_client to vendor. am: 9e280e7205
am: f251031822

Change-Id: I0159f48728c7764718f3387ad774f3d4c522ea93
9e280e72059c7b49cb1cec7ba3fe40bfe0638f7c 11-Apr-2017 Steven Moreland <smoreland@google.com> Move chre_client to vendor.

Also makes chre_test_client a cc_test. chre_client is only included by
vendor modules in this file. chre_test_client should be a cc_test so it
isn't accidentally included on production devices.

Test: chre_test_client (on relevant device)
Bug: 33241851
Change-Id: I66cc24ee0d8baec290586a3e7f0a72ecef686ff3
/system/chre/Android.bp
56944d8c8698b3304ddc52dd257ec8da30dcb189 30-Mar-2017 Brian Duddie <bduddie@google.com> Reduce debugging output from CHRE daemon

Test: load, confirm verbose binary buffer dumps are not printed
Change-Id: I2974690a608cd66cc37fcb9e2990ec3063e74c69
/system/chre/Android.bp
9d5b500a223ef73560f0dce38f50b809bde5dd0d 23-Mar-2017 Brian Duddie <bduddie@google.com> Rework Nanoapp model

Unify Nanoapp into a single monolithic object that directly exposes the
common interfaces implemented in core and platform. As a result of this,
PlatformNanoapp will no longer exist as a separate entity from Nanoapp.
In preparation for dynamic app support, refactor static nanoapp loading
to construct a UniquePtr<Nanoapp> and transfer ownership to the
EventLoop when starting a nanoapp.

This commit includes the first look at the nanoapp support library which
will be used for external nanoapps implemented as dynamic shared
objects.

Test: run chre_test_client with MessageWorld, and run the Linux simulator
Change-Id: Ic17f2c48c3156d1e5bb255b1c6a188908123d5df
/system/chre/Android.bp
3d891e3fa75ff638c03d5083a47161c044cbfad8 19-Mar-2017 Brian Duddie <bduddie@google.com> Add initial context hub HAL implementation

Add GenericContextHub, an implementation of the context hub HAL that
uses SocketClient to interact with CHRE. Currently, only getHubs() and
sending messages to/from nanoapps are supported.

Test: load, confirm ContextHubService queries hub info successfully
Change-Id: Ia09e0c949b7102bbf1342b8f06557820616cbdcb
/system/chre/Android.bp
7621b3267fd2ff1068d7aa7d75441d68646226ab 19-Mar-2017 Brian Duddie <bduddie@google.com> Reorganize HostProtocol, add hub info query

Split HostProtocol into three classes: one for the host, one for CHRE,
and one that's shared. Since the protocol is not fully symmetric (e.g.
messages to/from nanoapps are the same in both directions, but only one
side will ever request hub info, and only CHRE will ever construct the
response), this avoids pulling in unneeded code.

Also, add support for querying hub information from CHRE to be used in
the HAL, and rework the HostLink pending outbound message queue to be
more generic.

Test: run chre_test_client
Change-Id: Id88485b8c5a085eb886d4059840ac640c0383c88
/system/chre/Android.bp
72833b2fba97751b31b27422d117b05f718760fd 16-Mar-2017 Brian Duddie <bduddie@google.com> Add HostProtocol for common encode/decode

Add a new helper class called HostProtocol which takes care of encoding
and decoding FlatBuffers messages. HostProtocol can be used both in the
CHRE and in host-side code.

Update the host messages IDL to mark two fields as required, which
removes the requirement for code to check that these fields are not null
when handling a decoded message. If the field is ommitted, the message
will be rejected at the verification step.

Rework HostLink and chre_test_client to leverage HostProtocol. Reorder
hostEndpoint and messageType parameters in HostCommsManager to ensure
consistency.

Test: load CHRE, run chre_test_client with MessageWorld
Change-Id: I6221d78f881bb7fe29f9fbe8a842ca2b07e5674d
/system/chre/Android.bp
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/Android.bp
3d0e53bc6419ee6110ca75ab30f369856fe5b28d 10-Mar-2017 Brian Duddie <bduddie@google.com> Expose socket interface to CHRE daemon

Run a Unix domain socket server in the CHRE daemon so clients such as
the context hub HAL implementation can connect and communicate with
CHRE. Add a test client binary to help with initial testing in
conjunction with the message world app.

Test: run CHRE with message world app loaded, and use chre_test_client
Change-Id: I444f883a468e1c0fa8d96fbeee670540fa6844e7
/system/chre/Android.bp