• Home
  • History
  • Annotate
  • only in /system/chre/util/include/chre/util/nanoapp/
History log of /system/chre/util/include/chre/util/nanoapp/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
pp_id.h
de21e14b333cc8f52db1e759b537c4c1a8e81dd3 21-Mar-2017 Andrew Rossignol <aarossig@google.com> Updates parseChreWifiBand to always return a string

Test: Run on device
Change-Id: Ic65a9907c02d81ce1f10a41dcd9a6323c55725b2
ifi.h
0e2f02c628480c36e32c05656e66e108413a5a42 21-Mar-2017 Andrew Rossignol <aarossig@google.com> Extends the logging of WiFi scan events in WiFiWorld

Test: Compile + load on device and view scan results
Change-Id: Ib10c02ec770aaf2b6c65eb968b20660ec2755792
ifi.h
da6eaabf8572a16acaebd516dd96ce0063d71e91 18-Mar-2017 Andrew Rossignol <aarossig@google.com> Adds initial WiFi scan event logging to WifiWorld

Test: Compile + run on device
Change-Id: I6e4cd05064c93eb26223b1e69f57b07b8922cedd
ifi.h
746ea0ecb99d3f758da17292db549b29720c4442 16-Mar-2017 Andrew Rossignol <aarossig@google.com> Adds getSensorNameForEventType

This is duplicated in two nanoapps and seems useful for logging so let's
stop the copy-pasta and make it available for everyone :)

Test: Run the simulator
Change-Id: I215f8622647bcd2890189687f47ace40c06e47e5
ensor.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
og.h