Home
last modified time | relevance | path

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

/hardware/google/aemu/host-common/include/host-common/
DVmLock.h41 class VmLock {
42 DISALLOW_COPY_ASSIGN_AND_MOVE(VmLock);
44 VmLock() = default;
45 virtual ~VmLock();
64 static VmLock* get();
73 static VmLock* set(VmLock* vmLock);
80 ScopedVmLock(VmLock* vmLock = VmLock::get()) : mVmLock(vmLock) { in mVmLock()
89 VmLock* const mVmLock;
97 RecursiveScopedVmLock(VmLock* vmLock = VmLock::get()) {
113 VmLock* mVmLock;
[all …]
DDeviceContextRunner.h76 using VmLock = android::VmLock; variable
80 void init(VmLock* vmLock, TimerInterface timerInterface) { in init()
168 VmLock* mVmLock = nullptr;
DAndroidPipe.h78 static void initThreading(VmLock* vmLock);
80 static void initThreadingForTest(VmLock* lock, base::Looper* looper);
DGoldfishSyncCommandQueue.h71 static void initThreading(VmLock* vmLock);
/hardware/google/aemu/host-common/
DVmLock.cpp19 static VmLock* sInstance = nullptr;
21 VmLock::~VmLock() = default;
23 VmLock* VmLock::get() { in get()
25 sInstance = new VmLock(); in get()
30 bool VmLock::hasInstance() { in hasInstance()
34 VmLock* VmLock::set(VmLock* vmLock) { in set()
35 VmLock* result = sInstance; in set()
DVmLock_unittest.cpp22 TEST(VmLock, Default) { in TEST() argument
23 VmLock* vmLock = VmLock::get(); in TEST()
29 TEST(VmLock, CustomVmLock) { in TEST() argument
36 VmLock::get()->lock(); in TEST()
41 VmLock::get()->unlock(); in TEST()
46 VmLock::get()->lock(); in TEST()
51 VmLock::get()->unlock(); in TEST()
58 VmLock::get()->lock(); in TEST()
63 VmLock::get()->unlock(); in TEST()
DGoldfishSyncCommandQueue.cpp31 void GoldfishSyncCommandQueue::initThreading(VmLock* vmLock) { in initThreading()
DAndroidPipe.cpp66 using VmLock = android::VmLock; typedef
466 void AndroidPipe::initThreading(VmLock* vmLock) { in initThreading()