기본 연결

public class DefaultConnection
extends AbstractConnection

java.lang.객체
com.android.tradefed.device.connection.AbstractConnection
com.android.tradefed.device.connection.DefaultConnection


장치의 표준 adb 연결로 간주되는 장치의 기본 연결 표현입니다.

요약

중첩 클래스

class DefaultConnection.ConnectionBuilder

연결을 설명하는 데 사용되는 작성기입니다.

보호된 생성자

DefaultConnection ( DefaultConnection.ConnectionBuilder builder)

건설자

공개 방법

static DefaultConnection createConnection ( DefaultConnection.ConnectionBuilder builder)

요청된 연결을 만듭니다.

static DefaultConnection createInopConnection ( DefaultConnection.ConnectionBuilder builder)
final MultiMap <String, String> getAttributes ()
final IBuildInfo getBuildInfo ()
final ITestDevice getDevice ()
Integer getInitialDeviceNumOffset ()

있는 경우 알려진 장치 번호 오프셋을 반환합니다.

String getInitialIp ()

있는 경우 장치에 초기 관련 IP를 반환합니다.

String getInitialSerial ()

장치의 초기 일련 이름을 반환합니다.

String getInitialUser ()

있는 경우 초기 알려진 사용자를 반환합니다.

ITestLogger getLogger ()

ITestLogger 를 로그 파일로 반환합니다.

boolean wasTemporaryHolder ()

보호된 메서드

IRunUtil getRunUtil ()

IRunUtil 반환하여 명령을 실행합니다.

보호된 생성자

기본 연결

protected DefaultConnection (DefaultConnection.ConnectionBuilder builder)

건설자

매개변수
builder DefaultConnection.ConnectionBuilder

공개 방법

createConnection

public static DefaultConnection createConnection (DefaultConnection.ConnectionBuilder builder)

요청된 연결을 만듭니다.

매개변수
builder DefaultConnection.ConnectionBuilder

보고
DefaultConnection

createInopConnection

public static DefaultConnection createInopConnection (DefaultConnection.ConnectionBuilder builder)

매개변수
builder DefaultConnection.ConnectionBuilder

보고
DefaultConnection

getAttributes

public final MultiMap<String, String> getAttributes ()

보고
MultiMap <String, String>

getBuildInfo

public final IBuildInfo getBuildInfo ()

보고
IBuildInfo

getDevice

public final ITestDevice getDevice ()

보고
ITestDevice

getInitialDeviceNumOffset

public Integer getInitialDeviceNumOffset ()

있는 경우 알려진 장치 번호 오프셋을 반환합니다. 사용할 수 없는 경우 null을 반환합니다.

보고
Integer

getInitialIp

public String getInitialIp ()

있는 경우 장치에 초기 관련 IP를 반환합니다. 알려진 초기 IP가 없으면 null을 반환합니다.

보고
String

getInitialSerial

public String getInitialSerial ()

장치의 초기 일련 이름을 반환합니다.

보고
String

getInitialUser

public String getInitialUser ()

있는 경우 초기 알려진 사용자를 반환합니다. 알려진 초기 사용자가 없으면 null을 반환합니다.

보고
String

getLogger

public ITestLogger getLogger ()

ITestLogger 로그 파일로 반환합니다.

보고
ITestLogger

임시 보유자

public boolean wasTemporaryHolder ()

보고
boolean

보호된 메서드

getRunUtil

protected IRunUtil getRunUtil ()

IRunUtil 반환하여 명령을 실행합니다.

보고
IRunUtil