private void cleanupDeviceFiles(ITestDevice device) throws DeviceNotAvailableException {
  if (device.doesFileExist(VM_TEST_TEMP_DIR)) {
    CLog.d("Removing device's temp dir %s from previous runs.",VM_TEST_TEMP_DIR);
    device.executeShellCommand(String.format("rm -r %s",VM_TEST_TEMP_DIR));
  }
}

private void cleanupDeviceFiles ( ITestDevice device ) throws DeviceNotAvailableException { if ( device . doesFileExist ( VM_TEST_TEMP_DIR ) ) { CLog . d ( "Removing device's temp dir %s from previous runs." , VM_TEST_TEMP_DIR ) ; device . executeShellCommand ( String . format ( "rm -r %s" , VM_TEST_TEMP_DIR ) ) ; } }
removes temporary file directory from device
