Searched defs:len (Results 101 - 125 of 5216) sorted by path

1234567891011>>

/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gattc_api.c273 UINT16 len = sizeof(tBTA_GATTC_API_SEARCH) + sizeof(tBT_UUID); local
275 if ((p_buf = (tBTA_GATTC_API_SEARCH *) GKI_getbuf(len)) != NULL)
277 memset(p_buf, 0, len);
601 UINT16 len = (UINT16)(sizeof(tBTA_GATT_ID) + sizeof(tBTA_GATTC_API_READ)); local
603 if ((p_buf = (tBTA_GATTC_API_READ *) GKI_getbuf(len)) != NULL)
640 UINT16 len = (UINT16)(sizeof(tBTA_GATTC_API_READ_MULTI) + local
644 if ((p_buf = (tBTA_GATTC_API_READ_MULTI *) GKI_getbuf(len)) != NULL)
646 memset(p_buf, 0, len);
678 ** len: length of the data to be written.
687 UINT16 len,
684 BTA_GATTC_WriteCharValue( UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, tBTA_GATTC_WRITE_TYPE write_type, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
738 UINT16 len = sizeof(tBTA_GATTC_API_WRITE) + sizeof(tBTA_GATT_ID); local
785 BTA_GATTC_PrepareWrite(UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, UINT16 offset, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
[all...]
H A Dbta_gattc_cache.c79 ((p_cur_srvc->service_uuid.id.uuid.len == 2) ? "uuid16" : "uuid128"),
356 UINT16 len = sizeof(tBTA_GATTC_CACHE_ATTR) + p_uuid->len; local
362 APPL_TRACE_DEBUG("free byte = %d, req %d bytes.", p_srvc_cb->free_byte, len);
371 if (p_srvc_cb->free_byte < len)
382 p_attr->uuid_len = p_uuid->len;
388 if (p_uuid->len == LEN_UUID_16)
392 else if (p_uuid->len == LEN_UUID_128)
408 p_srvc_cb->p_free += len;
409 p_srvc_cb->free_byte -= len;
[all...]
H A Dbta_gattc_int.h144 UINT16 len; member in struct:__anon557
H A Dbta_gatts_api.c268 UINT16 len = sizeof(tBTA_GATTS_API_ADD_DESCR); local
271 if ((p_buf = (tBTA_GATTS_API_ADD_DESCR *) GKI_getbuf(len)) != NULL)
273 memset(p_buf, 0, len);
390 UINT16 len = sizeof(tBTA_GATTS_API_INDICATION); local
392 if ((p_buf = (tBTA_GATTS_API_INDICATION *) GKI_getbuf(len)) != NULL)
394 memset(p_buf, 0, len);
403 p_buf->len = data_len;
430 UINT16 len = sizeof(tBTA_GATTS_API_RSP) + sizeof(tBTA_GATTS_RSP); local
432 if ((p_buf = (tBTA_GATTS_API_RSP *) GKI_getbuf(len)) != NULL)
434 memset(p_buf, 0, len);
[all...]
H A Dbta_gatts_int.h120 UINT16 len; member in struct:__anon587
/external/bluetooth/bluedroid/bta/hf_client/
H A Dbta_hf_client_act.c507 UINT16 len; local
514 while (PORT_ReadData(bta_hf_client_cb.scb.conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, &len) == PORT_SUCCESS)
517 if (len == 0)
522 bta_hf_client_at_parse(buf, len);
525 if (len < BTA_HF_CLIENT_RFC_READ_MAX)
H A Dbta_hf_client_at.c175 UINT16 len; local
182 PORT_WriteData(bta_hf_client_cb.scb.conn_handle, buf, buf_len, &len);
1367 void bta_hf_client_at_parse(char *buf, unsigned int len) argument
1369 APPL_TRACE_DEBUG("%s offset: %u len: %u", __FUNCTION__, bta_hf_client_cb.scb.at_cb.offset, len);
1371 if (len + bta_hf_client_cb.scb.at_cb.offset > BTA_HF_CLIENT_AT_PARSER_MAX_LEN)
1381 len -= space_left;
1413 memcpy(bta_hf_client_cb.scb.at_cb.buf + bta_hf_client_cb.scb.at_cb.offset, buf, len);
1414 bta_hf_client_cb.scb.at_cb.offset += len;
/external/bluetooth/bluedroid/bta/hh/
H A Dbta_hh_api.c171 UINT16 len = (UINT16) (sizeof(tBTA_HH_CMD_DATA) ); local
173 if ((p_buf = (tBTA_HH_CMD_DATA *)GKI_getbuf(len))!= NULL)
357 UINT16 len = sizeof(tBTA_HH_MAINT_DEV) + dscp_info.descriptor.dl_len; local
359 p_buf = (tBTA_HH_MAINT_DEV *)GKI_getbuf(len);
/external/bluetooth/bluedroid/bta/include/
H A Dbta_api.h362 UINT8 len; member in struct:__anon682
369 UINT8 len; member in struct:__anon683
370 UINT8 *p_val; /* number of len byte */
383 UINT8 len; member in struct:__anon685
1929 UINT32 len, tBTA_DM_SEARCH_CBACK *p_cback );
H A Dbta_av_api.h331 UINT16 len; member in struct:__anon735
340 UINT16 len; member in struct:__anon736
373 UINT8 len; member in struct:__anon740
385 UINT8 len; member in struct:__anon741
395 UINT16 len; /* Max vendor dependent message is 512 */ member in struct:__anon742
406 UINT16 len; member in struct:__anon743
673 BTA_API void BTA_AvProtectReq(tBTA_AV_HNDL hndl, UINT8 *p_data, UINT16 len);
688 UINT16 len);
715 UINT8 *p_data, UINT16 len);
730 UINT8 *p_data, UINT16 len, UINT3
[all...]
H A Dbta_gatt_api.h185 UINT16 len; member in struct:__anon765
375 UINT16 len; member in struct:__anon786
927 ** len: length of the data to be written.
936 UINT16 len,
1018 ** len: length of the data to be written.
1027 UINT16 len,
H A Dbta_jv_api.h293 UINT16 len; /* The length of the data read. */ member in struct:__anon892
304 UINT16 len; /* The length of the data read. */ member in struct:__anon893
313 UINT16 len; /* The length of the data written. */ member in struct:__anon894
382 UINT16 len; /* The length of the data read. */ member in struct:__anon902
391 int len; /* The length of the data written. */ member in struct:__anon903
800 ** TLV (type, len, value) representation in the data buffer
830 ** a TLV (type, len, value) representation in the data buffer
996 UINT8 *p_data, UINT16 len);
1005 ** If there are more data queued in L2CAP than len, the extra data will be discarded.
1012 UINT8 *p_data, UINT16 len);
[all...]
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_act.c1008 APPL_TRACE_DEBUG("uuid len:%d", u->len);
1009 if(u->len == 16)
1017 su.len = 2;
1025 su.len = 4;
1117 p_data->start_discovery.uuid_list[0].len = 2;
1189 UINT32 len;
1203 np = sdpu_get_len_from_type(p, type, &len);
1204 p = np + len;
1217 evt_data.p_services_len[evt_data.num_services++] = len
1870 bta_jv_port_data_co_cback(UINT16 port_handle, UINT8 *buf, UINT16 len, int type) argument
[all...]
H A Dbta_jv_api.c710 ** TLV (type, len, value) representation in the data buffer
724 UINT32 len;
738 np = sdpu_get_len_from_type(p, type, &len);
739 p = np + len;
753 memcpy(TLVs[num_services++], op, len+hdr_len);
757 memcpy(TLVs[num_services++], np, len);
801 ** a TLV (type, len, value) representation in the data buffer
1154 tBTA_JV_STATUS BTA_JvL2capRead(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
1159 UNUSED(len);
1180 p_msg->len
1222 BTA_JvL2capReceive(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
1317 BTA_JvL2capWrite(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
1499 BTA_JvRfcommRead(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
[all...]
H A Dbta_jv_int.h268 UINT16 len; member in struct:__anon940
279 UINT16 len; member in struct:__anon941
314 UINT16 len; member in struct:__anon944
343 int len; member in struct:__anon947
434 UINT32 sdp_data_size; /* the data len */
/external/bluetooth/bluedroid/bta/pan/
H A Dbta_pan_ci.c131 UINT8 *p_data, UINT16 len, BOOLEAN ext)
146 p_buf->len=len;
149 memcpy((UINT8 *)(p_buf + 1) + p_buf->offset, p_data, len);
130 bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext) argument
/external/bluetooth/bluedroid/btif/co/
H A Dbta_ag_co.c174 void bta_ag_co_tx_write(UINT16 handle, UINT8 * p_data, UINT16 len) argument
177 BTIF_TRACE_DEBUG( "bta_ag_co_tx_write: handle: %d, len: %d", handle, len );
H A Dbta_hh_co.c211 int bta_hh_co_write(int fd, UINT8* rpt, UINT16 len) argument
217 ev.u.input.size = len;
218 if(len > sizeof(ev.u.input.data)){
222 memcpy(ev.u.input.data, rpt, len);
361 ** len - length of report data
368 void bta_hh_co_data(UINT8 dev_handle, UINT8 *p_rpt, UINT16 len, tBTA_HH_PROTO_MODE mode, argument
385 bta_hh_co_write(p_dev->fd, p_rpt, len);
387 APPL_TRACE_WARNING("%s: Error: fd = %d, len = %d", __FUNCTION__, p_dev->fd, len);
474 unsigned len local
520 unsigned len = 0; local
[all...]
H A Dbta_pan_co.c185 "p_buf->len:%d, offset:%d", p_buf->len, p_buf->offset);
198 (char*)(p_buf + 1) + p_buf->offset, p_buf->len, ext, forward);
240 UINT16 len, BOOLEAN ext, BOOLEAN forward)
248 UNUSED(len);
321 UINT16 len, UINT8 *p_filters)
326 UNUSED(len);
342 UINT16 len, UINT8 *p_filters)
347 UNUSED(len);
238 bta_pan_co_tx_write(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext, BOOLEAN forward) argument
320 bta_pan_co_pfilt_ind(UINT16 handle, BOOLEAN indication, tBTA_PAN_STATUS result, UINT16 len, UINT8 *p_filters) argument
341 bta_pan_co_mfilt_ind(UINT16 handle, BOOLEAN indication, tBTA_PAN_STATUS result, UINT16 len, UINT8 *p_filters) argument
/external/bluetooth/bluedroid/btif/src/
H A Dbluetooth.c393 int dut_mode_send(uint16_t opcode, uint8_t* buf, uint8_t len) argument
401 return btif_dut_mode_send(opcode, buf, len);
405 int le_test_mode(uint16_t opcode, uint8_t* buf, uint8_t len) argument
413 return btif_le_test_mode(opcode, buf, len);
H A Dbtif_av.c1169 void btif_dispatch_sm_event(btif_av_sm_event_t event, void *p_data, int len) argument
1173 (char*)p_data, len, NULL);
H A Dbtif_config_util.cpp110 static inline void create_ele_name(int index, char* element, int len);
141 int len = 0; local
145 len++;
148 return len;
150 static inline bool hex2bytes(const char* str, int len, char* data) argument
152 if(len % 2)
154 error("cannot convert odd len hex str: %s, len:%d to binary", str, len);
157 for(int i = 0; i < len;
264 int len = trim_bin_str_value(&value_str); local
374 create_ele_name(int index, char* element, int len) argument
489 int len = strlen(addr); local
562 parse_hid_attribute(const char *str, int line_size, int len) argument
[all...]
H A Dbtif_core.c205 BTIF_TRACE_VERBOSE("btif_transfer_context event %d, len %d", event, param_len);
599 prop.len = sizeof(bt_bdaddr_t);
872 bt_status_t btif_dut_mode_send(uint16_t opcode, uint8_t *buf, uint8_t len) argument
880 BTM_VendorSpecificCommand(opcode, len, buf, btif_dut_mode_cback);
1016 BTIF_TRACE_EVENT("type: %d, len %d, 0x%x", p_prop->type,
1017 p_prop->len, p_prop->val);
1030 prop.len = sizeof(buf);
1041 prop.len = sizeof (bt_local_le_features_t);
1054 memcpy(prop.val, &local_le_features, prop.len);
1095 prop.len
[all...]
H A Dbtif_dm.c1085 prop.len = MAX_UUID_SIZE;
1211 properties[0].len = strlen((char *)p_search_data->disc_res.bd_name);
1399 prop.len = 0;
1403 prop.len = p_data->disc_res.num_uuids * MAX_UUID_SIZE;
1473 prop.len = MAX_UUID_SIZE;
1525 prop.len = sizeof(rec);
1574 prop.len = BD_NAME_LEN;
1885 prop.len = sizeof(buf);
1891 prop.len = sizeof (bt_local_le_features_t);
1904 memcpy(prop.val, &local_le_features, prop.len);
3102 btif_le_test_mode(uint16_t opcode, uint8_t *buf, uint8_t len) argument
[all...]
H A Dbtif_gatt_client.c192 uint16_t len; member in struct:__anon1068
282 && p_src_data->read.p_value->unformat.len > 0
286 GKI_getbuf(p_src_data->read.p_value->unformat.len);
291 p_src_data->read.p_value->unformat.len);
319 && p_data->read.p_value->unformat.len > 0
401 BTIF_TRACE_DEBUG("%s BLE device name=%s len=%d dev_type=%d", __FUNCTION__, bdname.name,
509 memcpy(data.value, p_data->notify.value, p_data->notify.len);
512 data.len = p_data->notify.len;
963 uint8_t len; local
1878 btif_gattc_write_char(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_gatt_id_t* char_id, int write_type, int len, int auth_req, char* p_value) argument
1895 btif_gattc_write_char_descr(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_gatt_id_t* char_id, btgatt_gatt_id_t* descr_id, int write_type, int len, int auth_req, char* p_value) argument
[all...]

Completed in 427 milliseconds

1234567891011>>