Lines Matching refs:g_connman
98 return g_connman ? g_connman->GetNodeCount(flags) : 0; in getNodeCount()
104 if (g_connman) { in getNodesStats()
106 g_connman->GetNodeStats(stats_temp); in getNodesStats()
151 if (g_connman) { in disconnect()
152 return g_connman->DisconnectNode(net_addr); in disconnect()
158 if (g_connman) { in disconnect()
159 return g_connman->DisconnectNode(id); in disconnect()
163 int64_t getTotalBytesRecv() override { return g_connman ? g_connman->GetTotalBytesRecv() : 0; } in getTotalBytesRecv()
164 int64_t getTotalBytesSent() override { return g_connman ? g_connman->GetTotalBytesSent() : 0; } in getTotalBytesSent()
204 if (g_connman) { in setNetworkActive()
205 g_connman->SetNetworkActive(active); in setNetworkActive()
208 bool getNetworkActive() override { return g_connman && g_connman->GetNetworkActive(); } in getNetworkActive()