History log of /system/chre/core/include/chre/core/gnss_request_manager.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ea50830c2195c35177cbe89803d3729fc2bd9545 24-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move GNSS+WiFi+WWAN+ASH initialization" into oc-dr1-dev
2ff52c6627054f8708e83eaccbcbd0db0af2899c 23-Jun-2017 Brian Duddie <bduddie@google.com> Move GNSS+WiFi+WWAN+ASH initialization

Move the initialization of the request managers for GNSS, WiFi, and WWAN
to occur after the construction of EventLoopManager. On SLPI, perform
this late initialization in the CHRE thread prior to loading any
nanoapps. As the GNSS, WiFi, and WWAN drivers communicate with other
processors in the system, their initialization can be blocking. Moving
these out of chre::init allows the CHRE daemon to accept connections
sooner, and CHRE can also satisfy the hub info query message before the
EventLoop starts. Both of these combined allow Android to boot more
quickly.

Also, move ASH initialization out of the common code and into the
platform-specific layer, as ASH is not a required feature for all CHRE
implementations. Perform this initialization at the same time as the
radio drivers to further speed up init.

Bug: 62909073
Test: sanity check CHRE system, confirm via logging that
ContextHubSystemService is not blocked waiting on PALs to initialize
Change-Id: Id4792682c8652e35db0ce5b30bcba7e2c52bf72b
/system/chre/core/include/chre/core/gnss_request_manager.h
9418557f186eb102966f9049658722c3ff31c840 23-Jun-2017 Arthur Ishiguro <arthuri@google.com> Adds GNSS status to CHRE debug dump

Logs current interval and open requests/transitions.

Bug: 62659408
Test: Run lshal debug android.hardware.contexthub@1.0::IContexthub/
default and see output.

Change-Id: Ic59f2eedec929c4d7008bdffc8ce2325f1656439
/system/chre/core/include/chre/core/gnss_request_manager.h
4d4114f774c181bf46cf57f36f68cc0674dd347c 11-Apr-2017 Brian Duddie <bduddie@google.com> Add generic event free callback

Used when we just need to free some memory when we're done delivering
the event.

Test: run simulator
Change-Id: I442ce2933fdb94622d9043819ae464450ea49740
/system/chre/core/include/chre/core/gnss_request_manager.h
03527071fb46c553cbf663cf53975e1190f30227 08-Apr-2017 Andrew Rossignol <aarossig@google.com> Implements passing location events to nanoapps

Test: Sit near window, get GPS fix, see unhandled events in GnssWorld
Change-Id: I82c63a821a5451ed49804e413f0c76f4bfab64c9
/system/chre/core/include/chre/core/gnss_request_manager.h
7cdf59051d8e1f54da4f48631216eaea5442a83b 07-Apr-2017 Andrew Rossignol <aarossig@google.com> Posts location session request results to nanoapps

Test: Run sim and GnssWorld on device, see results
Change-Id: Ie657ef460064e2b44a367ee09a182f953e73bf3f
/system/chre/core/include/chre/core/gnss_request_manager.h
24fd87b3879187cb9860337c0cc53aedbfeec9a2 03-Apr-2017 Andrew Rossignol <aarossig@google.com> Adds support for CHRE GNSS Location Session Start/Stop APIs

Test: Build + run on device and simulator.
Change-Id: I48107cf47cdbd9f4ef0b82755e45720fe0478d52
/system/chre/core/include/chre/core/gnss_request_manager.h
c1893d235b674f8a859a9e53aad406b5100c725d 31-Mar-2017 Andrew Rossignol <aarossig@google.com> Supplies stubs for GNSS location start/stop session APIs

Test: Run the simulator
Change-Id: I018672675e3244b7b253e669c51f8eb6978cbbd2
/system/chre/core/include/chre/core/gnss_request_manager.h
6c2d8af39ae6a8ab8969b457b7dc0761542f72cf 13-Mar-2017 Andrew Rossignol <aarossig@google.com> Implements the chreGnssGetCapabilities CHRE API

Test: Compile and run simulator, compile only for on-device
Change-Id: I5b11ae1f783664d9410a46eb4f315cadb42f151b
/system/chre/core/include/chre/core/gnss_request_manager.h