Home | History | Annotate | Download | only in remote

Lines Matching defs:remote

16 package com.android.tradefed.command.remote;
20 import com.android.tradefed.command.remote.CommandResult.Status;
46 * Class that receives {@link com.android.tradefed.command.remote.RemoteOperation}s via a socket.
48 * Currently accepts only one remote connection at one time, and processes incoming commands
60 @OptionClass(alias = "remote-manager")
68 @Option(name = "start-remote-mgr",
69 description = "Whether or not to start a remote manager on boot.")
77 @Option(name = "remote-mgr-port",
78 description = "The remote manager port to use.")
81 @Option(name = "remote-mgr-socket-timeout-ms",
82 description = "Timeout for when accepting connections with the remote manager socket.")
168 * The main thread body of the remote manager.
175 CLog.e("Started remote manager thread without connecting");
193 * Gets the socket port the remote manager is listening on, blocking for a short time if
197 * @return the port the remote manager is listening on, or -1 if no port is setup.
237 * Process {@link com.android.tradefed.command.remote.RemoteClient} operations.
306 CLog.e("Failed to handle remote command");
308 result.put(RemoteOperation.ERROR, "Failed to handle remote command: " +
311 CLog.e("Failed to build json remote response");
331 CLog.logAndDisplay(LogLevel.INFO, "Performing handover to remote TF at port %d", port);
469 "Freeing device %s no longer in use by remote tradefed",
480 * Request to cancel the remote manager.
485 CLog.logAndDisplay(LogLevel.INFO, "Closing remote manager at port %d", getPort());
490 * Convenience method to request a remote manager shutdown and wait for it to complete.