Home
last modified time | relevance | path

Searched refs:sessionListener (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaSessionBasedFilterTest.kt91 private lateinit var sessionListener: MediaSessionManager.OnActiveSessionsChangedListener in eq() variable in com.android.systemui.media.MediaSessionBasedFilterTest
170 sessionListener = listenerCaptor.value in eq()
205 sessionListener.onActiveSessionsChanged(controllers) in eq()
220 sessionListener.onActiveSessionsChanged(controllers) in eq()
235 sessionListener.onActiveSessionsChanged(controllers) in eq()
251 sessionListener.onActiveSessionsChanged(controllers) in eq()
274 sessionListener.onActiveSessionsChanged(controllers) in eq()
293 sessionListener.onActiveSessionsChanged(controllers) in eq()
320 sessionListener.onActiveSessionsChanged(controllers) in eq()
344 sessionListener.onActiveSessionsChanged(controllers) in eq()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt111 private lateinit var sessionListener: OnTargetsAvailableListener variable in com.android.systemui.statusbar.lockscreen.LockscreenSmartspaceControllerTest
278 sessionListener.onTargetsAvailable(targets) in testSensitiveTargetsAreNotFilteredIfAllowed()
296 sessionListener.onTargetsAvailable(targets) in testNonSensitiveTargetsAreNeverFiltered()
319 sessionListener.onTargetsAvailable(targets) in testSensitiveTargetsAreFilteredOutForAppropriateUsers()
343 sessionListener.onTargetsAvailable(targets) in testSettingsAreReloaded()
369 sessionListener.onTargetsAvailable(targets) in testRecognizeSwitchToSecondaryUser()
387 verify(smartspaceSession).removeOnTargetsAvailableListener(sessionListener) in testUnregisterListenersOnCleanup()
432 sessionListener = sessionListenerCaptor.value in connectSession()
/frameworks/base/media/java/android/media/session/
DMediaSessionManager.java308 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener()
310 addOnActiveSessionsChangedListener(sessionListener, notificationListener, null); in addOnActiveSessionsChangedListener()
327 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener()
329 addOnActiveSessionsChangedListener(sessionListener, notificationListener, in addOnActiveSessionsChangedListener()
357 @NonNull OnActiveSessionsChangedListener sessionListener) { in addOnActiveSessionsChangedListener() argument
360 addOnActiveSessionsChangedListener(sessionListener, notificationListener, in addOnActiveSessionsChangedListener()
365 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener()
368 Objects.requireNonNull(sessionListener, "sessionListener shouldn't be null"); in addOnActiveSessionsChangedListener()
374 if (mListeners.get(sessionListener) != null) { in addOnActiveSessionsChangedListener()
378 SessionsChangedWrapper wrapper = new SessionsChangedWrapper(mContext, sessionListener, in addOnActiveSessionsChangedListener()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt149 session.addOnTargetsAvailableListener(uiExecutor, sessionListener) in <lambda>()
179 it.removeOnTargetsAvailableListener(sessionListener) in <lambda>()
201 private val sessionListener = SmartspaceSession.OnTargetsAvailableListener { targets -> in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaSessionBasedFilter.kt62 private val sessionListener = object : MediaSessionManager.OnActiveSessionsChangedListener { in <lambda>() constant
71 sessionManager.addOnActiveSessionsChangedListener(sessionListener, name) in <lambda>()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java744 BlockingSessionCallback sessionListener = new BlockingSessionCallback(listener); in configureCameraSession() local
747 sessionListener, handler); in configureCameraSession()
749 camera.createCaptureSession(outputSurfaces, sessionListener, handler); in configureCameraSession()
752 sessionListener.waitAndGetSession(SESSION_CONFIGURE_TIMEOUT_MS); in configureCameraSession()
783 BlockingSessionCallback sessionListener = new BlockingSessionCallback(listener); in configureReprocessableCameraSession() local
785 sessionListener, handler); in configureReprocessableCameraSession()
789 int state = sessionListener.getStateWaiter().waitForAnyOfStates( in configureReprocessableCameraSession()
796 sessionListener.waitAndGetSession(SESSION_CONFIGURE_TIMEOUT_MS); in configureReprocessableCameraSession()
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt21 …SAM-compatible parameters (such as parameter 1, "sessionListener", in android.media.session.MediaS…
23 …SAM-compatible parameters (such as parameter 1, "sessionListener", in android.media.session.MediaS…