Lines Matching refs:bgconn_dev
73 std::map<RawAddress, tAPPS_CONNECTING> bgconn_dev; variable
86 auto it = bgconn_dev.find(address); in get_apps_connecting_to()
87 return (it != bgconn_dev.end()) ? it->second.doing_bg_conn in get_apps_connecting_to()
98 auto it = bgconn_dev.find(address); in background_connect_add()
100 if (it != bgconn_dev.end()) { in background_connect_add()
120 bgconn_dev[address].doing_bg_conn.insert(app_id); in background_connect_add()
127 auto it = bgconn_dev.find(address); in remove_unconditional()
128 if (it == bgconn_dev.end()) return false; in remove_unconditional()
131 bgconn_dev.erase(it); in remove_unconditional()
140 auto it = bgconn_dev.find(address); in background_connect_remove()
141 if (it == bgconn_dev.end()) return false; in background_connect_remove()
149 bgconn_dev.erase(it); in background_connect_remove()
155 auto it = bgconn_dev.begin(); in on_app_deregistered()
156 auto end = bgconn_dev.end(); in on_app_deregistered()
169 it = bgconn_dev.erase(it); in on_app_deregistered()
175 auto it = bgconn_dev.find(address); in on_connection_complete()
177 while (it != bgconn_dev.end() && !it->second.doing_direct_conn.empty()) { in on_connection_complete()
180 it = bgconn_dev.find(address); in on_connection_complete()
187 bgconn_dev.clear(); in reset()
205 auto it = bgconn_dev.find(address); in direct_connect_add()
208 if (it != bgconn_dev.end()) { in direct_connect_add()
238 bgconn_dev[address].doing_direct_conn.emplace( in direct_connect_add()
244 for (const auto& tmp : bgconn_dev) { in any_direct_connect_left()
253 auto it = bgconn_dev.find(address); in direct_connect_remove()
254 if (it == bgconn_dev.end()) return false; in direct_connect_remove()
272 bgconn_dev.erase(it); in direct_connect_remove()
278 if (bgconn_dev.empty()) { in dump()
283 dprintf(fd, "\tdevices attempting connection: %d", (int)bgconn_dev.size()); in dump()
284 for (const auto& entry : bgconn_dev) { in dump()