Searched refs:mSessionManager (Results 1 – 1 of 1) sorted by relevance
53 private MediaSessionManager mSessionManager; field in MediaSessionManagerTest58 mSessionManager = (MediaSessionManager) getInstrumentation().getTargetContext() in setUp()69 List<MediaController> controllers = mSessionManager.getActiveSessions(null); in testGetActiveSessions()80 mSessionManager.addOnActiveSessionsChangedListener(null, null); in testAddOnActiveSessionsListener()94 mSessionManager.addOnActiveSessionsChangedListener(listener, null); in testAddOnActiveSessionsListener()131 mSessionManager.setOnVolumeKeyLongPressListener(listener, handler); in testSetOnVolumeKeyLongPressListener()144 mSessionManager.setOnVolumeKeyLongPressListener(listener, handler); in testSetOnVolumeKeyLongPressListener()150 mSessionManager.setOnVolumeKeyLongPressListener(null, handler); in testSetOnVolumeKeyLongPressListener()179 mSessionManager.setOnMediaKeyListener(listener, handler); in testSetOnMediaKeyListener()193 mSessionManager.setOnMediaKeyListener(listener, handler); in testSetOnMediaKeyListener()[all …]