Searched defs:sessionState (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
H A DMediaSessionStatus.java47 static final String KEY_SESSION_STATE = "sessionState";
134 result.append(", sessionState=").append(sessionStateToString(getSessionState()));
141 private static String sessionStateToString(int sessionState) { argument
142 switch (sessionState) {
150 return Integer.toString(sessionState);
182 * @param sessionState The session state.
184 public Builder(int sessionState) { argument
187 setSessionState(sessionState);
214 public Builder setSessionState(int sessionState) { argument
215 mBundle.putInt(KEY_SESSION_STATE, sessionState);
[all...]
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DMediaSessionStatus.java48 static final String KEY_SESSION_STATE = "sessionState";
135 result.append(", sessionState=").append(sessionStateToString(getSessionState()));
142 private static String sessionStateToString(int sessionState) { argument
143 switch (sessionState) {
151 return Integer.toString(sessionState);
183 * @param sessionState The session state.
185 public Builder(int sessionState) { argument
188 setSessionState(sessionState);
215 public Builder setSessionState(int sessionState) { argument
216 mBundle.putInt(KEY_SESSION_STATE, sessionState);
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java384 for (SessionState sessionState : userState.sessionStateMap.values()) {
385 if (sessionState.session != null && !sessionState.isRecordingSession) {
386 sessionStatesToRelease.add(sessionState);
389 for (SessionState sessionState : sessionStatesToRelease) {
391 sessionState.session.release();
395 clearSessionAndNotifyClientLocked(sessionState);
434 for (SessionState sessionState : userState.sessionStateMap.values()) {
435 if (state.sessionToken == sessionState.hardwareSessionToken) {
436 releaseSessionLocked(sessionState
541 getSessionLocked(SessionState sessionState) argument
2407 SessionCallback(SessionState sessionState, InputChannel[] channels) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java2126 private void finishSessionLocked(SessionState sessionState) { argument
2127 if (sessionState != null) {
2128 if (sessionState.session != null) {
2130 sessionState.session.finishSession();
2135 sessionState.session = null;
2137 if (sessionState.channel != null) {
2138 sessionState.channel.dispose();
2139 sessionState.channel = null;

Completed in 102 milliseconds