Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DBiometricStatusRepositoryTest.kt78 val listener = biometricManager.captureListener() in updatesFingerprintAuthenticationReason_whenBiometricPromptAuthenticationStarted()
97 val listener = biometricManager.captureListener() in updatesFingerprintAuthenticationReason_whenDeviceEntryAuthenticationStarted()
119 val listener = biometricManager.captureListener() in updatesFingerprintAuthenticationReason_whenOtherAuthenticationStarted()
141 val listener = biometricManager.captureListener() in updatesFingerprintAuthenticationReason_whenSettingsAuthenticationStarted()
163 val listener = biometricManager.captureListener() in updatesFingerprintAuthenticationReason_whenEnrollmentAuthenticationStarted()
201 val listener = biometricManager.captureListener() in updatesFingerprintAuthenticationReason_whenAuthenticationStopped()
220 val listener = biometricManager.captureListener() in updatesFingerprintAcquiredStatusWhenBiometricPromptAuthenticationAcquired()
245 val listener = biometricManager.captureListener() in updatesFingerprintAcquiredStatusWhenDeviceEntryAuthenticationAcquired()
265 private fun BiometricManager.captureListener() = in BiometricManager() method
267 verify(this@captureListener).registerAuthenticationStateListener(capture()) in BiometricManager()
/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h43 const sp<SyncScreenCaptureListener> captureListener = sp<SyncScreenCaptureListener>::make(); in captureDisplay() local
44 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
49 captureResults = captureListener->waitForResults(); in captureDisplay()
81 const sp<SyncScreenCaptureListener> captureListener = sp<SyncScreenCaptureListener>::make(); in captureLayers() local
82 binder::Status status = sf->captureLayers(captureArgs, captureListener); in captureLayers()
87 captureResults = captureListener->waitForResults(); in captureLayers()
/frameworks/base/core/java/android/window/
DScreenCapture.java51 long captureListener); in nativeCaptureDisplay() argument
53 long captureListener, boolean sync); in nativeCaptureLayers() argument
66 @NonNull ScreenCaptureListener captureListener) { in captureDisplay() argument
67 return nativeCaptureDisplay(captureArgs, captureListener.mNativeObject); in captureDisplay()
176 @NonNull ScreenCaptureListener captureListener) { in captureLayers() argument
177 return nativeCaptureLayers(captureArgs, captureListener.mNativeObject, false /* sync */); in captureLayers()
/frameworks/base/core/jni/
Dandroid_window_ScreenCapture.cpp208 sp<gui::IScreenCaptureListener> captureListener = in nativeCaptureDisplay() local
210 return ScreenshotClient::captureDisplay(captureArgs, captureListener); in nativeCaptureDisplay()
228 sp<gui::IScreenCaptureListener> captureListener = in nativeCaptureLayers() local
230 return ScreenshotClient::captureLayers(captureArgs, captureListener, sync); in nativeCaptureLayers()
/frameworks/base/cmds/screencap/
Dscreencap.cpp156 sp<SyncScreenCaptureListener> captureListener = new SyncScreenCaptureListener(); in capture() local
157 ScreenshotClient::captureDisplay(displayId, captureArgs, captureListener); in capture()
159 ScreenCaptureResults captureResults = captureListener->waitForResults(); in capture()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp7927 const sp<IScreenCaptureListener>& captureListener) { in invokeScreenCaptureError() argument
7930 captureListener->onScreenCaptureCompleted(captureResults); in invokeScreenCaptureError()
7934 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
7940 invokeScreenCaptureError(validate, captureListener); in captureDisplay()
7946 invokeScreenCaptureError(BAD_VALUE, captureListener); in captureDisplay()
7952 invokeScreenCaptureError(PERMISSION_DENIED, captureListener); in captureDisplay()
7965 invokeScreenCaptureError(NAME_NOT_FOUND, captureListener); in captureDisplay()
7982 invokeScreenCaptureError(NAME_NOT_FOUND, captureListener); in captureDisplay()
7999 args.grayscale, captureListener); in captureDisplay()
8003 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
[all …]
DSurfaceFlinger.h920 bool grayscale, bool isProtected, const sp<IScreenCaptureListener>& captureListener,
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp3136 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
3140 binder::Status status = s->captureDisplay(captureArgs, captureListener); in captureDisplay()
3145 const sp<IScreenCaptureListener>& captureListener) { in captureDisplay() argument
3149 binder::Status status = s->captureDisplayById(displayId.value, captureArgs, captureListener); in captureDisplay()
3154 const sp<IScreenCaptureListener>& captureListener, in captureLayers() argument
3163 captureListener->onScreenCaptureCompleted(captureResults); in captureLayers()
3165 status = s->captureLayers(captureArgs, captureListener); in captureLayers()