컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
DeviceStateMonitor
public class DeviceStateMonitor
extends NativeDeviceStateMonitor
IDevice
의 상태를 모니터링하기 위한 도우미 클래스입니다.
요약
공개 생성자
DeviceStateMonitor
public DeviceStateMonitor (IDeviceManager mgr,
IDevice device,
boolean fastbootEnabled)
매개변수 |
---|
mgr | IDeviceManager |
device | IDevice |
fastbootEnabled | boolean |
보호된 메서드
포스트온라인체크
protected boolean postOnlineCheck (long waitTime)
온라인 장치에서 수행할 추가 검사
매개변수 |
---|
waitTime | long : 포기하기 전에 대기하는 시간(ms) |
보고 |
---|
boolean | waitTime이 만료되기 전에 검사가 성공하면 true 입니다. 그렇지 않으면 false |
waitForPm응답
protected boolean waitForPmResponsive (long waitTime)
장치 패키지 관리자가 응답할 때까지 기다립니다.
매개변수 |
---|
waitTime | long : 포기하기 전에 대기하는 시간(ms) |
보고 |
---|
boolean | waitTime이 만료되기 전에 패키지 관리가 응답하면 true 입니다. 그렇지 않으면 false |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-03-30(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]