Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaSessionBasedFilterTest.kt65 private lateinit var sessionListener: MediaSessionManager.OnActiveSessionsChangedListener variable in com.android.systemui.media.controls.domain.pipeline.MediaSessionBasedFilterTest
144 sessionListener = listenerCaptor.value in setUp()
179 sessionListener.onActiveSessionsChanged(controllers) in matchingMediaSession_loadedEventNotFiltered()
194 sessionListener.onActiveSessionsChanged(controllers) in matchingMediaSession_removedEventNotFiltered()
209 sessionListener.onActiveSessionsChanged(controllers) in remoteSession_loadedEventNotFiltered()
225 sessionListener.onActiveSessionsChanged(controllers) in remoteAndLocalSessions_localLoadedEventFiltered()
255 sessionListener.onActiveSessionsChanged(controllers) in remoteAndLocalSessions_remoteSessionWithoutNotification()
274 sessionListener.onActiveSessionsChanged(controllers) in remoteAndLocalHaveDifferentKeys_localLoadedEventFiltered()
308 sessionListener.onActiveSessionsChanged(controllers) in remoteAndLocalHaveDifferentKeys_remoteSessionWithoutNotification()
332 sessionListener.onActiveSessionsChanged(controllers) in multipleRemoteSessions_loadedEventNotFiltered()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt178 private lateinit var sessionListener: OnTargetsAvailableListener in <lambda>() variable in com.android.systemui.statusbar.lockscreen.LockscreenSmartspaceControllerTest
428 sessionListener.onTargetsAvailable(targets) in <lambda>()
446 sessionListener.onTargetsAvailable(targets) in <lambda>()
466 sessionListener.onTargetsAvailable(targets) in <lambda>()
489 sessionListener.onTargetsAvailable(targets) in <lambda>()
511 sessionListener.onTargetsAvailable(targets) in <lambda>()
531 sessionListener.onTargetsAvailable(targets) in <lambda>()
553 sessionListener.onTargetsAvailable(targets) in <lambda>()
573 sessionListener.onTargetsAvailable(targets) in <lambda>()
592 sessionListener.onTargetsAvailable(targets) in <lambda>()
[all …]
/frameworks/base/media/java/android/media/session/
DMediaSessionManager.java316 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener()
318 addOnActiveSessionsChangedListener(sessionListener, notificationListener, null); in addOnActiveSessionsChangedListener()
335 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener()
337 addOnActiveSessionsChangedListener(sessionListener, notificationListener, in addOnActiveSessionsChangedListener()
365 @NonNull OnActiveSessionsChangedListener sessionListener) { in addOnActiveSessionsChangedListener() argument
368 addOnActiveSessionsChangedListener(sessionListener, notificationListener, in addOnActiveSessionsChangedListener()
373 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener()
376 Objects.requireNonNull(sessionListener, "sessionListener shouldn't be null"); in addOnActiveSessionsChangedListener()
382 if (mListeners.get(sessionListener) != null) { in addOnActiveSessionsChangedListener()
386 SessionsChangedWrapper wrapper = new SessionsChangedWrapper(mContext, sessionListener, in addOnActiveSessionsChangedListener()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/smartspace/
DCommunalSmartspaceController.kt87 private val sessionListener = in <lambda>() constant
120 newSession.addOnTargetsAvailableListener(uiExecutor, sessionListener) in <lambda>()
139 it.removeOnTargetsAvailableListener(sessionListener) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/smartspace/
DDreamSmartspaceController.kt120 private val sessionListener = SmartspaceSession.OnTargetsAvailableListener { targets -> in <lambda>() constant
205 newSession.addOnTargetsAvailableListener(uiExecutor, sessionListener) in <lambda>()
230 it.removeOnTargetsAvailableListener(sessionListener) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DBrightLineFalsingManagerTest.java211 final FalsingDataProvider.SessionListener sessionListener = captureSessionListener(); in testAddAndRemoveFalsingBeliefListener() local
212 sessionListener.onSessionStarted(); in testAddAndRemoveFalsingBeliefListener()
219 sessionListener.onSessionEnded(); in testAddAndRemoveFalsingBeliefListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaSessionBasedFilter.kt66 private val sessionListener = in <lambda>() constant
76 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/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt194 private val sessionListener = SmartspaceSession.OnTargetsAvailableListener { targets -> in <lambda>() constant
485 newSession.addOnTargetsAvailableListener(uiExecutor, sessionListener) in <lambda>()
543 it.removeOnTargetsAvailableListener(sessionListener) in <lambda>()
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt1655 …SAM-compatible parameters (such as parameter 1, "sessionListener", in android.media.session.MediaS…
1657 …SAM-compatible parameters (such as parameter 1, "sessionListener", in android.media.session.MediaS…
Dsystem-lint-baseline.txt1793 …SAM-compatible parameters (such as parameter 1, "sessionListener", in android.media.session.MediaS…
1795 …SAM-compatible parameters (such as parameter 1, "sessionListener", in android.media.session.MediaS…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...