/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaSessionBasedFilterTest.kt | 91 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/ |
D | LockscreenSmartspaceControllerTest.kt | 111 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/ |
D | MediaSessionManager.java | 308 @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/ |
D | LockscreenSmartspaceController.kt | 149 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/ |
D | MediaSessionBasedFilter.kt | 62 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/ |
D | CameraTestUtils.java | 744 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/ |
D | module-lib-lint-baseline.txt | 21 …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…
|