Searched refs:sessionListener (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 272 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener() 274 addOnActiveSessionsChangedListener(sessionListener, notificationListener, null); in addOnActiveSessionsChangedListener() 293 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener() 295 addOnActiveSessionsChangedListener(sessionListener, notificationListener, in addOnActiveSessionsChangedListener() 316 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener() 318 if (sessionListener == null) { in addOnActiveSessionsChangedListener() 325 if (mListeners.get(sessionListener) != null) { in addOnActiveSessionsChangedListener() 329 SessionsChangedWrapper wrapper = new SessionsChangedWrapper(mContext, sessionListener, in addOnActiveSessionsChangedListener() 333 mListeners.put(sessionListener, wrapper); in addOnActiveSessionsChangedListener()
|
/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()
|