Home
last modified time | relevance | path

Searched refs:lk (Results 1 – 8 of 8) sorted by relevance

/system/core/libmemunreachable/
DSemaphore.h33 std::unique_lock<std::mutex> lk(m_); in Wait()
34 cv_.wait_for(lk, ms, [&] { in Wait()
44 std::lock_guard<std::mutex> lk(m_); in Post()
DPtracerThread.cpp79 std::unique_lock<std::mutex> lk(m_); in PtracerThread() local
80 lk.unlock(); in PtracerThread()
93 std::unique_lock<std::mutex> lk(m_); in Start() local
111 lk.unlock(); in Start()
DAllocator.cpp356 std::lock_guard<std::mutex> lk(m_); in Alloc() local
373 std::lock_guard<std::mutex> lk(m_); in Free() local
/system/vold/
DIdleMaint.cpp202 std::unique_lock<std::mutex> lk(cv_m, std::defer_lock); in waitForGc() local
227 lk.lock(); in waitForGc()
229 cv_abort.wait_for(lk, 10s, [] { return idle_maint_stat == IdleMaintStats::kAbort; }); in waitForGc()
230 lk.unlock(); in waitForGc()
359 std::unique_lock<std::mutex> lk(cv_m); in RunIdleMaint() local
369 lk.unlock(); in RunIdleMaint()
385 lk.lock(); in RunIdleMaint()
387 lk.unlock(); in RunIdleMaint()
411 std::unique_lock<std::mutex> lk(cv_m); in AbortIdleMaint() local
414 lk.unlock(); in AbortIdleMaint()
[all …]
/system/core/libmemunreachable/tests/
DThreadCapture_test.cpp62 std::lock_guard<std::mutex> lk(m_); in StartThreads() local
72 std::unique_lock<std::mutex> lk(m_); in StartThreads() local
73 cv_stop_.wait(lk, [&] { return stop_; }); in StartThreads()
79 std::unique_lock<std::mutex> lk(m_); in StartThreads() local
80 cv_start_.wait(lk, [&] { return tids_.size() == threads; }); in StartThreads()
86 std::lock_guard<std::mutex> lk(m_); in StopThreads() local
/system/netd/resolv/
Dresolver_test.cpp1938 std::unique_lock lk(cvMutex); in TEST_F() local
1941 EXPECT_EQ(std::cv_status::no_timeout, cv.wait_for(lk, std::chrono::seconds(1))); in TEST_F()
/system/timezone/input_data/android/
Dcountryzones.txt1882 isoCode:"lk"
/system/extras/simpleperf/scripts/inferno/
Dinferno.b641lk+YETf+4v6jFzkvWq4japWpuq1p7HKc65/D5I83PGg3rQbJ5W5CHmvPln5sHtJA58kXvfp/hBG/EJ1Orqwue8O381DV//Gnib…