Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java358 public InputStreamSource getScreenshot() throws DeviceNotAvailableException; in getScreenshot() method
368 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException; in getScreenshot() method
380 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method
393 public InputStreamSource getScreenshot(int displayId) throws DeviceNotAvailableException; in getScreenshot() method
DTestDevice.java533 public InputStreamSource getScreenshot() throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
534 return getScreenshot("PNG"); in getScreenshot()
541 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
542 return getScreenshot(format, true); in getScreenshot()
547 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method in TestDevice
568 public InputStreamSource getScreenshot(int displayId) throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
600 getIDevice().getScreenshot(MAX_SCREENSHOT_TIMEOUT, TimeUnit.MILLISECONDS); in run()
DStubDevice.java176 public RawImage getScreenshot() throws TimeoutException, AdbCommandRejectedException, in getScreenshot() method in StubDevice
185 public RawImage getScreenshot(long timeout, TimeUnit unit) in getScreenshot() method in StubDevice
DNativeDevice.java2491 public InputStreamSource getScreenshot() throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
2499 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
2505 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method in NativeDevice
2512 public InputStreamSource getScreenshot(int displayId) throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DScreenshotOnFailureCollector.java33 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.java67 EasyMock.expect(mMockDevice.getScreenshot()) in testCollect()
/tools/tradefederation/contrib/src/com/android/app/tests/
DAppLaunchTest.java134 try (InputStreamSource s = getDevice().getScreenshot()) { in performLaunchTest()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java687 InputStreamSource source = getDevice().getScreenshot(); in testGetScreenshot()
835 InputStreamSource screenshot = mTestDevice.getScreenshot(0); in testScreenshot()
DNativeDeviceTest.java255 mTestDevice.getScreenshot(); in testGetScreenshot_exception()
552 mTestDevice.getScreenshot(); in testGetCurrentUser_exception()
DTestDeviceTest.java3788 InputStreamSource res = mTestDevice.getScreenshot(); in testGetScreenshot_failure()
3813 InputStreamSource data = mTestDevice.getScreenshot(); in testGetScreenshot()
4375 InputStreamSource source = mTestDevice.getScreenshot(0); in testScreenshotByDisplay()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java194 try (InputStreamSource screenSource = mDevice.getScreenshot()) { in testScreenshot()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorTest.java324 screenshot = device.getScreenshot(); in onScreenshotAndBugreport()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java495 try (InputStreamSource screenshot = mTestDevice.getScreenshot("JPEG")) { in takeScreenshot()