log.log(Level.INFO, "Android emulator {0} was started within {1} seconds",
new Object[] { connectedDevice.getAvdName(), countdown.timeElapsed() });
}
if (isOnline == false) {
throw new AndroidExecutionException("Emulator device hasn't started properly in " + countdown.timeout()
+ " seconds. Please increase the time limit in order to get emulator booted.");
}
} catch (InterruptedException e) {
throw new AndroidExecutionException(e, "Emulator device startup failed.");
} catch (ExecutionException e) {
throw new AndroidExecutionException(e, "Emulator device startup failed.");
}
}