/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaSessionStatus.java | 47 private static final String KEY_SESSION_STATE = "sessionState"; 134 result.append(", sessionState=").append(sessionStateToString(getSessionState())); 141 private static String sessionStateToString(int sessionState) { 142 switch (sessionState) { 150 return Integer.toString(sessionState); 182 * @param sessionState The session state. 184 public Builder(int sessionState) { 187 setSessionState(sessionState); 214 public Builder setSessionState(int sessionState) { 215 mBundle.putInt(KEY_SESSION_STATE, sessionState); [all...] |
/external/boringssl/src/ssl/test/runner/ |
ticket.go | 18 // sessionState contains the information that is serialized into a session 20 type sessionState struct { 29 func (s *sessionState) equal(i interface{}) bool { 30 s1, ok := i.(*sessionState) 56 func (s *sessionState) marshal() []byte { 102 func (s *sessionState) unmarshal(data []byte) bool { 172 func (c *Conn) encryptTicket(state *sessionState) ([]byte, error) { 194 func (c *Conn) decryptTicket(encrypted []byte) (*sessionState, bool) { 218 state := new(sessionState)
|
handshake_server.go | 31 sessionState *sessionState 429 if hs.sessionState, ok = c.decryptTicket(hs.clientHello.sessionTicket); !ok { 439 if hs.sessionState, ok = c.config.ServerSessionCache.Get(sessionId); !ok { 445 if !c.config.Bugs.AllowSessionVersionMismatch && c.vers != hs.sessionState.vers { 452 if id == hs.sessionState.cipherSuite { 462 hs.suite = c.tryCipherSuite(hs.sessionState.cipherSuite, c.config.cipherSuites(), hs.sessionState.vers, hs.ellipticOk, hs.ecdsaOk) 467 sessionHasClientCerts := len(hs.sessionState.certificates) != 0 498 if len(hs.sessionState.certificates) > 0 [all...] |
common.go | 238 // ServerSessionCache is a cache of sessionState objects that can be used by a 243 // Get searches for a sessionState associated with the given session 245 Get(sessionId string) (session *sessionState, ok bool) 247 // Put adds the sessionState to the cache with the given session ID. 248 Put(sessionId string, session *sessionState) 341 // ServerSessionCache is a cache of sessionState entries for TLS session [all...] |
/prebuilts/go/darwin-x86/src/crypto/tls/ |
ticket.go | 18 // sessionState contains the information that is serialized into a session 20 type sessionState struct { 30 func (s *sessionState) equal(i interface{}) bool { 31 s1, ok := i.(*sessionState) 55 func (s *sessionState) marshal() []byte { 89 func (s *sessionState) unmarshal(data []byte) bool { 136 func (c *Conn) encryptTicket(state *sessionState) ([]byte, error) { 161 func (c *Conn) decryptTicket(encrypted []byte) (*sessionState, bool) { 201 state := &sessionState{usedOldKey: keyIndex > 0}
|
handshake_server.go | 30 sessionState *sessionState 273 if hs.sessionState, ok = c.decryptTicket(sessionTicket); !ok { 277 if hs.sessionState.vers > hs.clientHello.vers { 280 if vers, ok := c.config.mutualVersion(hs.sessionState.vers); !ok || vers != hs.sessionState.vers { 287 if id == hs.sessionState.cipherSuite { 297 if !hs.setCipherSuite(hs.sessionState.cipherSuite, c.config.cipherSuites(), hs.sessionState.vers) { 301 sessionHasClientCerts := len(hs.sessionState.certificates) != [all...] |
handshake_messages_test.go | 26 &sessionState{}, 251 func (*sessionState) Generate(rand *rand.Rand, size int) reflect.Value { 252 s := &sessionState{}
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
ticket.go | 18 // sessionState contains the information that is serialized into a session 20 type sessionState struct { 30 func (s *sessionState) equal(i interface{}) bool { 31 s1, ok := i.(*sessionState) 55 func (s *sessionState) marshal() []byte { 89 func (s *sessionState) unmarshal(data []byte) bool { 136 func (c *Conn) encryptTicket(state *sessionState) ([]byte, error) { 161 func (c *Conn) decryptTicket(encrypted []byte) (*sessionState, bool) { 201 state := &sessionState{usedOldKey: keyIndex > 0}
|
handshake_server.go | 30 sessionState *sessionState 273 if hs.sessionState, ok = c.decryptTicket(sessionTicket); !ok { 277 if hs.sessionState.vers > hs.clientHello.vers { 280 if vers, ok := c.config.mutualVersion(hs.sessionState.vers); !ok || vers != hs.sessionState.vers { 287 if id == hs.sessionState.cipherSuite { 297 if !hs.setCipherSuite(hs.sessionState.cipherSuite, c.config.cipherSuites(), hs.sessionState.vers) { 301 sessionHasClientCerts := len(hs.sessionState.certificates) != [all...] |
handshake_messages_test.go | 26 &sessionState{}, 251 func (*sessionState) Generate(rand *rand.Rand, size int) reflect.Value { 252 s := &sessionState{}
|
/frameworks/base/services/core/java/com/android/server/tv/ |
TvInputManagerService.java | 419 List<SessionState> sessionStatesToRelease = new ArrayList<>(); 420 for (SessionState sessionState : userState.sessionStateMap.values()) { 421 if (sessionState.session != null && !sessionState.isRecordingSession) { 422 sessionStatesToRelease.add(sessionState); 425 for (SessionState sessionState : sessionStatesToRelease) { 427 sessionState.session.release(); 431 clearSessionAndNotifyClientLocked(sessionState); [all...] |
/external/opencv3/samples/winrt/ImageManipulations/common/ |
suspensionmanager.cpp | 53 IMap<String^, Object^>^ SuspensionManager::SessionState::get(void) 87 /// and restored from <see cref="SessionState"/>. Frames should be registered once 95 /// <param name="sessionStateKey">A unique key into <see cref="SessionState"/> used to 120 /// from <see cref="SessionState"/>. Any navigation state previously captured will be 130 if (SessionState->HasKey(key)) SessionState->Remove(key); 145 /// <see cref="SessionState"/>. Frames that are not registered have transient state 153 /// <see cref="SessionState"/>.</returns> 196 /// Save the current <see cref="SessionState"/>. Any <see cref="Frame"/> instances 242 /// Restores previously saved <see cref="SessionState"/>. Any <see cref="Frame"/> instance [all...] |
suspensionmanager.h | 38 static property Windows::Foundation::Collections::IMap<Platform::String^, Platform::Object^>^ SessionState
|
LayoutAwarePage.cpp | 445 /// requirements of <see cref="SuspensionManager.SessionState"/>.
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CameraControlPane.java | 97 private enum SessionState { 146 private SessionState mSessionState = SessionState.NONE; 478 setSessionState(SessionState.CONFIGURED); 486 setSessionState(SessionState.CONFIGURE_FAILED); 491 setSessionState(SessionState.READY); 506 setSessionState(SessionState.ACTIVE); 527 setSessionState(SessionState.CLOSED); 583 private void setSessionState(SessionState newState) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
tssbx.h | 95 WTSSBX_SESSION_STATE SessionState;
|
tapi3cc.h | 283 virtual HRESULT WINAPI put_State(AGENT_SESSION_STATE SessionState) = 0; 311 HRESULT (WINAPI *put_State)(ITAgentSession *This,AGENT_SESSION_STATE SessionState); 341 #define ITAgentSession_put_State(This,SessionState) (This)->lpVtbl->put_State(This,SessionState) 363 HRESULT WINAPI ITAgentSession_put_State_Proxy(ITAgentSession *This,AGENT_SESSION_STATE SessionState); [all...] |
tapi3.h | 402 virtual HRESULT WINAPI put_State(AGENT_SESSION_STATE SessionState) = 0; 430 HRESULT (WINAPI *put_State)(ITAgentSession *This,AGENT_SESSION_STATE SessionState); 460 #define ITAgentSession_put_State(This,SessionState) (This)->lpVtbl->put_State(This,SessionState) 482 HRESULT WINAPI ITAgentSession_put_State_Proxy(ITAgentSession *This,AGENT_SESSION_STATE SessionState); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhone.java | 410 int sessionState = sipAudioCall.getState(); 411 switch (sessionState) { 420 slog("illegal connection state: " + sessionState); 764 String sessionState = (sipAudioCall == null) 768 + hidePii(mPeer.getUriString()) + ": " + sessionState [all...] |
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
SessionManager.java | 226 int sessionState = (sid != null && sid.equals(mSessionId)) ? 230 return new MediaSessionStatus.Builder(sessionState)
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
SessionManager.java | 226 int sessionState = (sid != null && sid.equals(mSessionId)) ? 230 return new MediaSessionStatus.Builder(sessionState)
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SessionManager.java | 234 int sessionState = (sid != null && sid.equals(mSessionId)) ? 238 return new MediaSessionStatus.Builder(sessionState)
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
SessionManager.java | 226 int sessionState = (sid != null && sid.equals(mSessionId)) ? 230 return new MediaSessionStatus.Builder(sessionState)
|
/frameworks/base/services/core/java/com/android/server/ |
InputMethodManagerService.java | 236 static class SessionState { 245 return "SessionState{uid " + client.uid + " pid " + client.pid 254 SessionState(ClientState _client, IInputMethod _method, 271 SessionState curSession; 434 SessionState mEnabledSession; [all...] |
/external/opencv3/samples/winrt/ImageManipulations/ |
MainPage.xaml.cpp | 308 /// requirements of <see cref="SuspensionManager::SessionState"/>.
|