/system/connectivity/shill/ |
D | socket_info_reader_unittest.cc | 99 EXPECT_EQ(info1.connection_state(), info2.connection_state()); in ExpectSocketInfoEqual() 369 SocketInfo::ConnectionState connection_state = in TEST_F() local 372 EXPECT_FALSE(reader_.ParseConnectionState("", &connection_state)); in TEST_F() 373 EXPECT_FALSE(reader_.ParseConnectionState("0", &connection_state)); in TEST_F() 374 EXPECT_FALSE(reader_.ParseConnectionState("X", &connection_state)); in TEST_F() 376 EXPECT_TRUE(reader_.ParseConnectionState("00", &connection_state)); in TEST_F() 377 EXPECT_EQ(SocketInfo::kConnectionStateUnknown, connection_state); in TEST_F() 378 EXPECT_TRUE(reader_.ParseConnectionState("01", &connection_state)); in TEST_F() 379 EXPECT_EQ(SocketInfo::kConnectionStateEstablished, connection_state); in TEST_F() 380 EXPECT_TRUE(reader_.ParseConnectionState("02", &connection_state)); in TEST_F() [all …]
|
D | socket_info.h | 61 SocketInfo(ConnectionState connection_state, 79 ConnectionState connection_state() const { return connection_state_; } in connection_state() function 80 void set_connection_state(ConnectionState connection_state) { in set_connection_state() argument 81 connection_state_ = connection_state; in set_connection_state()
|
D | socket_info_reader.cc | 110 SocketInfo::ConnectionState connection_state = in ParseSocketInfo() local 112 if (!ParseConnectionState(tokens[3], &connection_state)) { in ParseSocketInfo() 115 socket_info->set_connection_state(connection_state); in ParseSocketInfo() 203 const string& input, SocketInfo::ConnectionState* connection_state) { in ParseConnectionState() argument 211 *connection_state = static_cast<SocketInfo::ConnectionState>(result); in ParseConnectionState() 213 *connection_state = SocketInfo::kConnectionStateUnknown; in ParseConnectionState()
|
D | socket_info.cc | 21 SocketInfo::SocketInfo(ConnectionState connection_state, in SocketInfo() argument 29 : connection_state_(connection_state), in SocketInfo()
|
D | socket_info_unittest.cc | 37 EXPECT_EQ(info1.connection_state(), info2.connection_state()); in ExpectSocketInfoEqual()
|
D | connection_health_checker.cc | 310 sock_info.connection_state() != in OnConnectionComplete() 351 (sock_info.connection_state() != in VerifySentData() 353 sock_info.connection_state() != in VerifySentData() 359 << sock_info.connection_state(); in VerifySentData()
|
D | traffic_monitor.cc | 95 << ", State=" << info.connection_state() in BuildIPPortToTxQueueLength() 99 info.connection_state() != SocketInfo::kConnectionStateEstablished || in BuildIPPortToTxQueueLength()
|
D | socket_info_reader.h | 72 SocketInfo::ConnectionState* connection_state);
|
D | manager.cc | 2106 string connection_state = service ? service->GetStateString() : kStateIdle; in RefreshConnectionState() local 2107 if (connection_state_ == connection_state) { in RefreshConnectionState() 2110 connection_state_ = connection_state; in RefreshConnectionState()
|
/system/connectivity/shill/dbus/ |
D | chromeos_third_party_vpn_dbus_adaptor.cc | 107 brillo::ErrorPtr* error, uint32_t connection_state) { in UpdateConnectionState() argument 108 SLOG(this, 2) << __func__ << "(" << connection_state << ")"; in UpdateConnectionState() 114 if (ConvertConnectState(static_cast<ExternalConnectState>(connection_state), in UpdateConnectionState()
|
D | chromeos_third_party_vpn_dbus_adaptor.h | 60 uint32_t connection_state) override;
|
/system/core/adb/ |
D | transport_test.cpp | 123 ASSERT_EQ(kCsHost, t.connection_state); in TEST() 137 ASSERT_EQ(kCsHost, t.connection_state); in TEST() 154 ASSERT_EQ(kCsHost, t.connection_state); in TEST()
|
D | adb.cpp | 274 t->connection_state = kCsBootloader; in parse_banner() 278 t->connection_state = kCsDevice; in parse_banner() 282 t->connection_state = kCsRecovery; in parse_banner() 286 t->connection_state = kCsSideload; in parse_banner() 290 t->connection_state = kCsHost; in parse_banner() 295 if (t->connection_state != kCsOffline) { in handle_new_connection() 296 t->connection_state = kCsOffline; in handle_new_connection() 335 t->connection_state = kCsOffline; in handle_packet() 347 t->connection_state = kCsUnauthorized; in handle_packet()
|
D | transport_usb.cpp | 91 t->connection_state = state; in init_usb_transport()
|
D | transport.cpp | 528 if (t->connection_state != kCsNoPerm) { in transport_registration_func() 669 if (t->connection_state == kCsNoPerm) { in acquire_one_transport() 718 if (result && result->connection_state == kCsUnauthorized) { in acquire_one_transport() 730 if (result && result->connection_state == kCsOffline) { in acquire_one_transport() 751 switch (connection_state) { in connection_state_name() 1033 return t->usb == usb && t->connection_state == kCsNoPerm; in unregister_usb_transport()
|
D | transport.h | 76 ConnectionState connection_state = kCsOffline; variable
|
D | adb.h | 229 ConnectionState connection_state(atransport *t);
|
D | transport_local.cpp | 402 t->connection_state = kCsOffline; in init_socket_transport()
|
D | services.cpp | 382 if (t != nullptr && (sinfo->state == kCsAny || sinfo->state == t->connection_state)) { in wait_for_state()
|
D | sockets.cpp | 788 if (!(s->transport) || (s->transport->connection_state == kCsOffline)) { in smart_socket_enqueue()
|
/system/connectivity/shill/vpn/ |
D | third_party_vpn_driver.cc | 153 Service::ConnectState connection_state, std::string* error_message) { in UpdateConnectionState() argument 158 if (service_ && connection_state == Service::kStateFailure) { in UpdateConnectionState() 159 service_->SetState(connection_state); in UpdateConnectionState() 162 } else if (!service_ || connection_state != Service::kStateOnline) { in UpdateConnectionState()
|
D | third_party_vpn_driver.h | 59 void UpdateConnectionState(Service::ConnectState connection_state,
|