Lines Matching refs:btd_adapter
92 struct btd_adapter *adapter;
106 struct btd_adapter *adapter;
109 struct btd_adapter {
156 static void adapter_set_pairable_timeout(struct btd_adapter *adapter,
270 int btd_adapter_set_class(struct btd_adapter *adapter, uint8_t major,
276 static int pending_remote_name_cancel(struct btd_adapter *adapter)
300 int adapter_resolve_names(struct btd_adapter *adapter)
375 static void adapter_set_limited_discoverable(struct btd_adapter *adapter,
383 static void adapter_remove_discov_timeout(struct btd_adapter *adapter)
397 struct btd_adapter *adapter = user_data;
406 static void adapter_set_discov_timeout(struct btd_adapter *adapter,
440 static struct session_req *create_session(struct btd_adapter *adapter,
465 static int adapter_set_mode(struct btd_adapter *adapter, uint8_t mode)
500 static int set_mode(struct btd_adapter *adapter, uint8_t new_mode,
562 struct btd_adapter *adapter = data;
583 struct btd_adapter *adapter = data;
607 void btd_adapter_pairable_changed(struct btd_adapter *adapter,
626 struct btd_adapter *adapter = data;
656 static void adapter_set_pairable_timeout(struct btd_adapter *adapter,
684 static uint8_t get_needed_mode(struct btd_adapter *adapter, uint8_t mode)
720 static void stop_discovery(struct btd_adapter *adapter)
749 struct btd_adapter *adapter = req->adapter;
870 struct btd_adapter *adapter = data;
897 struct btd_adapter *adapter = data;
919 void btd_adapter_class_changed(struct btd_adapter *adapter, uint32_t new_class)
942 void adapter_update_local_name(struct btd_adapter *adapter, const char *name)
970 struct btd_adapter *adapter = data;
999 struct btd_device *adapter_find_device(struct btd_adapter *adapter,
1018 static void adapter_update_devices(struct btd_adapter *adapter)
1037 static void adapter_emit_uuids_updated(struct btd_adapter *adapter)
1116 void adapter_service_insert(struct btd_adapter *adapter, void *r)
1137 void adapter_service_remove(struct btd_adapter *adapter, void *r)
1150 struct btd_adapter *adapter,
1178 void adapter_remove_device(DBusConnection *conn, struct btd_adapter *adapter,
1204 struct btd_adapter *adapter,
1222 static int start_discovery(struct btd_adapter *adapter)
1239 struct btd_adapter *adapter = user_data;
1255 struct btd_adapter *adapter = data;
1294 struct btd_adapter *adapter = data;
1313 struct btd_adapter *adapter = data;
1419 struct btd_adapter *adapter = data;
1501 struct btd_adapter *adapter = data;
1543 struct btd_adapter *adapter = data;
1559 struct btd_adapter *adapter = data;
1594 struct btd_adapter *adapter = data;
1625 struct btd_adapter *adapter,
1652 struct btd_adapter *adapter = data;
1723 struct btd_adapter *adapter = data;
1780 struct btd_adapter *adapter = data;
1815 struct btd_adapter *adapter = data;
1846 static void agent_removed(struct agent *agent, struct btd_adapter *adapter)
1859 struct btd_adapter *adapter = data;
1894 struct btd_adapter *adapter = data;
1911 static sdp_record_t *create_rfcomm_record(struct btd_adapter *adapter,
1954 struct btd_adapter *adapter = data;
1997 struct btd_adapter *adapter = data;
2013 static int add_headset_ag_record(struct btd_adapter* adapter)
2073 static int add_handsfree_ag_record(struct btd_adapter* adapter) {
2141 static int add_pbap_pse_record(struct btd_adapter *adapter)
2208 static int add_opush_record(struct btd_adapter *adapter)
2288 struct btd_adapter *adapter = data;
2351 struct btd_adapter *adapter = data;
2424 struct btd_adapter *adapter = user_data;
2449 struct btd_adapter *adapter;
2492 struct btd_adapter *adapter = keys->adapter;
2514 struct btd_adapter *adapter = user_data;
2532 struct btd_adapter *adapter = user_data;
2591 struct btd_adapter *adapter = user_data;
2621 static void load_devices(struct btd_adapter *adapter)
2657 int btd_adapter_block_address(struct btd_adapter *adapter, bdaddr_t *bdaddr)
2662 int btd_adapter_unblock_address(struct btd_adapter *adapter, bdaddr_t *bdaddr)
2667 static void clear_blocked(struct btd_adapter *adapter)
2677 static void probe_driver(struct btd_adapter *adapter, gpointer user_data)
2698 static void load_drivers(struct btd_adapter *adapter)
2706 static void load_connections(struct btd_adapter *adapter)
2755 static void call_adapter_powered_callbacks(struct btd_adapter *adapter,
2770 struct btd_adapter *adapter = user_data;
2784 static void update_oor_devices(struct btd_adapter *adapter)
2792 void btd_adapter_get_mode(struct btd_adapter *adapter, uint8_t *mode,
2821 void btd_adapter_start(struct btd_adapter *adapter)
2861 static void reply_pending_requests(struct btd_adapter *adapter)
2881 struct btd_adapter *adapter = user_data;
2887 static void unload_drivers(struct btd_adapter *adapter)
2894 static void set_mode_complete(struct btd_adapter *adapter)
2948 int btd_adapter_stop(struct btd_adapter *adapter)
3011 struct btd_adapter *adapter = user_data;
3032 struct btd_adapter *btd_adapter_ref(struct btd_adapter *adapter)
3041 void btd_adapter_unref(struct btd_adapter *adapter)
3059 gboolean adapter_init(struct btd_adapter *adapter)
3108 struct btd_adapter *adapter_create(DBusConnection *conn, int id)
3111 struct btd_adapter *adapter;
3117 adapter = g_try_new0(struct btd_adapter, 1);
3139 void adapter_remove(struct btd_adapter *adapter)
3157 uint16_t adapter_get_dev_id(struct btd_adapter *adapter)
3162 const gchar *adapter_get_path(struct btd_adapter *adapter)
3170 void adapter_get_address(struct btd_adapter *adapter, bdaddr_t *bdaddr)
3175 static inline void suspend_discovery(struct btd_adapter *adapter)
3193 static inline void resolve_names(struct btd_adapter *adapter)
3205 void adapter_set_state(struct btd_adapter *adapter, int state)
3247 int adapter_get_state(struct btd_adapter *adapter)
3252 struct remote_dev_info *adapter_search_found_devices(struct btd_adapter *adapter,
3348 void adapter_emit_device_found(struct btd_adapter *adapter,
3498 void adapter_update_found_devices(struct btd_adapter *adapter, bdaddr_t *bdaddr,
3580 int adapter_remove_found_device(struct btd_adapter *adapter, bdaddr_t *bdaddr)
3596 void adapter_mode_changed(struct btd_adapter *adapter, uint8_t scan_mode)
3658 struct agent *adapter_get_agent(struct btd_adapter *adapter)
3666 void adapter_add_connection(struct btd_adapter *adapter,
3679 void adapter_remove_connection(struct btd_adapter *adapter,
3704 gboolean adapter_has_discov_sessions(struct btd_adapter *adapter)
3712 void adapter_suspend_discovery(struct btd_adapter *adapter)
3723 void adapter_resume_discovery(struct btd_adapter *adapter)
3742 static void unload_driver(struct btd_adapter *adapter, gpointer data)
3767 struct btd_adapter *adapter = auth->adapter;
3776 static int adapter_authorize(struct btd_adapter *adapter, const bdaddr_t *dst,
3836 struct btd_adapter *adapter;
3862 struct btd_adapter *adapter = manager_find_adapter(src);
3928 gboolean adapter_is_pairable(struct btd_adapter *adapter)
3933 gboolean adapter_powering_down(struct btd_adapter *adapter)
3938 int btd_adapter_restore_powered(struct btd_adapter *adapter)
3959 int btd_adapter_switch_online(struct btd_adapter *adapter)
3970 int btd_adapter_switch_offline(struct btd_adapter *adapter)
4025 void btd_adapter_register_powered_callback(struct btd_adapter *adapter,
4032 void btd_adapter_unregister_powered_callback(struct btd_adapter *adapter,
4039 int btd_adapter_set_fast_connectable(struct btd_adapter *adapter,
4051 int btd_adapter_read_clock(struct btd_adapter *adapter, bdaddr_t *bdaddr,
4065 int btd_adapter_disconnect_device(struct btd_adapter *adapter, bdaddr_t *bdaddr)
4070 int btd_adapter_remove_bonding(struct btd_adapter *adapter, bdaddr_t *bdaddr)
4075 int btd_adapter_pincode_reply(struct btd_adapter *adapter, bdaddr_t *bdaddr,
4082 int btd_adapter_confirm_reply(struct btd_adapter *adapter, bdaddr_t *bdaddr,
4088 int btd_adapter_passkey_reply(struct btd_adapter *adapter, bdaddr_t *bdaddr,
4094 int btd_adapter_encrypt_link(struct btd_adapter *adapter, bdaddr_t *bdaddr,
4100 int btd_adapter_set_did(struct btd_adapter *adapter, uint16_t vendor,
4106 int btd_adapter_retry_authentication(struct btd_adapter *adapter, bdaddr_t *bdaddr)
4111 int adapter_create_bonding(struct btd_adapter *adapter, bdaddr_t *bdaddr,
4117 int adapter_cancel_bonding(struct btd_adapter *adapter, bdaddr_t *bdaddr)
4122 int btd_adapter_read_local_oob_data(struct btd_adapter *adapter)
4127 int btd_adapter_add_remote_oob_data(struct btd_adapter *adapter,
4134 int btd_adapter_remove_remote_oob_data(struct btd_adapter *adapter,