Lines Matching refs:connection
74 BackgroundConnection* connection = &map_iter->second; in background_connection_add() local
75 connection->addr_type = addr_type; in background_connection_add()
76 connection->pending_removal = false; in background_connection_add()
95 BackgroundConnection* connection = &map_el.second; in background_connections_pending() local
96 if (connection->pending_removal) continue; in background_connections_pending()
98 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
157 BackgroundConnection* connection = &map_it->second; in btm_ble_bgconn_cancel_if_disconnected() local
158 if (!connection->in_controller_wl && !connection->pending_removal && in btm_ble_bgconn_cancel_if_disconnected()
266 BackgroundConnection* connection = &map_it->second; in btm_execute_wl_dev_operation() local
267 if (connection->pending_removal) { in btm_execute_wl_dev_operation()
269 connection->addr_type_in_wl, connection->address, in btm_execute_wl_dev_operation()
276 BackgroundConnection* connection = &map_el.second; in btm_execute_wl_dev_operation() local
278 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in btm_execute_wl_dev_operation()
279 if (!connection->in_controller_wl && !connected) { in btm_execute_wl_dev_operation()
280 btsnd_hcic_ble_add_white_list(connection->addr_type, connection->address, in btm_execute_wl_dev_operation()
282 connection->in_controller_wl = true; in btm_execute_wl_dev_operation()
283 connection->addr_type_in_wl = connection->addr_type; in btm_execute_wl_dev_operation()
284 } else if (connection->in_controller_wl && connected) { in btm_execute_wl_dev_operation()
290 connection->addr_type_in_wl, connection->address, in btm_execute_wl_dev_operation()
292 connection->in_controller_wl = false; in btm_execute_wl_dev_operation()