Searched refs:mInfoMediaManager (Results 1 – 4 of 4) sorted by relevance
136 private ManagerInfoMediaManager mInfoMediaManager; field in InfoMediaManagerTest147 mInfoMediaManager = in setUp()155 mInfoMediaManager.mRouterManager = MediaRouter2Manager.getInstance(mContext); in setUp()160 mInfoMediaManager.mRouterManager = mRouterManager; in stopScan_notStartFirst_notCallsUnregister()161 mInfoMediaManager.stopScan(); in stopScan_notStartFirst_notCallsUnregister()169 mInfoMediaManager.mRouterManager = mRouterManager; in stopScan_startFirst_callsUnregister()176 mInfoMediaManager.startScan(); in stopScan_startFirst_callsUnregister()177 mInfoMediaManager.stopScan(); in stopScan_startFirst_callsUnregister()201 final MediaDevice mediaDevice = mInfoMediaManager.findMediaDevice(TEST_ID); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()204 mInfoMediaManager.mMediaRouterCallback.onRoutesUpdated(); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()[all …]
39 private InfoMediaManager mInfoMediaManager; field in NoOpInfoMediaManagerTest45 mInfoMediaManager = in setUp()56 assertThat(mInfoMediaManager.getSessionVolumeMax()).isEqualTo(-1); in getSessionVolumeMax_returnsNotFound()61 assertThat(mInfoMediaManager.getSessionVolume()).isEqualTo(-1); in getSessionVolume_returnsNotFound()66 assertThat(mInfoMediaManager.getSessionName()).isNull(); in getSessionName_returnsNull()72 assertThat(mInfoMediaManager.getRoutingSessionsForPackage()).hasSize(1); in getRoutingSessionForPackage_returnsPlaceholderSession()77 assertThat(mInfoMediaManager.getSelectedMediaDevices()).isEmpty(); in getSelectedMediaDevices_returnsEmptyList()
99 private InfoMediaManager mInfoMediaManager; field in LocalMediaManagerTest120 mInfoMediaManager = in setUp()135 .when(mInfoMediaManager) in setUp()142 mContext, mLocalBluetoothManager, mInfoMediaManager, TEST_PACKAGE_NAME); in setUp()169 verify(mInfoMediaManager).connectToDevice(device); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()442 when(mInfoMediaManager.getRemoteSessions()).thenReturn(routingSessionInfos); in getActiveMediaSession_verifyCorrectSession()513 verify(mInfoMediaManager).connectToDevice(mInfoMediaDevice1); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()548 when(mInfoMediaManager.getRoutingSessionById(TEST_SESSION_ID)).thenReturn(info); in adjustSessionVolume_verifyCorrectSessionVolume()552 verify(mInfoMediaManager).adjustSessionVolume(info, 10); in adjustSessionVolume_verifyCorrectSessionVolume()
86 private InfoMediaManager mInfoMediaManager; field in LocalMediaManager112 mInfoMediaManager.registerCallback(mMediaDeviceCallback); in registerCallback()122 mInfoMediaManager.unregisterCallback(mMediaDeviceCallback); in unregisterCallback()148 mInfoMediaManager = in LocalMediaManager()168 mInfoMediaManager = infoMediaManager; in LocalMediaManager()202 mInfoMediaManager.connectToDevice(device); in connectDevice()217 return mInfoMediaManager.isRoutingSessionAvailableForVolumeControl(); in isMediaSessionAvailableForVolumeControl()226 return mInfoMediaManager.preferRouteListingOrdering(); in isPreferenceRouteListingExist()236 return mInfoMediaManager.getLinkedItemComponentName(); in getLinkedItemComponentName()243 mInfoMediaManager.startScan(); in startScan()[all …]