diff options
| author | 2022-09-13 21:16:33 -0600 | |
|---|---|---|
| committer | 2022-09-16 11:46:14 -0600 | |
| commit | 80ee645a927e6f3924ccaf38f6da95b2d5984014 (patch) | |
| tree | 6a32a8d824f140456b70b4497454186baecfe17e /libs/androidfw/StringPool.cpp | |
| parent | f577ac06c6573d92236e7ffeb9347353dfb4a722 (diff) | |
Initial pass at "Snowbird" broadcast queue.
Now that we have a solid platform carved out, we can start a second
BroadcastQueue implementation with the new ideas we're pursuing for
the "Snowbird" project.
Generally speaking, this new implementation pivots broadcast dispatch
to be handled on a per-process basis, as represented by the new
BroadcastProcessQueue class. Each per-process queue has the concept
of being "runnable at" a specific time in the future, which supports
us pausing or delaying broadcast delivery on a per-process basis.
This initial pass is just enough of the functionality to pass the
local unit tests we've recently written, which currently cover very
basic situations like manifest-vs-registered and warm-vs-cold starts;
much of the remaining work is left as "TODO" statements, which will
be fleshed out via TDD.
Bug: 245771249
Test: atest FrameworksMockingServicesTests:BroadcastQueueTest
Change-Id: If83377c2012dd16fe8f62f90704263a977763dc7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions