Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/test/
Dmojo_test_base.cc28 base::MachPortBroker* g_mach_broker = nullptr; variable
34 if (!g_mach_broker) { in MojoTestBase()
35 g_mach_broker = new base::MachPortBroker("mojo_test"); in MojoTestBase()
36 CHECK(g_mach_broker->Init()); in MojoTestBase()
37 SetMachPortProvider(g_mach_broker); in MojoTestBase()
63 base::AutoLock lock(g_mach_broker->GetLock()); in ClientController()
68 g_mach_broker->AddPlaceholderForPid(helper_.test_child().Handle()); in ClientController()
83 base::AutoLock lock(g_mach_broker->GetLock()); in WaitForShutdown()
84 g_mach_broker->InvalidatePid(helper_.test_child().Handle()); in WaitForShutdown()