2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
RemoteSshUtil
public
class
RemoteSshUtil
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.device.cloud.RemoteSshUtil
|
원격 인스턴스에서 ssh 명령어를 실행하는 유틸리티입니다.
요약
공개 메서드 |
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, OutputStream stdout, OutputStream stderr, String... command)
ssh를 사용하여 원격 인스턴스에서 명령어를 실행합니다.
|
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, String... command)
ssh를 사용하여 원격 인스턴스에서 명령어를 실행합니다.
|
공개 생성자
RemoteSshUtil
public RemoteSshUtil ()
공개 메서드
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
OutputStream stdout,
OutputStream stderr,
String... command)
ssh를 사용하여 원격 인스턴스에서 명령어를 실행합니다.
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
String... command)
ssh를 사용하여 원격 인스턴스에서 명령어를 실행합니다.
매개변수 |
remoteInstance |
GceAvdInfo : 기기를 설명하는 GceAvdInfo 입니다. |
options |
TestDeviceOptions : GCE 기기에 사용할 기기 옵션을 설명하는 TestDeviceOptions 입니다. |
runUtil |
IRunUtil : 명령어를 실행하는 IRunUtil 입니다. |
timeoutMs |
long : 가져오기가 완료되는 데 걸린 시간(밀리초) |
command |
String : 실행할 명령어입니다. |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-03-26(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-26(UTC)"],[],[]]