DeviceReleaseReporter
  public
  
  final
  
  class
  DeviceReleaseReporter
  
    extends Object
  
  
  
  
  
      implements
      
        ICommandScheduler.IScheduledInvocationListener
      
  
  
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceReleaseReporter | 
裝置釋出回報器,可處理與要釋出的裝置父項程序進行通訊的作業。
摘要
公用建構函式 | |
|---|---|
      
      DeviceReleaseReporter()
      
      
     | 
  |
公用方法 | |
|---|---|
        
        
        
        
        
        void
     | 
  
    
      
      invocationComplete(IInvocationContext iInvocationContext, 
      
        在整個叫用作業完成時的回呼,包括所有   | 
  
        
        
        
        
        
        void
     | 
  
    
      
      invocationInitiated(IInvocationContext context)
      
      
        啟動叫用時的回呼。  | 
  
        
        
        
        
        
        void
     | 
  
    
      
      releaseDevices(IInvocationContext context, 
      
        與   | 
  
公用建構函式
DeviceReleaseReporter
public DeviceReleaseReporter ()
公用方法
invocationComplete
public void invocationComplete (IInvocationContext iInvocationContext,map) 
整個叫用作業 (包括所有 ITestInvocationListener.invocationEnded(long) 事件) 完成後的回呼。
invocationInitiated
public void invocationInitiated (IInvocationContext context)
在啟動叫用時的回呼。這個方法會在擷取任何版本之前呼叫。
releaseDevices
public void releaseDevices (IInvocationContext context,devicesStates) 
與 ICommandOptions.earlyDeviceRelease() 相關聯的回呼,用於在使用完裝置後釋放裝置。