Home
last modified time | relevance | path

Searched refs:takeScreenshot (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScreenshotOnFailureCollectorTest.java102 doReturn(mPngLogFile).when(listener).takeScreenshot(anyString()); in initListener()
123 verify(mListener, times(i)).takeScreenshot(any()); in testSavePngAsFile()
241 screenshotSaveVerifier.verify(mListener).takeScreenshot(matches("^.*[^1].png$")); in testSavesIterations()
246 .takeScreenshot(endsWith(String.format("%d-screenshot-on-failure.png", i + 1))); in testSavesIterations()
252 xmlSaveVerifier.verify(mListener).takeScreenshot(matches("^.*[^1]$")); in testSavesIterations()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScreenshotOnFailureCollector.java123 File img = takeScreenshot(pngFileName); in onTestFail()
139 public File takeScreenshot(String fileName) { in takeScreenshot() method in ScreenshotOnFailureCollector
164 .takeScreenshot().compress(Bitmap.CompressFormat.PNG, mQuality, out); in screenshotToStream()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DViewScreenshotTestRule.kt70 protected fun takeScreenshot( in <lambda>() method
158 val bitmap = takeScreenshot(mode, viewProvider, checkView, subviewId) in <lambda>()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DArtifactSaver.java141 device.takeScreenshot(screenshot); in takeDebugScreenshot()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DThemeHelper.java131 mUiDevice.takeScreenshot(f); in takeScreenshotToFile()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java463 return mDevice.takeScreenshot(scrOut); in captureScreenshot()
DAbstractStandardAppHelper.java504 return mDevice.takeScreenshot(scrOut); in captureScreenshot()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestRunner.java676 device.takeScreenshot(new File(fileName));