Searched refs:browsingState (Results 1 – 3 of 3) sorted by relevance
142 BrowsingState browsingState = observer.getObservedValue(); in testGetMediaController_connectedBrowser() local143 assertThat(browsingState.mBrowser).isSameInstanceAs(mMediaBrowser); in testGetMediaController_connectedBrowser()144 assertThat(browsingState.mConnectionStatus).isEqualTo(ConnectionStatus.CONNECTED); in testGetMediaController_connectedBrowser()159 BrowsingState browsingState = observer.getObservedValue(); in testGetMediaController_noActiveSession_notConnected() local160 assertThat(browsingState.mBrowser).isSameInstanceAs(mMediaBrowser); in testGetMediaController_noActiveSession_notConnected()161 assertThat(browsingState.mConnectionStatus).isEqualTo(ConnectionStatus.REJECTED); in testGetMediaController_noActiveSession_notConnected()
123 public MediaItemsRepository(LiveData<BrowsingState> browsingState) { in MediaItemsRepository() argument124 browsingState.observeForever(this::onMediaBrowsingStateChanged); in MediaItemsRepository()
161 LiveData<MediaBrowserConnector.BrowsingState> browsingState, InputFactory factory) { in PlaybackViewModel() argument165 browsingState.observeForever(mMediaBrowsingObserver); in PlaybackViewModel()