Home
last modified time | relevance | path

Searched refs:ConnectionState (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/flutter/packages/flutter/test/widgets/
Dasync_test.dart17 const AsyncSnapshot<String>.withData(ConnectionState.done, 'hello').requireData,
23 () => const AsyncSnapshot<String>.withError(ConnectionState.done, 'error').requireData,
62 expect(find.text('AsyncSnapshot<String>(ConnectionState.none, null, null)'), findsOneWidget);
67 … expect(find.text('AsyncSnapshot<String>(ConnectionState.waiting, null, null)'), findsOneWidget);
75 … expect(find.text('AsyncSnapshot<String>(ConnectionState.waiting, null, null)'), findsOneWidget);
79 expect(find.text('AsyncSnapshot<String>(ConnectionState.none, null, null)'), findsOneWidget);
82 expect(find.text('AsyncSnapshot<String>(ConnectionState.none, null, null)'), findsOneWidget);
91 … expect(find.text('AsyncSnapshot<String>(ConnectionState.waiting, null, null)'), findsOneWidget);
95 … expect(find.text('AsyncSnapshot<String>(ConnectionState.waiting, null, null)'), findsOneWidget);
99 expect(find.text('AsyncSnapshot<String>(ConnectionState.done, B, null)'), findsOneWidget);
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dasync.dart166 enum ConnectionState {
202 /// Creates an [AsyncSnapshot] in [ConnectionState.none] with null data and error.
203 const AsyncSnapshot.nothing() : this._(ConnectionState.none, null, null);
206 const AsyncSnapshot.withData(ConnectionState state, T data) : this._(state, data, null);
209 const AsyncSnapshot.withError(ConnectionState state, Object error) : this._(state, null, error);
212 final ConnectionState connectionState;
247 /// [ConnectionState.none].
248 AsyncSnapshot<T> inState(ConnectionState state) => AsyncSnapshot<T>._(state, data, error);
308 /// ConnectionState.done):
310 /// * `new AsyncSnapshot<int>.withData(ConnectionState.waiting, null)`
[all …]
/third_party/grpc/src/core/ext/transport/chttp2/server/
Dchttp2_server.cc128 class ConnectionState : public RefCounted<ConnectionState> { class in grpc_core::__anon2e6940d10111::Chttp2ServerListener
130 ConnectionState(Chttp2ServerListener* listener,
136 ~ConnectionState() override;
194 Chttp2ServerListener::ConnectionState::ConnectionState( in ConnectionState() function in grpc_core::__anon2e6940d10111::Chttp2ServerListener::ConnectionState
212 Chttp2ServerListener::ConnectionState::~ConnectionState() { in ~ConnectionState()
220 void Chttp2ServerListener::ConnectionState::OnTimeout(void* arg, in OnTimeout()
222 ConnectionState* self = static_cast<ConnectionState*>(arg); in OnTimeout()
234 void Chttp2ServerListener::ConnectionState::OnReceiveSettings( in OnReceiveSettings()
236 ConnectionState* self = static_cast<ConnectionState*>(arg); in OnReceiveSettings()
243 void Chttp2ServerListener::ConnectionState::OnHandshakeDone(void* arg, in OnHandshakeDone()
[all …]
/third_party/cef/libcef/renderer/
Dframe_impl.cc321 if (browser_connection_state_ == ConnectionState::DISCONNECTED) { in OnWasShown()
459 DCHECK(browser_connection_state_ == ConnectionState::DISCONNECTED || in ConnectBrowserFrame()
460 browser_connection_state_ == ConnectionState::RECONNECT_PENDING); in ConnectBrowserFrame()
466 browser_connection_state_ = ConnectionState::DISCONNECTED; in ConnectBrowserFrame()
479 browser_connection_state_ = ConnectionState::CONNECTION_PENDING; in ConnectBrowserFrame()
498 browser_connection_state_ == ConnectionState::CONNECTION_ACKED); in GetBrowserFrame()
524 browser_connection_state_ == ConnectionState::RECONNECT_PENDING) { in OnBrowserFrameDisconnect()
530 browser_connection_state_ = ConnectionState::DISCONNECTED; in OnBrowserFrameDisconnect()
542 browser_connection_state_ = ConnectionState::RECONNECT_PENDING; in OnBrowserFrameDisconnect()
563 if (browser_connection_state_ != ConnectionState::CONNECTION_ACKED) { in SendToBrowserFrame()
[all …]
Dframe_impl.h153 enum class ConnectionState { enum
158 } browser_connection_state_ = ConnectionState::DISCONNECTED;
/third_party/flutter/flutter/dev/integration_tests/platform_interaction/lib/src/
Dtest_step.dart20 case ConnectionState.none:
22 case ConnectionState.waiting:
24 case ConnectionState.done:
/third_party/cef/include/
Dcef_media_router.h123 typedef cef_media_route_connection_state_t ConnectionState; typedef
145 ConnectionState state) = 0;
/third_party/flutter/flutter/dev/integration_tests/channels/lib/src/
Dtest_step.dart41 case ConnectionState.none:
43 case ConnectionState.waiting:
45 case ConnectionState.done:
/third_party/cef/libcef_dll/ctocpp/
Dmedia_observer_ctocpp.h42 ConnectionState state) override;
Dmedia_observer_ctocpp.cc88 ConnectionState state) { in OnRouteStateChanged()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsprotocol.go4035 type ConnectionState float64 type
4534 New ConnectionState = 1
4537 Listening ConnectionState = 2
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/
Dtsprotocol.go4035 type ConnectionState float64 type
4534 New ConnectionState = 1
4537 Listening ConnectionState = 2
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/
Dtsprotocol.go4035 type ConnectionState float64 type
4534 New ConnectionState = 1
4537 Listening ConnectionState = 2
/third_party/cef/libcef/browser/media_router/
Dmedia_router_impl.cc118 static CefMediaObserver::ConnectionState ToConnectionState( in ToConnectionState()
/third_party/cef/tests/cefclient/browser/
Dmedia_router_test.cc232 ConnectionState state) override { in OnRouteStateChanged()
/third_party/nghttp2/integration-tests/
Dserver_tester.go245 cs := tlsConn.ConnectionState()
Dnghttpx_http2_test.go832 connState := tlsConn.ConnectionState()