Home
last modified time | relevance | path

Searched refs:sessionState (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
DMediaSessionStatus.java142 private static String sessionStateToString(int sessionState) { in sessionStateToString() argument
143 switch (sessionState) { in sessionStateToString()
151 return Integer.toString(sessionState); in sessionStateToString()
185 public Builder(int sessionState) { in Builder() argument
188 setSessionState(sessionState); in Builder()
215 public Builder setSessionState(int sessionState) { in setSessionState() argument
216 mBundle.putInt(KEY_SESSION_STATE, sessionState); in setSessionState()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
DMediaSessionStatus.java141 private static String sessionStateToString(int sessionState) { in sessionStateToString() argument
142 switch (sessionState) { in sessionStateToString()
150 return Integer.toString(sessionState); in sessionStateToString()
184 public Builder(int sessionState) { in Builder() argument
187 setSessionState(sessionState); in Builder()
214 public Builder setSessionState(int sessionState) { in setSessionState() argument
215 mBundle.putInt(KEY_SESSION_STATE, sessionState); in setSessionState()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java384 for (SessionState sessionState : userState.sessionStateMap.values()) { in switchUser()
385 if (sessionState.session != null && !sessionState.isRecordingSession) { in switchUser()
386 sessionStatesToRelease.add(sessionState); in switchUser()
389 for (SessionState sessionState : sessionStatesToRelease) { in switchUser()
391 sessionState.session.release(); in switchUser()
395 clearSessionAndNotifyClientLocked(sessionState); in switchUser()
434 for (SessionState sessionState : userState.sessionStateMap.values()) { in clearSessionAndNotifyClientLocked()
435 if (state.sessionToken == sessionState.hardwareSessionToken) { in clearSessionAndNotifyClientLocked()
436 releaseSessionLocked(sessionState.sessionToken, Process.SYSTEM_UID, state.userId); in clearSessionAndNotifyClientLocked()
438 sessionState.client.onSessionReleased(sessionState.seq); in clearSessionAndNotifyClientLocked()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java410 int sessionState = sipAudioCall.getState(); in getCallStateFrom() local
411 switch (sessionState) { in getCallStateFrom()
420 slog("illegal connection state: " + sessionState); in getCallStateFrom()
764 String sessionState = (sipAudioCall == null)
768 + hidePii(mPeer.getUriString()) + ": " + sessionState
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DSessionManager.java235 int sessionState = (sid != null && sid.equals(mSessionId)) ? in getSessionStatus() local
239 return new MediaSessionStatus.Builder(sessionState) in getSessionStatus()
/frameworks/base/services/core/java/com/android/server/
DInputMethodManagerService.java2126 private void finishSessionLocked(SessionState sessionState) { in finishSessionLocked() argument
2127 if (sessionState != null) { in finishSessionLocked()
2128 if (sessionState.session != null) { in finishSessionLocked()
2130 sessionState.session.finishSession(); in finishSessionLocked()
2135 sessionState.session = null; in finishSessionLocked()
2137 if (sessionState.channel != null) { in finishSessionLocked()
2138 sessionState.channel.dispose(); in finishSessionLocked()
2139 sessionState.channel = null; in finishSessionLocked()