Home
last modified time | relevance | path

Searched refs:Defer (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/binder/
DIServiceManager.cpp298 class Defer { in waitForService() class
300 Defer(std::function<void()>&& f) : mF(std::move(f)) {} in waitForService() function in android::ServiceManagerShim::waitForService::Defer
301 ~Defer() { mF(); } in waitForService()
319 Defer unregister ([&] { in waitForService()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.cpp240 mediametrics::Defer defer([&] { in start()
288 mediametrics::Defer defer([&] { in pause_l()
335 mediametrics::Defer defer([&] { in stop_l()
390 mediametrics::Defer defer([&] { in flush()
/frameworks/av/media/libmediametrics/include/media/
DMediaMetricsItem.h219 class Defer {
222 explicit Defer(U &&f) : mThunk(std::forward<U>(f)) {} in Defer() function
223 ~Defer() { mThunk(); } in ~Defer()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp401 mediametrics::Defer defer([&] { in start()
481 mediametrics::Defer defer([&] { in stop()
1387 mediametrics::Defer defer([&] { in restoreRecord_l()
DAudioTrack.cpp654 mediametrics::Defer defer([&] { in start()
785 mediametrics::Defer defer([&]() { in stop()
848 mediametrics::Defer defer([&]() { in flush()
889 mediametrics::Defer defer([&]() { in pause()
2437 mediametrics::Defer defer([&] { in restoreTrack_l()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp63 android::mediametrics::Defer defer([&] { check = true; }); in TEST()