1 package com.android.tradefed.targetprep; 2 3 import com.android.tradefed.build.IBuildInfo; 4 5 /** 6 * Cleans up the host after the test run has finished. 7 */ 8 public interface IHostCleaner { 9 10 /** 11 * Clean the host (remove the tmp files, etc). 12 * @param buildInfo {@link IBuildInfo}. 13 * @param e the {@link Throwable} which ended the test. 14 */ cleanUp(IBuildInfo buildInfo, Throwable e)15 public void cleanUp(IBuildInfo buildInfo, Throwable e); 16 } 17 18