Home
last modified time | relevance | path

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

/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2StressTest.java125 File screenshot = new File(tmpDir, remoteFile.getName()); in postScreenshotOnFailure() local
126 if (!getDevice().pullFile(remoteFile.getFullPath(), screenshot)) { in postScreenshotOnFailure()
131 "screenshot_" + screenshot.getName(), in postScreenshotOnFailure()
133 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/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_5g_utils.py55 ad.screenshot("5g_nsa_icon_checking")
95 ad.screenshot("5g_sa_icon_checking")
108 ad.screenshot("5g_sa_icon_checking")
Dtel_message_utils.py1840 ad.screenshot(test_name)
1845 ad.screenshot(test_name)
DTelephonyBaseTest.py572 ad.screenshot(f"{ad.serial}_last_screen")
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceFuncTest.java942 InputStreamSource screenshot = mTestDevice.getScreenshot(); in testScreenshot() local
943 assertNotNull(screenshot); in testScreenshot()
944 try (InputStream stream = screenshot.createInputStream(); in testScreenshot()
948 StreamUtil.close(screenshot); in testScreenshot()
957 InputStreamSource screenshot = mTestDevice.getScreenshot(displays.iterator().next()); in testScreenshot_withDisplay() local
958 assertNotNull(screenshot); in testScreenshot_withDisplay()
959 try (InputStream stream = screenshot.createInputStream(); in testScreenshot_withDisplay()
963 StreamUtil.close(screenshot); in testScreenshot_withDisplay()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java353 InputStreamSource screenshot = null; in onScreenshotAndBugreport() local
355 screenshot = device.getScreenshot(); in onScreenshotAndBugreport()
356 listener.testLog(prefix + "_screenshot", LogDataType.PNG, screenshot); in onScreenshotAndBugreport()
360 StreamUtil.cancel(screenshot); in onScreenshotAndBugreport()
/tools/asuite/atest/tf_proto/
Dlog_file.proto27 // The type of the log file (For example: Logcat, screenshot)
/tools/tradefederation/core/proto/
Dlog_file.proto27 // The type of the log file (For example: Logcat, screenshot)
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java444 try (InputStreamSource screenshot = mTestDevice.getScreenshot("JPEG")) { in takeScreenshot() argument
445 listener.testLog(screenshotName, LogDataType.JPEG, screenshot); in takeScreenshot()
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py1684 def screenshot(self, name=""): member in AndroidDevice