Lines Matching refs:app_id

93 bool background_connect_add(uint8_t app_id, const RawAddress& address) {  in background_connect_add()  argument
102 if (it->second.doing_bg_conn.count(app_id)) { in background_connect_add()
103 LOG(INFO) << "App id=" << loghex(app_id) in background_connect_add()
120 bgconn_dev[address].doing_bg_conn.insert(app_id); in background_connect_add()
138 bool background_connect_remove(uint8_t app_id, const RawAddress& address) { in background_connect_remove() argument
143 if (!it->second.doing_bg_conn.erase(app_id)) return false; in background_connect_remove()
154 void on_app_deregistered(uint8_t app_id) { in on_app_deregistered() argument
159 it->second.doing_bg_conn.erase(app_id); in on_app_deregistered()
161 it->second.doing_direct_conn.erase(app_id); in on_app_deregistered()
178 uint8_t app_id = it->second.doing_direct_conn.begin()->first; in on_connection_complete() local
179 direct_connect_remove(app_id, 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
210 if (it->second.doing_direct_conn.count(app_id)) { in direct_connect_add()
211 LOG(INFO) << "direct connect attempt from app_id=" << loghex(app_id) in direct_connect_add()
236 base::BindOnce(&wl_direct_connect_timeout_cb, app_id, address)); in direct_connect_add()
239 app_id, unique_alarm_ptr(timeout, &alarm_free)); 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()
256 auto app_it = it->second.doing_direct_conn.find(app_id); in direct_connect_remove()