summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2022-09-13 21:16:33 -0600
committer Jeff Sharkey <jsharkey@android.com> 2022-09-16 11:46:14 -0600
commit80ee645a927e6f3924ccaf38f6da95b2d5984014 (patch)
tree6a32a8d824f140456b70b4497454186baecfe17e /libs/androidfw/StringPool.cpp
parentf577ac06c6573d92236e7ffeb9347353dfb4a722 (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