Lines Matching refs:address
85 std::set<tAPP_ID> get_apps_connecting_to(const RawAddress& address) { in get_apps_connecting_to() argument
86 auto it = bgconn_dev.find(address); in get_apps_connecting_to()
93 bool background_connect_add(uint8_t app_id, const RawAddress& address) { in background_connect_add() argument
95 return L2CA_ConnectFixedChnl(L2CAP_ATT_CID, address); in background_connect_add()
98 auto it = bgconn_dev.find(address); in background_connect_add()
104 << "already doing background connection to " << address; in background_connect_add()
116 if (!BTM_WhiteListAdd(address)) return false; in background_connect_add()
120 bgconn_dev[address].doing_bg_conn.insert(app_id); in background_connect_add()
126 bool remove_unconditional(const RawAddress& address) { in remove_unconditional() argument
127 auto it = bgconn_dev.find(address); in remove_unconditional()
130 BTM_WhiteListRemove(address); in remove_unconditional()
138 bool background_connect_remove(uint8_t app_id, const RawAddress& address) { in background_connect_remove() argument
140 auto it = bgconn_dev.find(address); in background_connect_remove()
148 BTM_WhiteListRemove(address); in background_connect_remove()
173 void on_connection_complete(const RawAddress& address) { in on_connection_complete() argument
175 auto it = bgconn_dev.find(address); in on_connection_complete()
179 direct_connect_remove(app_id, address); in on_connection_complete()
180 it = bgconn_dev.find(address); in on_connection_complete()
191 void wl_direct_connect_timeout_cb(uint8_t app_id, const RawAddress& address) { in wl_direct_connect_timeout_cb() argument
192 on_connection_timed_out(app_id, address); in wl_direct_connect_timeout_cb()
196 direct_connect_remove(app_id, address); in wl_direct_connect_timeout_cb()
201 bool direct_connect_add(uint8_t app_id, const RawAddress& address) { in direct_connect_add() argument
203 return L2CA_ConnectFixedChnl(L2CAP_ATT_CID, address); in direct_connect_add()
205 auto it = bgconn_dev.find(address); in direct_connect_add()
225 if (!BTM_WhiteListAdd(address)) { in direct_connect_add()
236 base::BindOnce(&wl_direct_connect_timeout_cb, app_id, address)); in direct_connect_add()
238 bgconn_dev[address].doing_direct_conn.emplace( in direct_connect_add()
250 bool direct_connect_remove(uint8_t app_id, const RawAddress& address) { in direct_connect_remove() argument
252 << "app_id: " << +app_id << ", address:" << address; in direct_connect_remove()
253 auto it = bgconn_dev.find(address); in direct_connect_remove()
271 BTM_WhiteListRemove(address); in direct_connect_remove()