logger.verbose("DeviceConnector '%s': installing %s", deviceName, testApk);
device.installPackage(testApk, timeout, logger);
isInstalled = true;
RemoteAndroidTestRunner runner = new RemoteAndroidTestRunner(
testData.getPackageName(),
testData.getInstrumentationRunner(),
device);
runner.setRunName(deviceName);
runner.setMaxtimeToOutputResponse(timeout);
runner.run(runListener);
return runListener.getRunResult().hasFailedTests();
} catch (Exception e) {
Map<String, String> emptyMetrics = Collections.emptyMap();