/system/connectivity/shill/ |
D | socket_info_unittest.cc | 36 void ExpectSocketInfoEqual(const SocketInfo& info1, const SocketInfo& info2) { in ExpectSocketInfoEqual() 49 SocketInfo info(SocketInfo::kConnectionStateEstablished, in TEST_F() 58 SocketInfo::kTimerStateRetransmitTimerPending); in TEST_F() 60 SocketInfo info_copy(info); in TEST_F() 65 SocketInfo info(SocketInfo::kConnectionStateEstablished, in TEST_F() 74 SocketInfo::kTimerStateRetransmitTimerPending); in TEST_F() 76 SocketInfo info_copy = info; in TEST_F() 88 SocketInfo info(SocketInfo::kConnectionStateEstablished, in TEST_F() 95 SocketInfo::kTimerStateNoTimerPending); in TEST_F() 99 SocketInfo(SocketInfo::kConnectionStateEstablished, in TEST_F() [all …]
|
D | traffic_monitor_unittest.cc | 105 void SetupMockSocketInfos(const vector<SocketInfo>& socket_infos) { in SetupMockSocketInfos() 120 bool MockLoadTcpSocketInfo(vector<SocketInfo>* info_list) { in MockLoadTcpSocketInfo() 142 vector<SocketInfo> mock_socket_infos_; 181 vector<SocketInfo> socket_infos; in TEST_F() 183 SocketInfo(SocketInfo::kConnectionStateEstablished, in TEST_F() 190 SocketInfo::kTimerStateRetransmitTimerPending)); in TEST_F() 199 vector<SocketInfo> socket_infos; in TEST_F() 203 SocketInfo(SocketInfo::kConnectionStateEstablished, in TEST_F() 210 SocketInfo::kTimerStateRetransmitTimerPending)); in TEST_F() 217 vector<SocketInfo> socket_infos; in TEST_F() [all …]
|
D | socket_info.cc | 21 SocketInfo::SocketInfo(ConnectionState connection_state, in SocketInfo() function in shill::SocketInfo 39 SocketInfo::SocketInfo() in SocketInfo() function in shill::SocketInfo 50 SocketInfo::SocketInfo(const SocketInfo& socket_info) in SocketInfo() function in shill::SocketInfo 61 SocketInfo::~SocketInfo() {} in ~SocketInfo() 63 SocketInfo& SocketInfo::operator=(const SocketInfo& socket_info) { in operator =() 76 bool SocketInfo::IsSameSocketAs(const SocketInfo& socket_info) const { in IsSameSocketAs()
|
D | socket_info_reader_unittest.cc | 98 void ExpectSocketInfoEqual(const SocketInfo& info1, const SocketInfo& info2) { in ExpectSocketInfoEqual() 119 SocketInfo v4_info(SocketInfo::kConnectionStateListen, in TEST_F() 126 SocketInfo::kTimerStateNoTimerPending); in TEST_F() 127 SocketInfo v6_info(SocketInfo::kConnectionStateListen, in TEST_F() 134 SocketInfo::kTimerStateNoTimerPending); in TEST_F() 136 vector<SocketInfo> info_list; in TEST_F() 171 vector<SocketInfo> info_list; in TEST_F() 183 SocketInfo v4_info1(SocketInfo::kConnectionStateListen, in TEST_F() 190 SocketInfo::kTimerStateNoTimerPending); in TEST_F() 191 SocketInfo v4_info2(SocketInfo::kConnectionStateEstablished, in TEST_F() [all …]
|
D | socket_info_reader.cc | 59 bool SocketInfoReader::LoadTcpSocketInfo(vector<SocketInfo>* info_list) { in LoadTcpSocketInfo() 69 vector<SocketInfo>* info_list) { in AppendSocketInfo() 79 SocketInfo socket_info; in AppendSocketInfo() 87 SocketInfo* socket_info) { in ParseSocketInfo() 110 SocketInfo::ConnectionState connection_state = in ParseSocketInfo() 111 SocketInfo::kConnectionStateUnknown; in ParseSocketInfo() 125 SocketInfo::TimerState timer_state = SocketInfo::kTimerStateUnknown; in ParseSocketInfo() 203 const string& input, SocketInfo::ConnectionState* connection_state) { in ParseConnectionState() 210 if (result > 0 && result < SocketInfo::kConnectionStateMax) { in ParseConnectionState() 211 *connection_state = static_cast<SocketInfo::ConnectionState>(result); in ParseConnectionState() [all …]
|
D | socket_info.h | 26 class SocketInfo { 60 SocketInfo(); 61 SocketInfo(ConnectionState connection_state, 69 SocketInfo(const SocketInfo& socket_info); 70 ~SocketInfo(); 72 SocketInfo& operator=(const SocketInfo& socket_info); 77 bool IsSameSocketAs(const SocketInfo& socket_info) const;
|
D | connection_health_checker_unittest.cc | 204 SocketInfo CreateSocketInfoOther() { in CreateSocketInfoOther() 205 return SocketInfo( in CreateSocketInfoOther() 206 SocketInfo::kConnectionStateUnknown, in CreateSocketInfoOther() 213 SocketInfo::kTimerStateUnknown); in CreateSocketInfoOther() 215 SocketInfo CreateSocketInfoProxy(SocketInfo::ConnectionState state) { in CreateSocketInfoProxy() 216 return SocketInfo( in CreateSocketInfoProxy() 224 SocketInfo::kTimerStateUnknown); in CreateSocketInfoProxy() 226 SocketInfo CreateSocketInfoProxy(SocketInfo::ConnectionState state, in CreateSocketInfoProxy() 227 SocketInfo::TimerState timer_state, in CreateSocketInfoProxy() 229 return SocketInfo( in CreateSocketInfoProxy() [all …]
|
D | socket_info_reader.h | 49 virtual bool LoadTcpSocketInfo(std::vector<SocketInfo>* info_list); 62 std::vector<SocketInfo>* info_list); 63 bool ParseSocketInfo(const std::string& input, SocketInfo* socket_info); 72 SocketInfo::ConnectionState* connection_state); 74 SocketInfo::TimerState* timer_state);
|
D | connection_health_checker.cc | 308 SocketInfo sock_info; in OnConnectionComplete() 311 SocketInfo::kConnectionStateEstablished) { in OnConnectionComplete() 344 SocketInfo sock_info; in VerifySentData() 352 SocketInfo::kConnectionStateEstablished && in VerifySentData() 354 SocketInfo::kConnectionStateCloseWait)) { in VerifySentData() 363 SocketInfo::kTimerStateRetransmitTimerPending) { in VerifySentData() 386 SocketInfo* sock_info) { in GetSocketInfo() 419 vector<SocketInfo> info_list; in GetSocketInfo() 426 for (vector<SocketInfo>::const_iterator info_list_it = info_list.begin(); in GetSocketInfo() 429 const SocketInfo& cur_sock_info = *info_list_it; in GetSocketInfo()
|
D | mock_socket_info_reader.h | 29 class SocketInfo; variable 36 MOCK_METHOD1(LoadTcpSocketInfo, bool(std::vector<SocketInfo>* info_list));
|
D | traffic_monitor.cc | 87 const vector<SocketInfo>& socket_infos, in BuildIPPortToTxQueueLength() 99 info.connection_state() != SocketInfo::kConnectionStateEstablished || in BuildIPPortToTxQueueLength() 100 (info.timer_state() != SocketInfo::kTimerStateRetransmitTimerPending && in BuildIPPortToTxQueueLength() 102 SocketInfo::kTimerStateZeroWindowProbeTimerPending)) { in BuildIPPortToTxQueueLength() 120 vector<SocketInfo> socket_infos; in IsCongestedTxQueues()
|
D | traffic_monitor.h | 118 const std::vector<SocketInfo>& socket_infos,
|
D | connection_health_checker.h | 187 bool GetSocketInfo(int sock_fd, SocketInfo* sock_info);
|
/system/core/init/ |
D | service.h | 50 struct SocketInfo { struct 51 SocketInfo(); 52 SocketInfo(const std::string& name, const std::string& type, uid_t uid, 144 std::vector<SocketInfo> sockets_;
|
D | service.cpp | 46 SocketInfo::SocketInfo() : uid(0), gid(0), perm(0) { in SocketInfo() function in SocketInfo 49 SocketInfo::SocketInfo(const std::string& name, const std::string& type, uid_t uid, in SocketInfo() function in SocketInfo
|