Home
last modified time | relevance | path

Searched refs:getScreenshot (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java612 public InputStreamSource getScreenshot() throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
613 return getScreenshot("PNG"); in getScreenshot()
620 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
621 return getScreenshot(format, true); in getScreenshot()
626 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method in TestDevice
647 public InputStreamSource getScreenshot(long displayId) throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
679 getIDevice().getScreenshot(MAX_SCREENSHOT_TIMEOUT, TimeUnit.MILLISECONDS); in run()
DNativeDevice.java2598 public InputStreamSource getScreenshot() throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
2606 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
2612 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method in NativeDevice
2619 public InputStreamSource getScreenshot(long displayId) throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java379 public InputStreamSource getScreenshot() throws DeviceNotAvailableException; in getScreenshot() method
389 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException; in getScreenshot() method
401 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method
414 public InputStreamSource getScreenshot(long displayId) throws DeviceNotAvailableException; in getScreenshot() method
DStubDevice.java177 public RawImage getScreenshot() throws TimeoutException, AdbCommandRejectedException, in getScreenshot() method in StubDevice
186 public RawImage getScreenshot(long timeout, TimeUnit unit) in getScreenshot() method in StubDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java746 InputStreamSource source = getDevice().getScreenshot(); in testGetScreenshot()
894 InputStreamSource screenshot = mTestDevice.getScreenshot(0L); in testScreenshot()
DTestDeviceTest.java4126 InputStreamSource res = mTestDevice.getScreenshot(); in testGetScreenshot_failure()
4151 InputStreamSource data = mTestDevice.getScreenshot(); in testGetScreenshot()
4720 InputStreamSource source = mTestDevice.getScreenshot(0); in testScreenshotByDisplay()
DNativeDeviceTest.java257 mTestDevice.getScreenshot(); in testGetScreenshot_exception()
554 mTestDevice.getScreenshot(); in testGetCurrentUser_exception()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DScreenshotOnFailureCollector.java37 try (InputStreamSource screenSource = device.getScreenshot()) { in onTestFail()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DActivityStatusChecker.java50 InputStreamSource screen = device.getScreenshot("JPEG"); in isFrontActivityLauncher()
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DActivityStatusCheckerTest.java72 EasyMock.expect(mMockDevice.getScreenshot(EasyMock.anyObject())).andReturn(fake); in testCheckerOtherActivity()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DScreenshotOnFailureCollectorTest.java70 EasyMock.expect(mMockDevice.getScreenshot()) in testCollect()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java194 try (InputStreamSource screenSource = mDevice.getScreenshot()) { in testScreenshot()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java355 screenshot = device.getScreenshot(); in onScreenshotAndBugreport()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java498 try (InputStreamSource screenshot = mTestDevice.getScreenshot("JPEG")) { in takeScreenshot()