Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/embedder/
Dembedder.cc47 const std::string& child_token) { in ChildProcessLaunched() argument
49 child_token, ProcessErrorCallback()); in ChildProcessLaunched()
54 const std::string& child_token, in ChildProcessLaunched() argument
58 child_token, process_error_callback); in ChildProcessLaunched()
61 void ChildProcessLaunchFailed(const std::string& child_token) { in ChildProcessLaunchFailed() argument
63 internal::g_core->ChildLaunchFailed(child_token); in ChildProcessLaunchFailed()
141 const std::string& token, const std::string& child_token) { in CreateParentMessagePipe() argument
143 return internal::g_core->CreateParentMessagePipe(token, child_token); in CreateParentMessagePipe()
Dembedder.h47 const std::string& child_token);
56 const std::string& child_token,
63 const std::string& child_token);
161 const std::string& child_token);
Dembedder_unittest.cc186 std::string child_token = GenerateRandomToken(); in TEST_F() local
190 CreateParentMessagePipe(pipe_token, child_token); in TEST_F()
203 std::string child_token = GenerateRandomToken(); in TEST_F() local
207 CreateParentMessagePipe(pipe_token, child_token); in TEST_F()
209 child_token); in TEST_F()
224 std::string child_token = GenerateRandomToken(); in TEST_F() local
228 CreateParentMessagePipe(pipe_token, child_token); in TEST_F()
230 ChildProcessLaunchFailed(child_token); in TEST_F()
/external/libmojo/mojo/edk/test/
Dmultiprocess_test_helper.cc119 std::string child_token = mojo::edk::GenerateRandomToken(); in StartChildWithExtraSwitch() local
121 child_token); in StartChildWithExtraSwitch()
128 child_token, process_error_callback_); in StartChildWithExtraSwitch()
/external/libmojo/mojo/edk/system/
Dnode_controller.h77 const std::string& child_token,
82 void CloseChildPorts(const std::string& child_token);
104 const std::string& child_token);
139 const std::string child_token; member
Dnode_controller.cc167 const std::string& child_token, in ConnectToChild() argument
179 std::make_pair(node_name, child_token)).second; in ConnectToChild()
206 void NodeController::CloseChildPorts(const std::string& child_token) { in CloseChildPorts() argument
212 if (port.second.child_token == child_token) { in CloseChildPorts()
282 const std::string& child_token) { in ReservePort() argument
288 std::make_pair(token, ReservedPort{port, child_token})); in ReservePort()
536 const std::string& child_token = it->second; in DropPeer() local
540 if (port.second.child_token == child_token) { in DropPeer()
Dcore.h57 const std::string& child_token,
61 void ChildLaunchFailed(const std::string& child_token);
69 const std::string& token, const std::string& child_token);
Dcore.cc171 const std::string& child_token, in AddChild() argument
175 child_token, in AddChild()
179 void Core::ChildLaunchFailed(const std::string& child_token) { in ChildLaunchFailed() argument
181 GetNodeController()->CloseChildPorts(child_token); in ChildLaunchFailed()
325 const std::string& token, const std::string& child_token) { in CreateParentMessagePipe() argument
332 GetNodeController()->ReservePort(token, port1, child_token); in CreateParentMessagePipe()