Home
last modified time | relevance | path

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

/external/chromium_org/remoting/host/
Ddaemon_process.cc139 void DaemonProcess::CloseDesktopSession(int terminal_id) { in CloseDesktopSession() argument
145 if (!WasTerminalIdAllocated(terminal_id)) { in CloseDesktopSession()
146 LOG(ERROR) << "Invalid terminal ID: " << terminal_id; in CloseDesktopSession()
153 if ((*i)->id() == terminal_id) { in CloseDesktopSession()
167 VLOG(1) << "Daemon: closed desktop session " << terminal_id; in CloseDesktopSession()
169 new ChromotingDaemonNetworkMsg_TerminalDisconnected(terminal_id)); in CloseDesktopSession()
184 void DaemonProcess::CreateDesktopSession(int terminal_id, in CreateDesktopSession() argument
192 if (WasTerminalIdAllocated(terminal_id)) { in CreateDesktopSession()
193 LOG(ERROR) << "Invalid terminal ID: " << terminal_id; in CreateDesktopSession()
199 next_terminal_id_ = std::max(next_terminal_id_, terminal_id + 1); in CreateDesktopSession()
[all …]
Ddaemon_process_win.cc61 int terminal_id,
68 int terminal_id,
127 int terminal_id, in OnDesktopSessionAgentAttached() argument
146 terminal_id, desktop_process_for_transit, desktop_pipe)); in OnDesktopSessionAgentAttached()
151 int terminal_id, in DoCreateDesktopSession() argument
158 caller_task_runner(), io_task_runner(), this, terminal_id, resolution); in DoCreateDesktopSession()
161 caller_task_runner(), io_task_runner(), this, terminal_id, resolution); in DoCreateDesktopSession()
Ddaemon_process.h82 int terminal_id,
87 void CloseDesktopSession(int terminal_id);
95 void CreateDesktopSession(int terminal_id,
101 void SetScreenResolution(int terminal_id, const ScreenResolution& resolution);
114 bool WasTerminalIdAllocated(int terminal_id);
131 int terminal_id,
Dipc_desktop_environment.cc171 int terminal_id, in OnDesktopSessionAgentAttached() argument
177 base::Unretained(this), terminal_id, desktop_process, desktop_pipe)); in OnDesktopSessionAgentAttached()
181 ActiveConnectionsList::iterator i = active_connections_.find(terminal_id); in OnDesktopSessionAgentAttached()
196 void IpcDesktopEnvironmentFactory::OnTerminalDisconnected(int terminal_id) { in OnTerminalDisconnected() argument
200 base::Unretained(this), terminal_id)); in OnTerminalDisconnected()
204 ActiveConnectionsList::iterator i = active_connections_.find(terminal_id); in OnTerminalDisconnected()
Ddaemon_process_unittest.cc61 int terminal_id,
100 int terminal_id, in DoCreateDesktopSession() argument
103 return scoped_ptr<DesktopSession>(DoCreateDesktopSessionPtr(terminal_id)); in DoCreateDesktopSession()
131 DesktopSession* DoCreateDesktopSession(int terminal_id);
188 DesktopSession* DaemonProcessTest::DoCreateDesktopSession(int terminal_id) { in DoCreateDesktopSession() argument
189 return new FakeDesktopSession(daemon_process_.get(), terminal_id); in DoCreateDesktopSession()
Ddesktop_session_connector.h48 int terminal_id,
54 virtual void OnTerminalDisconnected(int terminal_id) = 0;
Dipc_desktop_environment_unittest.cc127 void ConnectTerminal(int terminal_id,
130 void DisconnectTerminal(int terminal_id);
297 int terminal_id, in ConnectTerminal() argument
300 EXPECT_NE(terminal_id_, terminal_id); in ConnectTerminal()
302 terminal_id_ = terminal_id; in ConnectTerminal()
306 void IpcDesktopEnvironmentTest::DisconnectTerminal(int terminal_id) { in DisconnectTerminal() argument
307 EXPECT_EQ(terminal_id_, terminal_id); in DisconnectTerminal()
Dipc_desktop_environment.h97 int terminal_id,
100 virtual void OnTerminalDisconnected(int terminal_id) OVERRIDE;
Ddesktop_session_win.cc259 base::win::ScopedBstr terminal_id(UTF8ToUTF16(terminal_id_).c_str()); in Initialize() local
262 terminal_id, in Initialize()
427 void DesktopSessionWin::StartMonitoring(const std::string& terminal_id) { in StartMonitoring() argument
439 monitor_->AddWtsTerminalObserver(terminal_id, this); in StartMonitoring()
Ddesktop_session_win.h76 void StartMonitoring(const std::string& terminal_id);
/external/chromium_org/remoting/host/win/
Dwts_terminal_monitor.cc26 std::string* terminal_id) { in LookupTerminalId() argument
30 *terminal_id = kConsole; in LookupTerminalId()
46 terminal_id); in LookupTerminalId()
52 uint32 WtsTerminalMonitor::LookupSessionId(const std::string& terminal_id) { in LookupSessionId() argument
55 if (terminal_id == kConsole) in LookupSessionId()
70 if (LookupTerminalId(session_id, &id) && terminal_id == id) { in LookupSessionId()
Dhost_service.cc88 bool HostService::AddWtsTerminalObserver(const std::string& terminal_id, in AddWtsTerminalObserver() argument
93 registered_observer.terminal_id = terminal_id; in AddWtsTerminalObserver()
102 if (i->terminal_id == terminal_id) { in AddWtsTerminalObserver()
115 registered_observer.session_id = LookupSessionId(terminal_id); in AddWtsTerminalObserver()
160 std::string terminal_id; in OnSessionChange() local
161 bool attached = LookupTerminalId(session_id, &terminal_id); in OnSessionChange()
171 (!attached || !(i->terminal_id == terminal_id))) { in OnSessionChange()
180 if (attached && i->terminal_id == terminal_id && in OnSessionChange()
Drdp_client.cc50 const std::string& terminal_id);
94 const std::string& terminal_id, in RdpClient() argument
99 core_->Connect(screen_size, terminal_id); in RdpClient()
124 const std::string& terminal_id) { in Connect() argument
127 FROM_HERE, base::Bind(&Core::Connect, this, screen_size, terminal_id)); in Connect()
149 rdp_client_window_.reset(new RdpClientWindow(server_endpoint, terminal_id, in Connect()
Dwts_terminal_monitor.h34 virtual bool AddWtsTerminalObserver(const std::string& terminal_id,
43 static bool LookupTerminalId(uint32 session_id, std::string* terminal_id);
48 static uint32 LookupSessionId(const std::string& terminal_id);
Drdp_desktop_session.cc20 BSTR terminal_id, in Connect() argument
30 UTF16ToUTF8(terminal_id), this)); in Connect()
Dhost_service.h41 virtual bool AddWtsTerminalObserver(const std::string& terminal_id,
91 std::string terminal_id; member
Drdp_client_window.cc114 const std::string& terminal_id, in RdpClientWindow() argument
118 terminal_id_(terminal_id) { in RdpClientWindow()
244 base::win::ScopedBstr terminal_id(UTF8ToUTF16(terminal_id_).c_str()); in OnCreate() local
363 result = secured_settings->put_WorkDir(terminal_id); in OnCreate()
Drdp_client.h44 const std::string& terminal_id,
Drdp_desktop_session.h42 STDMETHOD(Connect)(long width, long height, BSTR terminal_id,
Dchromoting_lib_idl.templ94 "initial screen resolution. |terminal_id| specifies a "
96 HRESULT Connect([in] long width, [in] long height, [in] BSTR terminal_id,
Drdp_client_window.h68 const std::string& terminal_id,