Home
last modified time | relevance | path

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

/external/libweave/src/privet/
Dwifi_ssid_generator_unittest.cc31 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F()
32 gcd_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F()
35 wifi_.connection_state_ = ConnectionState{ConnectionState::kOnline}; in TEST_F()
38 gcd_.connection_state_ = ConnectionState{ConnectionState::kOffline}; in TEST_F()
41 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F()
51 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F()
52 gcd_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F()
55 wifi_.connection_state_ = ConnectionState{ConnectionState::kOnline}; in TEST_F()
58 gcd_.connection_state_ = ConnectionState{ConnectionState::kOffline}; in TEST_F()
61 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F()
Dprivet_types.cc18 using privet::ConnectionState;
35 const EnumToStringMap<ConnectionState::Status>::Map kConnectionStateMap[] = {
36 {ConnectionState::kDisabled, "disabled"},
37 {ConnectionState::kUnconfigured, "unconfigured"},
38 {ConnectionState::kConnecting, "connecting"},
39 {ConnectionState::kOnline, "online"},
40 {ConnectionState::kOffline, "offline"},
84 LIBWEAVE_EXPORT EnumToStringMap<ConnectionState::Status>::EnumToStringMap() in EnumToStringMap()
Dwifi_bootstrap_manager.cc175 const ConnectionState& WifiBootstrapManager::GetConnectionState() const { in GetConnectionState()
261 connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in UpdateConnectionState()
273 connection_state_ = ConnectionState{ConnectionState::kOffline}; in UpdateConnectionState()
280 connection_state_ = ConnectionState{std::move(error)}; in UpdateConnectionState()
284 connection_state_ = ConnectionState{ConnectionState::kConnecting}; in UpdateConnectionState()
287 connection_state_ = ConnectionState{ConnectionState::kOnline}; in UpdateConnectionState()
294 connection_state_ = ConnectionState{std::move(error)}; in UpdateConnectionState()
Dwifi_ssid_generator.cc30 bool IsSetupNeeded(const ConnectionState& state) { in IsSetupNeeded()
34 case ConnectionState::kUnconfigured: in IsSetupNeeded()
36 case ConnectionState::kDisabled: in IsSetupNeeded()
37 case ConnectionState::kConnecting: in IsSetupNeeded()
38 case ConnectionState::kOnline: in IsSetupNeeded()
39 case ConnectionState::kOffline: in IsSetupNeeded()
Dcloud_delegate.cc106 const ConnectionState& GetConnectionState() const override { in GetConnectionState()
138 return connection_state_.status() > ConnectionState::kUnconfigured in GetCloudId()
245 connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in OnRegistrationChanged()
248 connection_state_ = ConnectionState{ConnectionState::kConnecting}; in OnRegistrationChanged()
250 connection_state_ = ConnectionState{ConnectionState::kOnline}; in OnRegistrationChanged()
256 connection_state_ = ConnectionState{std::move(error)}; in OnRegistrationChanged()
335 ConnectionState connection_state_{ConnectionState::kDisabled};
Dmock_delegates.h147 MOCK_CONST_METHOD0(GetConnectionState, const ConnectionState&());
166 ConnectionState connection_state_{ConnectionState::kOffline};
184 MOCK_CONST_METHOD0(GetConnectionState, const ConnectionState&());
233 ConnectionState connection_state_{ConnectionState::kOnline};
Dwifi_bootstrap_manager.h55 const ConnectionState& GetConnectionState() const override;
101 ConnectionState connection_state_{ConnectionState::kDisabled};
Dprivet_types.h70 class ConnectionState final {
80 explicit ConnectionState(Status status) : status_(status) {} in ConnectionState() function
81 explicit ConnectionState(ErrorPtr error) in ConnectionState() function
Dwifi_delegate.h24 virtual const ConnectionState& GetConnectionState() const = 0;
Dcloud_delegate.h85 virtual const ConnectionState& GetConnectionState() const = 0;
Dprivet_handler.cc278 const ConnectionState& state = wifi.GetConnectionState(); in CreateWifiSection()
280 DCHECK(!state.IsStatusEqual(ConnectionState::kDisabled)); in CreateWifiSection()
281 DCHECK(!state.IsStatusEqual(ConnectionState::kOnline)); in CreateWifiSection()
Dprivet_handler_unittest.cc172 ConnectionState gcd_disabled_state_{ConnectionState::kDisabled};
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DWebSocketRTCClient.java44 private enum ConnectionState { enum in WebSocketRTCClient
54 private ConnectionState roomState;
62 roomState = ConnectionState.NEW; in WebSocketRTCClient()
96 roomState = ConnectionState.NEW; in connectToRoomInternal()
123 if (roomState == ConnectionState.CONNECTED) { in disconnectFromRoomInternal()
127 roomState = ConnectionState.CLOSED; in disconnectFromRoomInternal()
173 roomState = ConnectionState.CONNECTED; in signalingParametersReady()
189 if (roomState != ConnectionState.CONNECTED) { in sendOfferSdp()
239 if (roomState != ConnectionState.CONNECTED) { in sendLocalIceCandidate()
330 if (roomState != ConnectionState.ERROR) { in reportError()
[all …]
/external/boringssl/src/ssl/test/runner/
Dconn.go1346 func (c *Conn) ConnectionState() ConnectionState { func
1350 var state ConnectionState
Dcommon.go180 type ConnectionState struct { struct
Drunner.go319 connState := tlsConn.ConnectionState()
396 expected := tlsConn.ConnectionState().TLSUnique
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...