| 322 | } |
| 323 | |
| 324 | ResultDetails ReplayManager::ConnectToRemoteServer(RemoteHost host) |
| 325 | { |
| 326 | ResultDetails result = host.Connect(&m_Remote); |
| 327 | |
| 328 | if(host.Protocol() && host.Protocol()->GetProtocolName() == "adb") |
| 329 | { |
| 330 | ANALYTIC_SET(UIFeatures.AndroidRemoteReplay, true); |
| 331 | } |
| 332 | else |
| 333 | { |
| 334 | ANALYTIC_SET(UIFeatures.NonAndroidRemoteReplay, true); |
| 335 | } |
| 336 | |
| 337 | m_RemoteHost = host; |
| 338 | |
| 339 | if(result.OK()) |
| 340 | m_RemoteHost.SetConnected(true); |
| 341 | |
| 342 | return result; |
| 343 | } |
| 344 | |
| 345 | void ReplayManager::DisconnectFromRemoteServer() |
| 346 | { |
nothing calls this directly
no test coverage detected