Home
last modified time | relevance | path

Searched defs:LocalLockHolder (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/cmds/installd/
DInstalldNativeService.cpp320 struct LocalLockHolder { struct
321 using WeakPointer = std::weak_ptr<Mutex>;
322 using StrongPointer = std::shared_ptr<Mutex>;
323 using Map = std::unordered_map<Key, WeakPointer>;
324 using MapLock = std::recursive_mutex;
326 LocalLockHolder(Key key, Map& map, MapLock& mapLock) in LocalLockHolder() function
339 LocalLockHolder(LocalLockHolder&& other) noexcept in LocalLockHolder() function
346 ~LocalLockHolder() { in ~LocalLockHolder()
365 void lock() { mRefLock->lock(); } in lock()
366 void unlock() { mRefLock->unlock(); } in unlock()
[all …]