812101357014f2e159a4e50b33e5285975a8faa5 |
|
18-Jan-2018 |
Brian Duddie <bduddie@google.com> |
Include CHRE API dependency in nanoapp log util Ensures chreLog and its enum are defined prior to their use. Test: compile only Change-Id: Ia53e28cd6c7a15b2632f914e9d97e04e7db472e0
/system/chre/util/include/chre/util/nanoapp/log.h
|
baa4939bfc9092bd9b0a93763a3641f115a59f21 |
|
21-Nov-2017 |
Brian Duddie <bduddie@google.com> |
Enable -Wdouble-promotion, except in logging Configure the compiler to error on likely unintentional promotion from float to double. Also, fix some instances of this in the codebase. Test: ./run_sim.sh, ./load_chre.sh for 2017 and 2018 devices Change-Id: I1ec89514f07c7ae525336030d07b8e5eba4b106a
/system/chre/util/include/chre/util/nanoapp/log.h
|
61c5c1b001573d91012fd18e670e262b414aa81b |
|
21-Nov-2017 |
Brian Duddie <bduddie@google.com> |
Enable -Wformat for nanoapps Add printf format declaration to chreLog when the nanoapp logging utility header file is included, so format string errors will be caught at compile time. Test: ./run_sim.sh, ./load_chre.sh, make nanoapps Change-Id: Id6cc0585f5b15ff0d92ed87c5df71fb214ae22c1
/system/chre/util/include/chre/util/nanoapp/log.h
|
b88bf455dbdf6555d7c5ae3abf0ae98d215c88b2 |
|
26-Sep-2017 |
Andrew Rossignol <aarossig@google.com> |
Corrects the macro used to determine when logs should be included Test: make google_x86_linux for a sample nanoapp and load it Change-Id: I3df286e61a88ce42f3c114db24db8b0ee5e1d3ac
/system/chre/util/include/chre/util/nanoapp/log.h
|
a16406ba1a734f21f36a4b0f64b23b062644b6e2 |
|
16-Mar-2017 |
Andrew Rossignol <aarossig@google.com> |
Adds a nanoapp logging header file - Updates nanoapps to use this new logging macro - Updates chre.h to be a system-style include - Makes using chreLog shorter - Allows disabling logs below a certain level - Moves some common log level logic to a new file to be shared Test: Compile and run the simulator Change-Id: I81ce7218132f9325b58e2a6792a3bfb6573c30ed
/system/chre/util/include/chre/util/nanoapp/log.h
|