Lines Matching refs:connection
75 BackgroundConnection* connection = &map_iter->second; in background_connection_add() local
76 if (addr_type != connection->addr_type) { in background_connection_add()
79 connection->addr_type_in_wl, connection->address, in background_connection_add()
81 connection->addr_type = addr_type; in background_connection_add()
82 connection->in_controller_wl = false; in background_connection_add()
84 connection->pending_removal = false; in background_connection_add()
103 BackgroundConnection* connection = &map_el.second; in background_connections_pending() local
104 if (connection->pending_removal) continue; in background_connections_pending()
106 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
165 BackgroundConnection* connection = &map_it->second; in btm_ble_bgconn_cancel_if_disconnected() local
166 if (!connection->in_controller_wl && !connection->pending_removal && in btm_ble_bgconn_cancel_if_disconnected()
271 BackgroundConnection* connection = &map_it->second; in btm_execute_wl_dev_operation() local
272 if (connection->pending_removal) { in btm_execute_wl_dev_operation()
274 connection->addr_type_in_wl, connection->address, in btm_execute_wl_dev_operation()
281 BackgroundConnection* connection = &map_el.second; in btm_execute_wl_dev_operation() local
283 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in btm_execute_wl_dev_operation()
284 if (!connection->in_controller_wl && !connected) { in btm_execute_wl_dev_operation()
285 btsnd_hcic_ble_add_white_list(connection->addr_type, connection->address, in btm_execute_wl_dev_operation()
287 connection->in_controller_wl = true; in btm_execute_wl_dev_operation()
288 connection->addr_type_in_wl = connection->addr_type; in btm_execute_wl_dev_operation()
289 } else if (connection->in_controller_wl && connected) { in btm_execute_wl_dev_operation()
295 connection->addr_type_in_wl, connection->address, in btm_execute_wl_dev_operation()
297 connection->in_controller_wl = false; in btm_execute_wl_dev_operation()