History log of /system/chre/apps/wifi_world/wifi_world.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0c064ae46b56433bfcd5072a388423aec86430f7 06-Jul-2017 Andrew Rossignol <aarossig@google.com> Logs the reference time of a chreWifiScanEvent

Bug: 62725664
Test: ./load_chre.sh with WifiWorld enabled
Change-Id: I7f242f4c9f6a58ec90577eebb3f80ba7987f78c3
/system/chre/apps/wifi_world/wifi_world.cc
04766b8b672730f55ab9678697bfeb732912207e 01-Jul-2017 Andrew Rossignol <aarossig@google.com> Resolves an issue with multiple in-flight wifi requests in WifiWorld

WifiWorld uses a fixed-interval timer to send wifi requests every 10
seconds. There is no guarantee that it completes within 10 seconds.
Rather than using a cyclic timer to start the wifi scan every 10
seconds, a one-shot timer is used to start a wifi scan 10 seconds after
completing one (success or fail).

Bug: 62659408
Test: ./run_sim.sh and ./load_chre.sh
Change-Id: I5f52ef6ec39cbaf4ffb372e885c5de9abf0304fc
/system/chre/apps/wifi_world/wifi_world.cc
70ba5d5359b9fdb0578cc247f6faacb295534339 17-Jun-2017 Andrew Rossignol <aarossig@google.com> Switch to chreWifiRequestScanAsync in WifiWorld

- Allows easier debugging and parameter changes.

Bug: 37679560
Test: run_sim.sh
Change-Id: I45576ea9f8612eac25a28ebd2d1b95a55fd7aef9
/system/chre/apps/wifi_world/wifi_world.cc
bc573e2ce214e0a8982ebfc34b39a12fdfd61904 02-May-2017 Andrew Rossignol <aarossig@google.com> Logs the result count for scan events in WifiWorld

Test: Run on device
Change-Id: Ic968b066c0d20d5b0edf20400e7a8f0a2c27cb77
/system/chre/apps/wifi_world/wifi_world.cc
53db7c705274e84efbe929c6ce16c6617cb3308e 02-May-2017 Andrew Rossignol <aarossig@google.com> Removes obsolete ignored events from sample apps

Test: run_sim.sh
Change-Id: Ic558a25ec2138a45e90e5d276cf33eefcfefbdea
/system/chre/apps/wifi_world/wifi_world.cc
e5d8b38a4814e88b04bcad8e8e9835c375e725bd 11-Apr-2017 Brian Duddie <bduddie@google.com> Reduce logspam from start/stop events

Update sample apps to ignore nanoapp started/stopped events if they
don't use them.

Test: run simulator
Change-Id: Icba38c137ef8687e23a7d4c20ebf9802f246bfe2
/system/chre/apps/wifi_world/wifi_world.cc
463f8eef80b7e33bf795f35657b5a61cd0607407 03-Apr-2017 Andrew Rossignol <aarossig@google.com> Improves logging robustness of WifiWorld

Test: Compile and run sim
Change-Id: I119da7e64e253f51e476a2a32dc5e0436921baa6
/system/chre/apps/wifi_world/wifi_world.cc
2b9d71a9f6a9e8cc0e787957d022154231f29962 24-Mar-2017 Brian Duddie <bduddie@google.com> Correct nanoappEnd entry point naming

Was previously referred to as nanoappStop, which does not match the CHRE
API definition.

Test: compile for linux and slpi
Change-Id: I0586a702624f0159e79876608c5955ed974912f1
/system/chre/apps/wifi_world/wifi_world.cc
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/apps/wifi_world/wifi_world.cc
1ac1f606166ed611241d3605df45fcbbeceb022d 21-Mar-2017 Andrew Rossignol <aarossig@google.com> Adds on-demand wifi scans to WiFiWorld

Test: Run on device with WifiWorld enabled
Change-Id: Ie623c0451a97713f063a3034902e3832b1c325d4
/system/chre/apps/wifi_world/wifi_world.cc
de21e14b333cc8f52db1e759b537c4c1a8e81dd3 21-Mar-2017 Andrew Rossignol <aarossig@google.com> Updates parseChreWifiBand to always return a string

Test: Run on device
Change-Id: Ic65a9907c02d81ce1f10a41dcd9a6323c55725b2
/system/chre/apps/wifi_world/wifi_world.cc
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
/system/chre/apps/wifi_world/wifi_world.cc
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
/system/chre/apps/wifi_world/wifi_world.cc
e969b9be8eca27ffc875167879ab0ec093b3e313 16-Mar-2017 Andrew Rossignol <aarossig@google.com> Implements static nanoapp loading

- Removes the list of nanoapps from the platform init code
- Introduces a new weakly linked nanoapp list on a per-platform basis
- Adds a LoadStaticNanoapps method

Test: Compile + run simulator and device.
Change-Id: Ib4927655977a088650b3954437de3f594ee6529d
/system/chre/apps/wifi_world/wifi_world.cc
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/apps/wifi_world/wifi_world.cc
1587af4ff0a6574d626c6e2d392173d151a23720 10-Mar-2017 Andrew Rossignol <aarossig@google.com> Extends the WifiWorld sample nanoapp

- Adds support for requesting scan monitoring if supported.
- Logs the async result of enabling scan monitoring.
- Logging Wifi scans is left as a TODO as event dispatching is not yet
enabled.

Test: Compile and run the simulator, on-device testing is next
Change-Id: I000a9fb2856dbf557d2c862bee5320a331dab552
/system/chre/apps/wifi_world/wifi_world.cc
09f699fd649d1a1db49dc7317549729cea4356af 07-Mar-2017 Andrew Rossignol <aarossig@google.com> Adds WifiWorld sample CHRE nanoapp

- The goal is to exercise basic wifi functionality and log results for
manual inspection.
- Currently logs the platform capabilities.

Test: Run the nanoapp, see the logs
Change-Id: I5eec1ac2bb4997457e3ca4bbe62ab894bd4c50dd
/system/chre/apps/wifi_world/wifi_world.cc