Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java173 public InputStreamSource getScreenshot() throws DeviceNotAvailableException; in getScreenshot() method
183 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException; in getScreenshot() method
195 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method
DTestDevice.java319 public InputStreamSource getScreenshot() throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
320 return getScreenshot("PNG"); in getScreenshot()
327 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException { in getScreenshot() method in TestDevice
328 return getScreenshot(format, true); in getScreenshot()
333 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method in TestDevice
363 getIDevice().getScreenshot(MAX_SCREENSHOT_TIMEOUT, TimeUnit.MILLISECONDS); in run()
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
DNativeDevice.java2293 public InputStreamSource getScreenshot() throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
2301 public InputStreamSource getScreenshot(String format) throws DeviceNotAvailableException { in getScreenshot() method in NativeDevice
2307 public InputStreamSource getScreenshot(String format, boolean rescale) in getScreenshot() method in NativeDevice
/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/testtype/suite/
DTestFailureListenerTest.java70 EasyMock.expect(mMockDevice.getScreenshot()).andReturn(fakeSource); in testTestFailed()
117 EasyMock.expect(mMockDevice.getScreenshot()).andThrow(dnae); in testTestFailed_notAvailable()
DModuleDefinitionTest.java682 EasyMock.expect(mMockDevice.getScreenshot()) in testOverrideModuleConfig()
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/
DAppLaunchTest.java139 try (InputStreamSource s = getDevice().getScreenshot()) { in performLaunchTest()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestFailureListener.java129 try (InputStreamSource screenSource = device.getScreenshot()) { in captureFailure()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorTest.java291 screenshot = device.getScreenshot(); in onScreenshotAndBugreport()
DInstrumentationTest.java1080 InputStreamSource screenSource = mDevice.getScreenshot(); in testFailed()
/tools/tradefederation/core/prod-tests/src/com/android/monkey/
DMonkeyBase.java448 try (InputStreamSource screenshot = mTestDevice.getScreenshot("JPEG")) { in takeScreenshot()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java685 InputStreamSource source = getDevice().getScreenshot(); in testGetScreenshot()
DNativeDeviceTest.java236 mTestDevice.getScreenshot(); in testGetScreenshot_exception()
501 mTestDevice.getScreenshot(); in testGetCurrentUser_exception()
DTestDeviceTest.java3186 InputStreamSource res = mTestDevice.getScreenshot(); in testGetScreenshot_failure()
3211 InputStreamSource data = mTestDevice.getScreenshot(); in testGetScreenshot()