/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | ScreenshotUtils.java | 96 public static SurfaceControl takeScreenshot(SurfaceControl.Transaction t, SurfaceControl sc, in takeScreenshot() method in ScreenshotUtils 98 return takeScreenshot(t, sc, sc /* parentSc */, crop, layer); in takeScreenshot() 112 public static SurfaceControl takeScreenshot(SurfaceControl.Transaction t, SurfaceControl sc, in takeScreenshot() method in ScreenshotUtils
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsViewModelTest.java | 78 when(mAppClipsCrossProcessHelper.takeScreenshot()).thenReturn(null); in performScreenshot_fails_shouldUpdateErrorWithFailed() 83 verify(mAppClipsCrossProcessHelper).takeScreenshot(); in performScreenshot_fails_shouldUpdateErrorWithFailed() 91 when(mAppClipsCrossProcessHelper.takeScreenshot()).thenReturn(FAKE_BITMAP); in performScreenshot_succeeds_shouldUpdateScreenshotWithBitmap() 96 verify(mAppClipsCrossProcessHelper).takeScreenshot(); in performScreenshot_succeeds_shouldUpdateScreenshotWithBitmap()
|
D | AppClipsScreenshotHelperServiceTest.java | 75 assertThat(getInterface().takeScreenshot(DEFAULT_DISPLAY)).isNull(); in emptyBubbles_shouldReturnNull() 85 assertThat(getInterface().takeScreenshot(DEFAULT_DISPLAY)).isNull(); in bubblesPresent_screenshotFailed_shouldReturnNull() 97 assertThat(getInterface().takeScreenshot(DEFAULT_DISPLAY)).isEqualTo( in bubblesPresent_screenshotSuccess_shouldReturnScreenshot()
|
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/ |
D | GameSessionTest.java | 94 gameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_attachNotCalled_throwsIllegalStateException() 118 }).when(mMockGameSessionController).takeScreenshot(anyInt(), any()); in takeScreenshot_gameManagerException_returnsInternalError() 122 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerException_returnsInternalError() 147 }).when(mMockGameSessionController).takeScreenshot(anyInt(), any()); in takeScreenshot_gameManagerError_returnsInternalError() 151 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerError_returnsInternalError() 176 }).when(mMockGameSessionController).takeScreenshot(anyInt(), any()); in takeScreenshot_gameManagerSuccess() 180 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerSuccess()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsCrossProcessHelper.java | 61 Bitmap takeScreenshot() { in takeScreenshot() method in AppClipsCrossProcessHelper 67 service.takeScreenshot(mDisplayTracker.getDefaultDisplayId())); in takeScreenshot()
|
D | IAppClipsScreenshotHelperService.aidl | 28 @nullable ScreenshotHardwareBufferInternal takeScreenshot(in int displayId); in takeScreenshot() method
|
D | AppClipsScreenshotHelperService.java | 57 public ScreenshotHardwareBufferInternal takeScreenshot(int displayId) { in onBind()
|
D | AppClipsViewModel.java | 81 Bitmap screenshot = mAppClipsCrossProcessHelper.takeScreenshot(); in performScreenshot()
|
/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/ |
D | ScreenshotHelperTest.java | 85 mScreenshotHelper.takeScreenshot( in testFullscreenScreenshot() 94 mScreenshotHelper.takeScreenshot(request, mHandler, null); in testFullscreenScreenshotRequest() 111 mScreenshotHelper.takeScreenshot(request, mHandler, null); in testProvidedImageScreenshot()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotHelper.java | 69 public void takeScreenshot(@ScreenshotSource int source, @NonNull Handler handler, in takeScreenshot() method in ScreenshotHelper 73 takeScreenshot(request, handler, completionConsumer); in takeScreenshot() 87 public void takeScreenshot(ScreenshotRequest request, @NonNull Handler handler, in takeScreenshot() method in ScreenshotHelper
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiAutomatorBridge.java | 108 public boolean takeScreenshot(File storePath, int quality) { in takeScreenshot() method in UiAutomatorBridge 109 Bitmap screenshot = mUiAutomation.takeScreenshot(); in takeScreenshot()
|
D | UiDevice.java | 834 public boolean takeScreenshot(File storePath) { in takeScreenshot() method in UiDevice 836 return takeScreenshot(storePath, 1.0f, 90); in takeScreenshot() 850 public boolean takeScreenshot(File storePath, float scale, int quality) { in takeScreenshot() method in UiDevice 852 return getAutomatorBridge().takeScreenshot(storePath, quality); in takeScreenshot()
|
/frameworks/base/core/java/android/service/games/ |
D | IGameSessionController.aidl | 27 void takeScreenshot(int taskId, in AndroidFuture gameScreenshotResultFuture); in takeScreenshot() method
|
D | GameSession.java | 429 public void takeScreenshot(@NonNull Executor executor, @NonNull ScreenshotCallback callback) { in takeScreenshot() method in GameSession 440 mGameSessionController.takeScreenshot(mTaskId, takeScreenshotResult); in takeScreenshot()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | PixelCopyWindow.java | 40 btn.setOnClickListener((v) -> takeScreenshot()); in onCreate() 82 private void takeScreenshot() { in takeScreenshot() method in PixelCopyWindow
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | Screenshooter.java | 44 static Bitmap takeScreenshot() { in takeScreenshot() method in Screenshooter
|
D | BugreportProgressService.java | 571 takeScreenshot(msg.arg1, msg.arg2); in handleMessage() 616 takeScreenshot(id); in handleMessage() 977 private void takeScreenshot(int id) { in takeScreenshot() method in BugreportProgressService 1005 takeScreenshot(id, mScreenshotDelaySec); in takeScreenshot() 1011 private void takeScreenshot(int id, int delay) { in takeScreenshot() method in BugreportProgressService 1057 boolean taken = takeScreenshot(mContext, screenshotFile); in handleScreenshotRequest() 1784 private static boolean takeScreenshot(Context context, String path) { in takeScreenshot() method in BugreportProgressService 1785 final Bitmap bitmap = Screenshooter.takeScreenshot(); in takeScreenshot()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/ |
D | ISystemUiProxy.aidl | 135 oneway void takeScreenshot(in ScreenshotRequest request) = 51;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | SystemActionPerformer.java | 304 return takeScreenshot(); in performSystemAction() 411 private boolean takeScreenshot() { in takeScreenshot() method in SystemActionPerformer 414 screenshotHelper.takeScreenshot( in takeScreenshot()
|
/frameworks/base/core/java/android/app/ |
D | IUiAutomationConnection.aidl | 48 boolean takeScreenshot(in Rect crop, in ScreenCaptureListener listener); in takeScreenshot() method
|
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/ |
D | SurfaceFlingerPerfTest.java | 269 InstrumentationRegistry.getInstrumentation().getUiAutomation().takeScreenshot(); in displayScreenshot() 279 InstrumentationRegistry.getInstrumentation().getUiAutomation().takeScreenshot( in layerScreenshot()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameServiceProviderInstanceImpl.java | 206 public void takeScreenshot(int taskId, 211 GameServiceProviderInstanceImpl.this.takeScreenshot(taskId, 844 void takeScreenshot(int taskId, @NonNull AndroidFuture callback) { in takeScreenshot() method in GameServiceProviderInstanceImpl 895 mScreenshotHelper.takeScreenshot( in takeScreenshot()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | SurfaceTracingTestBase.kt | 86 val screenshot = instrumentation.getUiAutomation().takeScreenshot() in <lambda>()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | IAccessibilityServiceConnection.aidl | 166 void takeScreenshot(int displayId, in RemoteCallback callback); in takeScreenshot() method
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityServiceConnectionImpl.java | 187 public void takeScreenshot(int displayId, RemoteCallback callback) {} in takeScreenshot() method in AccessibilityServiceConnectionImpl
|