Searched refs:Defer (Results 1 – 9 of 9) sorted by relevance
122 class Defer {125 explicit Defer(U &&f) : mThunk(std::forward<U>(f)) {} in Defer() function126 ~Defer() { mThunk(); } in ~Defer()
397 class Defer { in waitForService() class399 explicit Defer(std::function<void()>&& f) : mF(std::move(f)) {} in waitForService() function in android::ServiceManagerShim::waitForService::Defer400 ~Defer() { mF(); } in waitForService()429 Defer unregister ([&] { in waitForService()
263 mediametrics::Defer defer([&] { in start_l()307 mediametrics::Defer defer([&] { in pause_l()346 mediametrics::Defer defer([&] { in stop_l()391 mediametrics::Defer defer([&] { in flush_l()
57 description: "Defer outgoing broadcasts from processes in freezable state"
251 class Defer {254 explicit Defer(U &&f) : mThunk(std::forward<U>(f)) {} in Defer() function255 ~Defer() { mThunk(); } in ~Defer()
408 mediametrics::Defer defer([&] { in start()488 mediametrics::Defer defer([&] { in stop()1513 mediametrics::Defer defer([&] { in restoreRecord_l()
763 mediametrics::Defer defer([&] { in start()895 mediametrics::Defer defer([&]() { in stop()958 mediametrics::Defer defer([&]() { in flush()1054 mediametrics::Defer defer([&]() { in pause()2836 mediametrics::Defer defer([&] { in restoreTrack_l()3054 mediametrics::Defer defer([&] { in applyVolumeShaper()
94 android::mediametrics::Defer defer([&] { check = true; }); in TEST()
265 mediametrics::Defer defer([beginNs = systemTime()] { in onFirstRef()