/system/bt/bta/gatt/ |
D | bta_gattc_api.c | 328 memcpy(&p_char_result->srvc_id, p_srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_GetFirstChar() 365 &p_start_char_id->srvc_id, in BTA_GATTC_GetNextChar() 372 memcpy(&p_char_result->srvc_id, &p_start_char_id->srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_GetNextChar() 408 &p_char_id->srvc_id, in BTA_GATTC_GetFirstCharDescr() 452 &p_start_descr_id->char_id.srvc_id, in BTA_GATTC_GetNextCharDescr() 501 memcpy(&p_result->srvc_id, p_srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_GetFirstIncludedService() 536 &p_start_id->srvc_id, in BTA_GATTC_GetNextIncludedService() 543 memcpy(&p_result->srvc_id, &p_start_id->srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_GetNextIncludedService() 575 memcpy(&p_buf->srvc_id, &p_char_id->srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_ReadCharacteristic() 611 memcpy(&p_buf->srvc_id, &p_descr_id->char_id.srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_ReadCharDescr() [all …]
|
D | bta_gattc_act.c | 1101 &p_data->api_read.srvc_id, in bta_gattc_read() 1154 &p_id->id_value.char_id.srvc_id, in bta_gattc_read_multi() 1161 &p_id->id_value.char_descr_id.char_id.srvc_id, in bta_gattc_read_multi() 1213 &p_data->api_write.srvc_id, in bta_gattc_write() 1283 &p_data->api_confirm.srvc_id, in bta_gattc_confirm() 1331 &cb_data.read.srvc_id, in bta_gattc_read_cmpl() 1350 cb_data.read.srvc_id = p_clcb->p_q_cmd->api_read.srvc_id; in bta_gattc_read_cmpl() 1387 &cb_data.write.srvc_id, &cb_data.write.char_id, in bta_gattc_write_cmpl() 1392 memcpy(&cb_data.write.srvc_id, &p_clcb->p_q_cmd->api_write.srvc_id, in bta_gattc_write_cmpl() 1954 if (bta_gattc_uuid_compare(&p_notify->char_id.srvc_id.id.uuid, &gattp_uuid, TRUE) && in bta_gattc_process_srvc_chg_ind() [all …]
|
D | bta_gattc_int.h | 130 tBTA_GATT_SRVC_ID srvc_id; member 139 tBTA_GATT_SRVC_ID srvc_id; member 157 tBTA_GATT_SRVC_ID srvc_id; member
|
D | bta_gattc_utils.c | 553 bta_gattc_srvcid_compare (&p_src->srvc_id, &p_tar->srvc_id)) in bta_gattc_charid_compare() 650 &p_value->aggre_value.pre_format[i].char_id.srvc_id, in bta_gattc_pack_read_cb_data()
|
/system/bt/btif/src/ |
D | btif_gatt_client.c | 185 btgatt_srvc_id_t srvc_id; member 499 bta_to_btif_srvc_id(&data.srvc_id, &p_data->write.srvc_id); in btif_gattc_upstreams_evt() 545 bta_to_btif_srvc_id(&data.srvc_id, &p_data->write.srvc_id); in btif_gattc_upstreams_evt() 560 bta_to_btif_srvc_id(&data.srvc_id, &p_data->notify.char_id.srvc_id); in btif_gattc_upstreams_evt() 1148 tBTA_GATT_SRVC_ID srvc_id; in btgattc_handle_event() local 1272 btif_to_bta_srvc_id(&srvc_id, &p_cb->srvc_id); in btgattc_handle_event() 1273 status = BTA_GATTC_GetFirstChar(p_cb->conn_id, &srvc_id, NULL, in btgattc_handle_event() 1280 p_cb->conn_id, status, &p_cb->srvc_id, in btgattc_handle_event() 1288 btif_to_bta_srvc_id(&in_char_id.srvc_id, &p_cb->srvc_id); in btgattc_handle_event() 1298 p_cb->conn_id, status, &p_cb->srvc_id, in btgattc_handle_event() [all …]
|
D | btif_gatt_server.c | 90 btgatt_srvc_id_t srvc_id; member 216 btgatt_srvc_id_t srvc_id; in btapp_gatts_handle_cback() local 217 srvc_id.is_primary = p_data->create.is_primary; in btapp_gatts_handle_cback() 218 srvc_id.id.inst_id = p_data->create.svc_instance; in btapp_gatts_handle_cback() 219 bta_to_btif_uuid(&srvc_id.id.uuid, &p_data->create.uuid); in btapp_gatts_handle_cback() 222 p_data->create.status, p_data->create.server_if, &srvc_id, in btapp_gatts_handle_cback() 445 tBTA_GATT_SRVC_ID srvc_id; in btgatts_handle_event() local 446 btif_to_bta_srvc_id(&srvc_id, &p_cb->srvc_id); in btgatts_handle_event() 447 BTA_GATTS_CreateService(p_cb->server_if, &srvc_id.id.uuid, in btgatts_handle_event() 448 srvc_id.id.inst_id, p_cb->num_handles, in btgatts_handle_event() [all …]
|
D | btif_gatt_util.c | 245 bta_to_btif_srvc_id(&p_dest->srvc_id, &p_src->srvc_id); in set_read_value()
|
/system/bt/test/suite/cases/ |
D | gatt.c | 92 btgatt_srvc_id_t srvc_id; in gatt_server_build() local 93 srvc_id.id.inst_id = 0; // there is only one instance of this service. in gatt_server_build() 94 srvc_id.is_primary = 1; // this service is primary. in gatt_server_build() 95 create_random_uuid(&srvc_id.id.uuid, -1); in gatt_server_build() 107 …CALL_AND_WAIT(gatt_interface->server->add_service(server_if, &srvc_id, 4 /* # handles */), btgatts… in gatt_server_build()
|
/system/bt/test/suite/support/ |
D | gatt.c | 95 void btgattc_search_result_cb(int conn_id, btgatt_srvc_id_t *srvc_id) { in btgattc_search_result_cb() argument 99 void btgattc_get_characteristic_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_… in btgattc_get_characteristic_cb() argument 103 void btgattc_get_descriptor_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t… in btgattc_get_descriptor_cb() argument 107 void btgattc_get_included_service_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_srv… in btgattc_get_included_service_cb() argument 111 …tification_cb(int conn_id, int registered, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t… in btgattc_register_for_notification_cb() argument 164 void btgatts_service_added_cb(int status, int server_if, btgatt_srvc_id_t *srvc_id, int srvc_handle… in btgatts_service_added_cb() argument
|
D | callbacks.c | 44 void btgattc_search_result_cb(int conn_id, btgatt_srvc_id_t *srvc_id); 45 void btgattc_get_characteristic_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_… 46 void btgattc_get_descriptor_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t… 47 void btgattc_get_included_service_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_srv… 48 …tification_cb(int conn_id, int registered, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t… 61 void btgatts_service_added_cb(int status, int server_if, btgatt_srvc_id_t *srvc_id, int srvc_handle…
|
/system/bt/bta/dm/ |
D | bta_dm_pm.c | 88 bta_dm_cb.pm_timer[i].srvc_id[j] = BTA_ID_MAX; in bta_dm_init_pm() 225 if (bta_dm_cb.pm_timer[i].srvc_id[timer_idx] != BTA_ID_MAX) in bta_dm_pm_stop_timer_by_mode() 251 static void bta_dm_pm_stop_timer_by_srvc_id(BD_ADDR peer_addr, UINT8 srvc_id) in bta_dm_pm_stop_timer_by_srvc_id() argument 259 if (bta_dm_cb.pm_timer[i].srvc_id[j] == srvc_id) in bta_dm_pm_stop_timer_by_srvc_id() 281 INT32 timeout, UINT8 srvc_id, UINT8 pm_action) in bta_dm_pm_start_timer() argument 286 if (p_timer->srvc_id[timer_idx] == BTA_ID_MAX) in bta_dm_pm_start_timer() 292 p_timer->srvc_id[timer_idx] = srvc_id; in bta_dm_pm_start_timer() 313 if (p_timer->srvc_id[timer_idx] == BTA_ID_MAX) in bta_dm_pm_stop_timer_by_index() 319 p_timer->srvc_id[timer_idx] = BTA_ID_MAX; in bta_dm_pm_stop_timer_by_index() 947 bta_dm_cb.pm_timer[i].srvc_id[j] = BTA_ID_MAX; in bta_dm_pm_timer_cback()
|
D | bta_dm_int.h | 840 UINT8 srvc_id[BTA_DM_PM_MODE_TIMER_MAX]; member
|
/system/bt/bta/hh/ |
D | bta_hh_le.c | 611 bta_hh_le_fill_16bits_srvc_id(TRUE, srvc_inst_id, srvc_uuid, &char_id.srvc_id); in bta_hh_le_read_char_dscrpt() 825 …_16bits_srvc_id(TRUE, BTA_HH_LE_RPT_GET_SRVC_INST_ID(p_rpt->inst_id), srvc_uuid, &char_id.srvc_id); in bta_hh_le_register_input_notif() 927 bta_hh_le_fill_16bits_srvc_id(TRUE, srvc_inst_id, srvc_uuid16, &char_id.srvc_id); in bta_hh_le_write_char_clt_cfg() 1047 bta_hh_le_fill_16bits_srvc_id(TRUE, 0, UUID_SERVCLASS_LE_HID, &char_id.srvc_id); in bta_hh_le_set_protocol_mode() 1085 bta_hh_le_fill_16bits_srvc_id(TRUE, 0, UUID_SERVCLASS_LE_HID, &char_id.srvc_id); in bta_hh_le_get_protocol_mode() 1668 tBTA_GATT_SRVC_ID srvc_id; in bta_hh_le_search_hid_included() local 1672 bta_hh_le_fill_16bits_srvc_id(TRUE, p_dev_cb->cur_srvc_index, UUID_SERVCLASS_LE_HID, &srvc_id); in bta_hh_le_search_hid_included() 1678 &srvc_id, in bta_hh_le_search_hid_included() 1697 char_result.srvc_id.id.inst_id, in bta_hh_le_search_hid_included() 1759 tBTA_GATT_SRVC_ID srvc_id; in bta_hh_le_search_hid_chars() local [all …]
|
D | bta_hh_int.h | 112 UINT8 srvc_id; member
|
/system/bt/stack/srvc/ |
D | srvc_eng_int.h | 80 extern BOOLEAN srvc_eng_request_channel (BD_ADDR remote_bda, UINT8 srvc_id );
|
D | srvc_eng.c | 386 BOOLEAN srvc_eng_request_channel (BD_ADDR remote_bda, UINT8 srvc_id ) in srvc_eng_request_channel() argument 395 p_clcb->cur_srvc_id = srvc_id; in srvc_eng_request_channel()
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 214 tBTA_GATT_SRVC_ID srvc_id; member 226 tBTA_GATT_SRVC_ID srvc_id; member 310 tBTA_GATT_SRVC_ID srvc_id; member 320 tBTA_GATT_SRVC_ID srvc_id; member
|