컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.

FastbootHelper

public class FastbootHelper
extends Object

java.lang.객체
com.android.tradefed.device.FastbootHelper


빠른 부팅 작업을 위한 도우미 클래스입니다.

요약

공개 생성자

FastbootHelper (IRunUtil runUtil, String fastbootPath)

건설자.

공개 메서드

String executeCommand (String serial, String command)

장치에서 fastboot 명령을 실행하고 출력을 반환합니다.

getBootloaderAndFastbootdDevices ()

장치 시리얼의 맵과 그것이 fastbootd 모드인지 여부를 반환합니다.

getBootloaderAndFastbootdTcpDevices ( serials) getBootloaderAndFastbootdTcpDevices ( serials)

장치 시리얼의 맵과 그것이 fastbootd 모드인지 여부를 반환합니다.

getDevices ()

fastboot 모드에서 장치 일련 번호 세트를 반환하거나 fastboot 장치가 없는 경우 빈 세트를 반환합니다.

boolean isFastbootAvailable ()

fastboot를 사용할 수 있는지 확인합니다.

boolean isFastbootd (String serial)

장치가 부트로더 대신 Fastbootd에 있는지 여부를 반환합니다.

공개 생성자

FastbootHelper

public FastbootHelper (IRunUtil runUtil, 
                String fastbootPath)

건설자.

매개변수
runUtil IRunUtil 하십시오 IRunUtil .

fastbootPath String

공개 메서드

실행 명령

public String executeCommand (String serial, 
                String command)

장치에서 fastboot 명령을 실행하고 출력을 반환합니다.

매개변수
serial String : 장치의 시리얼.

command String 하십시오 FASTBOOT 명령을 실행합니다.

보고
String fastboot 명령의 출력. 명령이 실패한 경우 null입니다.

getBootloaderAndFastbootd장치

public  getBootloaderAndFastbootdDevices ()

장치 시리얼의 맵과 그것이 fastbootd 모드인지 여부를 반환합니다.

보고
부트로더 또는 fastbootd의 직렬 맵, fastbootd에 있는 경우 부울은 true입니다.

getBootloaderAndFastbootdTcpDevices

public  getBootloaderAndFastbootdTcpDevices ( serials)

장치 시리얼의 맵과 그것이 fastbootd 모드인지 여부를 반환합니다.

매개변수
serials : 장치 일련 번호 및 빠른 부팅 모드 일련 번호의 맵입니다.

보고
부트로더 또는 fastbootd의 직렬 맵, fastbootd에 있는 경우 부울은 true입니다.

getDevices

public  getDevices ()

fastboot 모드에서 장치 일련 번호 세트를 반환하거나 fastboot 장치가 없는 경우 빈 세트를 반환합니다.

보고
일련의 장치.

isFastbootAvailable

public boolean isFastbootAvailable ()

fastboot를 사용할 수 있는지 확인합니다.

보고
boolean

isFastbootd

public boolean isFastbootd (String serial)

장치가 부트로더 대신 Fastbootd에 있는지 여부를 반환합니다.

매개변수
serial String

보고
boolean