Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/platform/
Dnamed_platform_channel.cc12 const char NamedPlatformChannel::kNamedHandleSwitch[] =
15 NamedPlatformChannel::NamedPlatformChannel(const Options& options) { in NamedPlatformChannel() function in mojo::NamedPlatformChannel
20 NamedPlatformChannel::NamedPlatformChannel(NamedPlatformChannel&& other) =
23 NamedPlatformChannel::~NamedPlatformChannel() = default;
25 NamedPlatformChannel& NamedPlatformChannel::operator=(
26 NamedPlatformChannel&& other) = default;
29 NamedPlatformChannel::ServerName NamedPlatformChannel::ServerNameFromUTF8( in ServerNameFromUTF8()
38 void NamedPlatformChannel::PassServerNameOnCommandLine( in PassServerNameOnCommandLine()
44 PlatformChannelEndpoint NamedPlatformChannel::ConnectToServer( in ConnectToServer()
51 PlatformChannelEndpoint NamedPlatformChannel::ConnectToServer( in ConnectToServer()
Dnamed_platform_channel.h32 class COMPONENT_EXPORT(MOJO_CPP_PLATFORM) NamedPlatformChannel { in COMPONENT_EXPORT()
66 NamedPlatformChannel(const Options& options); in COMPONENT_EXPORT()
67 NamedPlatformChannel(NamedPlatformChannel&& other); in COMPONENT_EXPORT()
68 ~NamedPlatformChannel(); in COMPONENT_EXPORT()
70 NamedPlatformChannel& operator=(NamedPlatformChannel&& other); in COMPONENT_EXPORT()
117 DISALLOW_COPY_AND_ASSIGN(NamedPlatformChannel); in COMPONENT_EXPORT()
Dnamed_platform_channel_posix.cc23 NamedPlatformChannel::ServerName GenerateRandomServerName( in GenerateRandomServerName()
24 const NamedPlatformChannel::Options& options) { in GenerateRandomServerName()
34 bool MakeUnixAddr(const NamedPlatformChannel::ServerName& server_name, in MakeUnixAddr()
81 PlatformChannelServerEndpoint NamedPlatformChannel::CreateServerEndpoint( in CreateServerEndpoint()
129 PlatformChannelEndpoint NamedPlatformChannel::CreateClientEndpoint( in CreateClientEndpoint()
DREADME.md47 `NamedPlatformChannel`, which abstracts a named system resource that can
50 A `NamedPlatformChannel` upon construction will begin listening on
54 `NamedPlatformChannel::Options::server_name`, but if no name is given, a
59 mojo::NamedPlatformChannel::Options options;
60 mojo::NamedPlatformChannel named_channel(options);
66 void OnGotServerName(const mojo::NamedPlatformChannel::ServerName& name) {
69 mojo::NamedPlatformChannel::ConnectToServer(name);
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.cc110 mojo::NamedPlatformChannel::ServerName server_name; in StartChildWithExtraSwitch()
153 NamedPlatformChannel::Options options; in StartChildWithExtraSwitch()
155 NamedPlatformChannel named_channel(options); in StartChildWithExtraSwitch()
220 NamedPlatformChannel::ServerName named_pipe( in ChildSetup()
229 mojo::NamedPlatformChannel::ConnectToServer(named_pipe)); in ChildSetup()
240 NamedPlatformChannel::ConnectToServer(named_pipe)); in ChildSetup()
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc85 NamedPlatformChannel::Options named_channel_options;
90 NamedPlatformChannel named_channel(named_channel_options);
175 return NamedPlatformChannel::ConnectToServer(command_line); in RecoverEndpointFromCommandLine()
/external/libchrome/mojo/core/
Dinvitation_unittest.cc303 base::Optional<NamedPlatformChannel> named_channel; in LaunchChildTestClient()
314 NamedPlatformChannel::Options named_channel_options; in LaunchChildTestClient()
399 NamedPlatformChannel::ConnectToServer(command_line);
Dnode_controller.cc342 NamedPlatformChannel::Options options; in SendBrokerClientInvitationOnIOThread()
343 NamedPlatformChannel named_channel(options); in SendBrokerClientInvitationOnIOThread()