Home
last modified time | relevance | path

Searched refs:takeScreenshot (Results 1 – 5 of 5) 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/health/rules/src/android/platform/test/rule/
DFailureWatcher.java90 device.takeScreenshot(sceenshot); in onError()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper.java267 return mDevice.takeScreenshot(scrOut); in captureScreenshot()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestRunner.java676 device.takeScreenshot(new File(fileName));