CompanionAwarePreparer
  public
  
  
  abstract
  class
  CompanionAwarePreparer
  
  
  
  
    extends BaseTargetPreparer
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.companion.CompanionAwarePreparer | |
이미 할당된 호환 기기를 가져오는 로직을 캡슐화하는 ITargetPreparer입니다.
 
참고: CompanionAllocator와 함께 사용해야 합니다.
요약
| 공개 생성자 | |
|---|---|
| 
      CompanionAwarePreparer()
       | |
| 보호된 메서드 | |
|---|---|
| 
        
        
        
        
        
        ITestDevice | 
      getCompanion(ITestDevice primary)
      기본  | 
공개 생성자
CompanionAwarePreparer
public CompanionAwarePreparer ()
보호된 메서드
getCompanion
protected ITestDevice getCompanion (ITestDevice primary)
기본 ITestDevice에 할당된 호환 기기의 ITestDevice 인스턴스를 검색합니다.
| 반환 값 | |
|---|---|
| ITestDevice | 할당된 호환 기기의 ITestDevice인스턴스 | 
| 생성 값 | |
|---|---|
| TargetSetupError | 기본 기기에 호환 기기가 할당되지 않은 경우 | 
