Searched refs:screenshot (Results 1 – 5 of 5) sorted by relevance
123 File screenshot = new File(tmpDir, remoteFile.getName()); in postScreenshotOnFailure() local124 if (!getDevice().pullFile(remoteFile.getFullPath(), screenshot)) { in postScreenshotOnFailure()129 "screenshot_" + screenshot.getName(), in postScreenshotOnFailure()131 new FileInputStreamSource(screenshot)); in postScreenshotOnFailure()
319 final String screenshot = data.getLogFile(LogFileType.GRAPH); in addTestData() local320 final Pair<Result, String> result = AudioLoopbackImageAnalyzer.analyzeImage(screenshot); in addTestData()
322 InputStreamSource screenshot = null; in onScreenshotAndBugreport() local324 screenshot = device.getScreenshot(); in onScreenshotAndBugreport()325 listener.testLog(prefix + "_screenshot", LogDataType.PNG, screenshot); in onScreenshotAndBugreport()329 StreamUtil.cancel(screenshot); in onScreenshotAndBugreport()
835 InputStreamSource screenshot = mTestDevice.getScreenshot(0); in testScreenshot() local836 assertNotNull(screenshot); in testScreenshot()839 FileUtil.writeToFile(screenshot.createInputStream(), testFile); in testScreenshot()843 StreamUtil.close(screenshot); in testScreenshot()
495 try (InputStreamSource screenshot = mTestDevice.getScreenshot("JPEG")) { in takeScreenshot() argument496 listener.testLog(screenshotName, LogDataType.JPEG, screenshot); in takeScreenshot()