Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DScreenCaptureDisabledTest.java53 if (getInstrumentation().getUiAutomation().takeScreenshot() == null) { in testScreenCaptureImpossible()
57 assertNull(getInstrumentation().getUiAutomation().takeScreenshot()); in testScreenCaptureImpossible()
64 if (getInstrumentation().getUiAutomation().takeScreenshot() != null) { in testScreenCapturePossible()
68 assertNotNull(getInstrumentation().getUiAutomation().takeScreenshot()); in testScreenCapturePossible()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAbstractAutoFillActivity.java87 public Bitmap takeScreenshot() { in takeScreenshot() method in AbstractAutoFillActivity
88 return takeScreenshot(findViewById(android.R.id.content).getRootView()); in takeScreenshot()
94 public Bitmap takeScreenshot(View view) { in takeScreenshot() method in AbstractAutoFillActivity
DUiBot.java1011 public Bitmap takeScreenshot() {
1013 final Bitmap bitmap = mAutoman.takeScreenshot();
1028 final Bitmap screenshot = takeScreenshot();
DLoginActivityTest.java547 final Bitmap usernameScreenshot1 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition()
561 final Bitmap passwordScreenshot1 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition()
575 final Bitmap usernameScreenshot2 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition()
584 final Bitmap passwordScreenshot2 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition()
DSimpleSaveActivityTest.java1405 final Bitmap screenshotBefore = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitySaveButtonTest()
1416 final Bitmap screenshotAfter = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitySaveButtonTest()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityFlowTest.java313 Bitmap before = mTestUtils.takeScreenshot(); in startWithFragmentAndRecreateInner()
321 Bitmap after = mTestUtils.takeScreenshot(); in startWithFragmentAndRecreateInner()
423 Bitmap before = mTestUtils.takeScreenshot(); in recreateTest()
430 Bitmap after = mTestUtils.takeScreenshot(); in recreateTest()
462 Bitmap before = mTestUtils.takeScreenshot(); in recreateInnerFragmentTest()
478 Bitmap after = mTestUtils.takeScreenshot(); in recreateInnerFragmentTest()
DPreferenceActivityLegacyFlowTest.java74 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
79 Bitmap after = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
DTestUtils.java61 Bitmap takeScreenshot() { in takeScreenshot() method in TestUtils
65 Bitmap bt = mAutomation.takeScreenshot(); in takeScreenshot()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java127 private Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in ActivityTestBase
141 return mScreenshotter.takeScreenshot(testPositionInfo); in takeScreenshot()
167 return takeScreenshot(runRenderSpec(testCase)); in captureRenderSpec()
197 Bitmap takeScreenshot(TestPositionInfo params); in takeScreenshot() method
269 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java127 private Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in ActivityTestBase
141 return mScreenshotter.takeScreenshot(testPositionInfo); in takeScreenshot()
167 return takeScreenshot(runRenderSpec(testCase)); in captureRenderSpec()
197 Bitmap takeScreenshot(TestPositionInfo params); in takeScreenshot() method
269 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DLightNavigationBarVerifier.java48 Bitmap takeScreenshot(@ColorInt int navigationBarColor, boolean lightMode) throws Exception; in takeScreenshot() method
143 screenshotSupplier.takeScreenshot(Color.BLACK, false)); in verify()
145 screenshotSupplier.takeScreenshot(Color.BLACK, true)); in verify()
DNavigationBarColorVerifier.java88 Bitmap takeScreenshot(@ColorInt int navigationBarColor) throws Exception; in takeScreenshot() method
96 screenShots.add(new ScreenShot(color, screenshotSupplier.takeScreenshot(color))); in verify()
DNavigationBarInfo.java190 final Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in getBottomNavigationBarBitmapForActivity()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformTest.java146 private static Bitmap takeScreenshot() { in takeScreenshot() method in VulkanPreTransformTest
172 Bitmap bitmap = takeScreenshot(); in validatePixelValuesAfterRotation()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableParameterizedTest.java153 Bitmap screenShot = takeScreenshot(srcRect); in testAnimationOnLayer()
316 Bitmap screenShot = takeScreenshot(srcRect); in testInfiniteAVD()
344 private Bitmap takeScreenshot(Rect srcRect) { in takeScreenshot() method in AnimatedVectorDrawableParameterizedTest
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java116 Bitmap source = getInstrumentation().getUiAutomation().takeScreenshot(); in testMovingWhiteSurfaceView()
137 public Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in SurfaceViewTests.SurfaceViewHelper
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSplashscreenTests.java45 final Bitmap image = takeScreenshot(); in testSplashscreenContent()
DLocationOnScreenTests.java157 final Bitmap screenshot = getInstrumentation().getUiAutomation().takeScreenshot(); in findTestColorsInScreenshot()
DEnsureBarContrastTest.java287 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot();
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java61 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeStatusBarScreenshot()
66 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeNavigationBarScreenshot()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DNavigationBarColorTest.java275 final Bitmap bitmap = uiAutomation.takeScreenshot(); in getNavigationBarBitmap()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java543 protected Bitmap takeScreenshot() { in takeScreenshot() method in ActivityManagerTestBase
544 return getInstrumentation().getUiAutomation().takeScreenshot(); in takeScreenshot()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt2102 name: "takeScreenshot"