Home
last modified time | relevance | path

Searched refs:mBrowsingState (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaItemsRepository.java114 private BrowsingState mBrowsingState; field in MediaItemsRepository
160 mBrowsingState.mBrowser.unsubscribe(nodeId); in getMediaChildren()
161 mBrowsingState.mBrowser.subscribe(nodeId, mBrowseCallback); in getMediaChildren()
173 mBrowsingState.mBrowser.search(mSearchQuery, null, mSearchCallback); in setSearchQuery()
182 return (mBrowsingState != null) ? mBrowsingState.mMediaSource : null; in getMediaSource()
186 mBrowsingState = newBrowsingState; in onMediaBrowsingStateChanged()
187 if (mBrowsingState == null) { in onMediaBrowsingStateChanged()
191 mBrowsingStateLiveData.setValue(mBrowsingState); in onMediaBrowsingStateChanged()
192 switch (mBrowsingState.mConnectionStatus) { in onMediaBrowsingStateChanged()
197 String rootId = mBrowsingState.mBrowser.getRoot(); in onMediaBrowsingStateChanged()
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceViewModel.java54 private final MutableLiveData<BrowsingState> mBrowsingState = dataOf(null); field in MediaSourceViewModel
116 private final MediaBrowserConnector.Callback mBrowserCallback = mBrowsingState::setValue;
171 return mBrowsingState; in getBrowsingState()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java241 private MediaBrowserConnector.BrowsingState mBrowsingState; field in PlaybackViewModel.MediaControllerCallback
248 if (Objects.equals(mBrowsingState, newBrowsingState)) { in onMediaBrowsingStateChanged()
268 mBrowsingState = newBrowsingState; in onMediaBrowsingStateChanged()
270 if (mBrowsingState.mConnectionStatus == ConnectionStatus.CONNECTED) { in onMediaBrowsingStateChanged()
271 setMediaController(mInputFactory.getControllerForBrowser(mBrowsingState.mBrowser)); in onMediaBrowsingStateChanged()