/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ITestDevice.java | 173 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
|
D | TestDevice.java | 319 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()
|
D | StubDevice.java | 177 public RawImage getScreenshot() throws TimeoutException, AdbCommandRejectedException, in getScreenshot() method in StubDevice 186 public RawImage getScreenshot(long timeout, TimeUnit unit) in getScreenshot() method in StubDevice
|
D | NativeDevice.java | 2293 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/ |
D | ActivityStatusChecker.java | 50 InputStreamSource screen = device.getScreenshot("JPEG"); in isFrontActivityLauncher()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | ActivityStatusCheckerTest.java | 72 EasyMock.expect(mMockDevice.getScreenshot(EasyMock.anyObject())).andReturn(fake); in testCheckerOtherActivity()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestFailureListenerTest.java | 70 EasyMock.expect(mMockDevice.getScreenshot()).andReturn(fakeSource); in testTestFailed() 117 EasyMock.expect(mMockDevice.getScreenshot()).andThrow(dnae); in testTestFailed_notAvailable()
|
D | ModuleDefinitionTest.java | 682 EasyMock.expect(mMockDevice.getScreenshot()) in testOverrideModuleConfig()
|
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/ |
D | AppLaunchTest.java | 139 try (InputStreamSource s = getDevice().getScreenshot()) { in performLaunchTest()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TestFailureListener.java | 129 try (InputStreamSource screenSource = device.getScreenshot()) { in captureFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | UiAutomatorTest.java | 291 screenshot = device.getScreenshot(); in onScreenshotAndBugreport()
|
D | InstrumentationTest.java | 1080 InputStreamSource screenSource = mDevice.getScreenshot(); in testFailed()
|
/tools/tradefederation/core/prod-tests/src/com/android/monkey/ |
D | MonkeyBase.java | 448 try (InputStreamSource screenshot = mTestDevice.getScreenshot("JPEG")) { in takeScreenshot()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceFuncTest.java | 685 InputStreamSource source = getDevice().getScreenshot(); in testGetScreenshot()
|
D | NativeDeviceTest.java | 236 mTestDevice.getScreenshot(); in testGetScreenshot_exception() 501 mTestDevice.getScreenshot(); in testGetCurrentUser_exception()
|
D | TestDeviceTest.java | 3186 InputStreamSource res = mTestDevice.getScreenshot(); in testGetScreenshot_failure() 3211 InputStreamSource data = mTestDevice.getScreenshot(); in testGetScreenshot()
|