기본 연결
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 () |
boolean | wasTemporaryHolder () |
보호된 메서드 | |
---|---|
IRunUtil | getRunUtil () |
보호된 생성자
기본 연결
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 |
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 |
임시 보유자
public boolean wasTemporaryHolder ()
보고 | |
---|---|
boolean |
보호된 메서드
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-07-19(UTC)
[]
[]