Home
last modified time | relevance | path

Searched refs:screenshot (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2StressTest.java123 File screenshot = new File(tmpDir, remoteFile.getName()); in postScreenshotOnFailure() local
124 if (!getDevice().pullFile(remoteFile.getFullPath(), screenshot)) { in postScreenshotOnFailure()
129 "screenshot_" + screenshot.getName(), in postScreenshotOnFailure()
131 new FileInputStreamSource(screenshot)); in postScreenshotOnFailure()
DAudioLoopbackTestHelper.java319 final String screenshot = data.getLogFile(LogFileType.GRAPH); in addTestData() local
320 final Pair<Result, String> result = AudioLoopbackImageAnalyzer.analyzeImage(screenshot); in addTestData()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorTest.java322 InputStreamSource screenshot = null; in onScreenshotAndBugreport() local
324 screenshot = device.getScreenshot(); in onScreenshotAndBugreport()
325 listener.testLog(prefix + "_screenshot", LogDataType.PNG, screenshot); in onScreenshotAndBugreport()
329 StreamUtil.cancel(screenshot); in onScreenshotAndBugreport()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java835 InputStreamSource screenshot = mTestDevice.getScreenshot(0); in testScreenshot() local
836 assertNotNull(screenshot); in testScreenshot()
839 FileUtil.writeToFile(screenshot.createInputStream(), testFile); in testScreenshot()
843 StreamUtil.close(screenshot); in testScreenshot()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java495 try (InputStreamSource screenshot = mTestDevice.getScreenshot("JPEG")) { in takeScreenshot() argument
496 listener.testLog(screenshotName, LogDataType.JPEG, screenshot); in takeScreenshot()