Home
last modified time | relevance | path

Searched refs:hasSession (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DRemotePlayer.java163 if (!mClient.hasSession() || item.getRemoteItemId() == null) { in getStatus()
203 if (!mClient.hasSession()) { in pause()
228 if (!mClient.hasSession()) { in resume()
253 if (!mClient.hasSession()) { in stop()
284 if (!mClient.hasSession() && !mEnqueuePending) { in enqueue()
472 if (!mClient.hasSession()) { in throwIfNoSession()
DSessionManager.java55 public boolean hasSession() { in hasSession() method in SessionManager
DMainActivity.java579 mPauseResumeButton.setEnabled(mSessionManager.hasSession()); in updateButtons()
580 mStopButton.setEnabled(mSessionManager.hasSession()); in updateButtons()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java346 if (mSessionManager.hasSession()) { in handlePlay()