/external/chromium_org/remoting/host/ |
D | daemon_process.cc | 139 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 …]
|
D | daemon_process_win.cc | 61 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()
|
D | daemon_process.h | 82 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,
|
D | ipc_desktop_environment.cc | 171 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()
|
D | daemon_process_unittest.cc | 61 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()
|
D | desktop_session_connector.h | 48 int terminal_id, 54 virtual void OnTerminalDisconnected(int terminal_id) = 0;
|
D | ipc_desktop_environment_unittest.cc | 127 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()
|
D | ipc_desktop_environment.h | 97 int terminal_id, 100 virtual void OnTerminalDisconnected(int terminal_id) OVERRIDE;
|
D | desktop_session_win.cc | 259 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()
|
D | desktop_session_win.h | 76 void StartMonitoring(const std::string& terminal_id);
|
/external/chromium_org/remoting/host/win/ |
D | wts_terminal_monitor.cc | 26 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()
|
D | host_service.cc | 88 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()
|
D | rdp_client.cc | 50 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()
|
D | wts_terminal_monitor.h | 34 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);
|
D | rdp_desktop_session.cc | 20 BSTR terminal_id, in Connect() argument 30 UTF16ToUTF8(terminal_id), this)); in Connect()
|
D | host_service.h | 41 virtual bool AddWtsTerminalObserver(const std::string& terminal_id, 91 std::string terminal_id; member
|
D | rdp_client_window.cc | 114 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()
|
D | rdp_client.h | 44 const std::string& terminal_id,
|
D | rdp_desktop_session.h | 42 STDMETHOD(Connect)(long width, long height, BSTR terminal_id,
|
D | chromoting_lib_idl.templ | 94 "initial screen resolution. |terminal_id| specifies a " 96 HRESULT Connect([in] long width, [in] long height, [in] BSTR terminal_id,
|
D | rdp_client_window.h | 68 const std::string& terminal_id,
|