Searched refs:Defer (Results 1 – 6 of 6) sorted by relevance
298 class Defer { in waitForService() class300 Defer(std::function<void()>&& f) : mF(std::move(f)) {} in waitForService() function in android::ServiceManagerShim::waitForService::Defer301 ~Defer() { mF(); } in waitForService()319 Defer unregister ([&] { in waitForService()
240 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()
219 class Defer {222 explicit Defer(U &&f) : mThunk(std::forward<U>(f)) {} in Defer() function223 ~Defer() { mThunk(); } in ~Defer()
401 mediametrics::Defer defer([&] { in start()481 mediametrics::Defer defer([&] { in stop()1387 mediametrics::Defer defer([&] { in restoreRecord_l()
654 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()
63 android::mediametrics::Defer defer([&] { check = true; }); in TEST()