Home
last modified time | relevance | path

Searched refs:mMediaBrowser (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DBrowseFragment.java61 private MediaBrowser mMediaBrowser; field in BrowseFragment
87 LogHelper.d(TAG, "onConnected: session token " + mMediaBrowser.getSessionToken());
90 mMediaId = mMediaBrowser.getRoot();
92 mMediaBrowser.subscribe(mMediaId, mSubscriptionCallback);
93 if (mMediaBrowser.getSessionToken() == null) {
97 mMediaBrowser.getSessionToken());
149 mMediaBrowser = new MediaBrowser(getActivity(), in onCreateView()
159 mMediaBrowser.connect(); in onStart()
165 mMediaBrowser.disconnect(); in onStop()
DQueueFragment.java47 private MediaBrowser mMediaBrowser; field in QueueFragment
58 LogHelper.d(TAG, "onConnected: session token ", mMediaBrowser.getSessionToken());
60 if (mMediaBrowser.getSessionToken() == null) {
65 mMediaBrowser.getSessionToken());
162 mMediaBrowser = new MediaBrowser(getActivity(), in onCreateView()
172 if (mMediaBrowser != null) { in onResume()
173 mMediaBrowser.connect(); in onResume()
183 if (mMediaBrowser != null) { in onPause()
184 mMediaBrowser.disconnect(); in onPause()