summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2025-02-10 18:38:51 -0800
committer Siarhei Vishniakou <svv@google.com> 2025-02-10 18:42:25 -0800
commit287f99863b4147caa933d6bed86697dc2c605b45 (patch)
treef98959c37e4b6d5be3008d2154f07f1e13e2964e /libs/gui/BufferQueue.cpp
parent4dcf2fa35aa37cfa0a9de99bd56662ed149bfd0a (diff)
Add empty, dump methods to BlockingQueue
BlockingQueue can now be dumped (since the user can't access its internal state, and it's too clunky to be making a copy just so that we can destructively print it). Also, "empty" method is useful when converting code from std containers to the BlockingQueue. At the same time, mark the "size" method as const. Bug: 376713684 Test: used in another CL in frameworks/base. build only here Flag: EXEMPT refactor Change-Id: I3fda00b793b512bdba4c85dbf561dfc5e9724601
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions