Searched refs:sessionListener (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 179 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener() 181 addOnActiveSessionsChangedListener(sessionListener, notificationListener, null); in addOnActiveSessionsChangedListener() 200 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener() 202 addOnActiveSessionsChangedListener(sessionListener, notificationListener, in addOnActiveSessionsChangedListener() 223 @NonNull OnActiveSessionsChangedListener sessionListener, in addOnActiveSessionsChangedListener() 225 if (sessionListener == null) { in addOnActiveSessionsChangedListener() 232 if (mListeners.get(sessionListener) != null) { in addOnActiveSessionsChangedListener() 236 SessionsChangedWrapper wrapper = new SessionsChangedWrapper(mContext, sessionListener, in addOnActiveSessionsChangedListener() 240 mListeners.put(sessionListener, wrapper); in addOnActiveSessionsChangedListener()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 707 BlockingSessionCallback sessionListener = new BlockingSessionCallback(listener); in configureCameraSession() local 710 sessionListener, handler); in configureCameraSession() 712 camera.createCaptureSession(outputSurfaces, sessionListener, handler); in configureCameraSession() 715 sessionListener.waitAndGetSession(SESSION_CONFIGURE_TIMEOUT_MS); in configureCameraSession() 746 BlockingSessionCallback sessionListener = new BlockingSessionCallback(listener); in configureReprocessableCameraSession() local 748 sessionListener, handler); in configureReprocessableCameraSession() 752 int state = sessionListener.getStateWaiter().waitForAnyOfStates( in configureReprocessableCameraSession() 759 sessionListener.waitAndGetSession(SESSION_CONFIGURE_TIMEOUT_MS); in configureReprocessableCameraSession()
|