Home
last modified time | relevance | path

Searched refs:channel_handle (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium_org/ipc/
Dipc_channel_common.cc11 const IPC::ChannelHandle &channel_handle, Listener* listener) { in CreateClient() argument
12 return Channel::Create(channel_handle, Channel::MODE_CLIENT, listener); in CreateClient()
17 const IPC::ChannelHandle &channel_handle, Listener* listener) { in CreateNamedServer() argument
18 return Channel::Create(channel_handle, Channel::MODE_NAMED_SERVER, listener); in CreateNamedServer()
23 const IPC::ChannelHandle &channel_handle, Listener* listener) { in CreateNamedClient() argument
24 return Channel::Create(channel_handle, Channel::MODE_NAMED_CLIENT, listener); in CreateNamedClient()
30 const IPC::ChannelHandle &channel_handle, Listener* listener) { in CreateOpenNamedServer() argument
31 return Channel::Create(channel_handle, in CreateOpenNamedServer()
39 const IPC::ChannelHandle &channel_handle, Listener* listener) { in CreateServer() argument
40 return Channel::Create(channel_handle, Channel::MODE_SERVER, listener); in CreateServer()
Dipc_channel.h121 const IPC::ChannelHandle &channel_handle, Mode mode,Listener* listener);
124 const IPC::ChannelHandle &channel_handle, Listener* listener);
132 const IPC::ChannelHandle &channel_handle, Listener* listener);
134 const IPC::ChannelHandle &channel_handle, Listener* listener);
140 const IPC::ChannelHandle &channel_handle, Listener* listener);
143 const IPC::ChannelHandle &channel_handle, Listener* listener);
Dipc_channel_win.cc36 ChannelWin::ChannelWin(const IPC::ChannelHandle &channel_handle, in ChannelWin() argument
48 CreatePipe(channel_handle, mode); in ChannelWin()
208 bool ChannelWin::CreatePipe(const IPC::ChannelHandle &channel_handle, in CreatePipe() argument
213 if (channel_handle.pipe.handle) { in CreatePipe()
214 DCHECK(channel_handle.name.empty()); in CreatePipe()
220 GetNamedPipeInfo(channel_handle.pipe.handle, &flags, NULL, NULL, NULL); in CreatePipe()
228 channel_handle.pipe.handle, in CreatePipe()
238 DCHECK(!channel_handle.pipe.handle); in CreatePipe()
241 pipe_name = PipeName(channel_handle.name, &client_secret_); in CreatePipe()
252 DCHECK(!channel_handle.pipe.handle); in CreatePipe()
[all …]
Dipc_channel_nacl.cc121 ChannelNacl::ChannelNacl(const IPC::ChannelHandle& channel_handle, in ChannelNacl() argument
128 pipe_name_(channel_handle.name), in ChannelNacl()
130 if (!CreatePipe(channel_handle)) { in ChannelNacl()
133 LOG(WARNING) << "Unable to create pipe named \"" << channel_handle.name in ChannelNacl()
241 const IPC::ChannelHandle& channel_handle) { in CreatePipe() argument
251 if (channel_handle.socket.fd == -1) { in CreatePipe()
255 pipe_ = channel_handle.socket.fd; in CreatePipe()
372 const IPC::ChannelHandle &channel_handle, Mode mode, Listener* listener) { in Create() argument
374 new ChannelNacl(channel_handle, mode, listener)); in Create()
Dipc_channel_proxy.h68 const IPC::ChannelHandle& channel_handle,
79 void Init(const IPC::ChannelHandle& channel_handle, Channel::Mode mode,
174 void CreateChannel(const IPC::ChannelHandle& channel_handle,
Dipc_channel_posix.cc180 ChannelPosix::ChannelPosix(const IPC::ChannelHandle& channel_handle, in ChannelPosix() argument
195 pipe_name_(channel_handle.name), in ChannelPosix()
198 if (!CreatePipe(channel_handle)) { in ChannelPosix()
201 LOG(WARNING) << "Unable to create pipe named \"" << channel_handle.name in ChannelPosix()
235 const IPC::ChannelHandle& channel_handle) { in CreatePipe() argument
248 if (channel_handle.socket.fd != -1) { in CreatePipe()
250 local_pipe = channel_handle.socket.fd; in CreatePipe()
1058 const IPC::ChannelHandle &channel_handle, Mode mode, Listener* listener) { in Create() argument
1060 channel_handle, mode, listener)).PassAs<Channel>(); in Create()
Dipc_channel_nacl.h38 ChannelNacl(const IPC::ChannelHandle& channel_handle,
56 bool CreatePipe(const IPC::ChannelHandle& channel_handle);
Dipc_channel_proxy.cc309 const IPC::ChannelHandle& channel_handle, in Create() argument
314 channel->Init(channel_handle, mode, true); in Create()
334 void ChannelProxy::Init(const IPC::ChannelHandle& channel_handle, in Init() argument
354 context_->CreateChannel(channel_handle, mode); in Init()
358 channel_handle, mode)); in Init()
Dipc_channel_win.h29 ChannelWin(const IPC::ChannelHandle &channel_handle, Mode mode,
53 bool CreatePipe(const IPC::ChannelHandle &channel_handle, Mode mode);
Dipc_channel_posix.h56 ChannelPosix(const IPC::ChannelHandle& channel_handle, Mode mode,
91 bool CreatePipe(const IPC::ChannelHandle& channel_handle);
Dipc_test_base.cc68 const IPC::ChannelHandle& channel_handle, in CreateChannelFromChannelHandle() argument
72 channel_ = IPC::Channel::CreateServer(channel_handle, listener); in CreateChannelFromChannelHandle()
/external/chromium_org/content/renderer/pepper/
Dhost_dispatcher_wrapper.cc32 bool HostDispatcherWrapper::Init(const IPC::ChannelHandle& channel_handle, in Init() argument
36 if (channel_handle.name.empty()) in Init()
40 DCHECK_NE(-1, channel_handle.socket.fd); in Init()
41 if (channel_handle.socket.fd == -1) in Init()
51 channel_handle, in Init()
Dpepper_broker.cc56 const IPC::ChannelHandle& channel_handle) { in Init() argument
57 if (channel_handle.name.empty()) in Init()
61 DCHECK_NE(-1, channel_handle.socket.fd); in Init()
62 if (channel_handle.socket.fd == -1) in Init()
71 channel_handle, in Init()
150 const IPC::ChannelHandle& channel_handle) { in OnBrokerChannelConnected() argument
153 if (!dispatcher->Init(broker_pid, channel_handle)) { in OnBrokerChannelConnected()
Dpepper_broker.h36 const IPC::ChannelHandle& channel_handle);
61 const IPC::ChannelHandle& channel_handle);
Dplugin_module.cc615 const IPC::ChannelHandle& channel_handle, in CreateOutOfProcessModule() argument
624 channel_handle, in CreateOutOfProcessModule()
693 IPC::ChannelHandle channel_handle; in Create() local
697 path, &channel_handle, &peer_pid, &plugin_child_id)); in Create()
698 if (channel_handle.name.empty()) { in Create()
713 channel_handle, in Create()
/external/chromium_org/content/plugin/
Dplugin_thread.cc143 IPC::ChannelHandle channel_handle; in OnCreateChannel() local
145 channel_handle.name = channel->channel_handle().name; in OnCreateChannel()
148 channel_handle.socket = in OnCreateChannel()
154 Send(new PluginProcessHostMsg_ChannelCreated(channel_handle)); in OnCreateChannel()
/external/chromium_org/content/browser/
Dpepper_flash_settings_helper_impl.cc52 const IPC::ChannelHandle& channel_handle, in OnPpapiChannelOpened() argument
58 if (!channel_handle.name.empty()) in OnPpapiChannelOpened()
59 callback_.Run(true, channel_handle); in OnPpapiChannelOpened()
/external/chromium_org/content/renderer/java/
Djava_bridge_dispatcher.cc29 IPC::ChannelHandle channel_handle; in EnsureChannelIsSetUp() local
30 Send(new JavaBridgeHostMsg_GetChannelHandle(routing_id(), &channel_handle)); in EnsureChannelIsSetUp()
33 channel_handle, ChildProcess::current()->io_message_loop_proxy()); in EnsureChannelIsSetUp()
Djava_bridge_channel.cc15 const IPC::ChannelHandle& channel_handle, in GetJavaBridgeChannel() argument
18 channel_handle, in GetJavaBridgeChannel()
/external/chromium_org/content/common/gpu/
Dgpu_channel_manager.cc124 IPC::ChannelHandle channel_handle; in OnEstablishChannel() local
141 channel_handle.name = channel->GetChannelName(); in OnEstablishChannel()
148 channel_handle.socket = base::FileDescriptor(renderer_fd, true); in OnEstablishChannel()
153 Send(new GpuHostMsg_ChannelEstablished(channel_handle)); in OnEstablishChannel()
157 const IPC::ChannelHandle& channel_handle) { in OnCloseChannel() argument
160 if (iter->second->GetChannelName() == channel_handle.name) { in OnCloseChannel()
/external/chromium_org/ppapi/nacl_irt/
Dppapi_dispatcher.cc60 IPC::ChannelHandle channel_handle( in PpapiDispatcher() local
72 channel_->Init(channel_handle, IPC::Channel::MODE_SERVER, true); in PpapiDispatcher()
194 IPC::ChannelHandle channel_handle( in OnMsgInitializeNaClDispatcher() local
198 channel_handle, false)) { in OnMsgInitializeNaClDispatcher()
/external/chromium_org/ppapi/proxy/
Dbroker_dispatcher.cc25 const IPC::ChannelHandle& channel_handle, in InitBrokerWithChannel() argument
27 return ProxyChannel::InitWithChannel(delegate, peer_pid, channel_handle, in InitBrokerWithChannel()
Dproxy_channel.cc30 const IPC::ChannelHandle& channel_handle, in InitWithChannel() argument
37 channel_ = IPC::SyncChannel::Create(channel_handle, mode, this, in InitWithChannel()
/external/chromium_org/content/browser/gpu/
Dbrowser_gpu_channel_host_factory.cc49 IPC::ChannelHandle& channel_handle() { return channel_handle_; } in channel_handle() function in content::BrowserGpuChannelHostFactory::EstablishRequest
59 void OnEstablishedOnIO(const IPC::ChannelHandle& channel_handle,
138 const IPC::ChannelHandle& channel_handle, in OnEstablishedOnIO() argument
140 if (channel_handle.name.empty() && reused_gpu_process_) { in OnEstablishedOnIO()
147 channel_handle_ = channel_handle; in OnEstablishedOnIO()
408 if (pending_request_->channel_handle().name.empty()) { in GpuChannelEstablished()
414 pending_request_->channel_handle(), in GpuChannelEstablished()
/external/chromium_org/content/child/npapi/
Dnp_channel_base.cc65 const IPC::ChannelHandle& channel_handle, IPC::Channel::Mode mode, in GetChannel() argument
72 base::ScopedFD fd(channel_handle.socket.auto_close ? in GetChannel()
73 channel_handle.socket.fd : -1); in GetChannel()
77 std::string channel_key = channel_handle.name; in GetChannel()
88 channel->channel_handle_ = channel_handle; in GetChannel()

123