Lines Matching refs:connection
149 BackgroundConnection* connection = &map_iter->second; in background_connection_add() local
150 if (addr_type != connection->addr_type) { in background_connection_add()
153 connection->addr_type_in_wl, connection->address, in background_connection_add()
155 connection->addr_type = addr_type; in background_connection_add()
156 connection->in_controller_wl = false; in background_connection_add()
158 connection->pending_removal = false; in background_connection_add()
177 BackgroundConnection* connection = &map_el.second; in background_connections_pending() local
178 if (connection->pending_removal) continue; in background_connections_pending()
180 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
295 BackgroundConnection* connection = &map_it->second; in btm_execute_wl_dev_operation() local
296 if (connection->pending_removal) { in btm_execute_wl_dev_operation()
298 connection->addr_type_in_wl, connection->address, in btm_execute_wl_dev_operation()
305 BackgroundConnection* connection = &map_el.second; in btm_execute_wl_dev_operation() local
307 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in btm_execute_wl_dev_operation()
308 if (!connection->in_controller_wl && !connected) { in btm_execute_wl_dev_operation()
310 connection->addr_type, connection->address, in btm_execute_wl_dev_operation()
312 connection->in_controller_wl = true; in btm_execute_wl_dev_operation()
313 connection->addr_type_in_wl = connection->addr_type; in btm_execute_wl_dev_operation()
314 } else if (connection->in_controller_wl && connected) { in btm_execute_wl_dev_operation()
320 connection->addr_type_in_wl, connection->address, in btm_execute_wl_dev_operation()
322 connection->in_controller_wl = false; in btm_execute_wl_dev_operation()
431 BackgroundConnection* connection = &map_it->second; in btm_ble_bgconn_cancel_if_disconnected() local
432 if (!connection->in_controller_wl && !connection->pending_removal && in btm_ble_bgconn_cancel_if_disconnected()