Searched refs:p_value (Results 1 - 25 of 29) sorted by relevance

12

/external/bluetooth/bluedroid/stack/srvc/
H A Dsrvc_battery_int.h72 extern UINT8 battery_s_write_attr_value(UINT8 clcb_idx, tGATT_WRITE_REQ * p_value,
74 extern UINT8 battery_s_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long, tGATT_STATUS* p_status);
H A Dsrvc_dis.c85 UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, argument
89 UINT8 *p = p_value->value, i, *pp;
90 UINT16 offset = p_value->offset;
119 p_value->len = GATT_MAX_ATTR_LEN;
121 p_value->len = (UINT16)strlen ((char *)pp);
124 p_value->len = 0;
126 if (offset > p_value->len)
133 p_value->len -= offset;
135 ARRAY_TO_STREAM(p, pp, p_value->len);
136 GATT_TRACE_EVENT1("GATT_UUID_MANU_NAME len=0x%04x", p_value
[all...]
H A Dsrvc_dis_int.h71 extern UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value,
H A Dsrvc_eng_int.h82 extern void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value);
H A Dsrvc_battery.c70 UINT8 battery_s_write_attr_value(UINT8 clcb_idx, tGATT_WRITE_REQ * p_value, argument
73 UINT8 *p = p_value->value, i;
74 UINT16 handle = p_value->handle;
93 cfg.need_rsp = p_value->need_rsp;
112 UINT8 battery_s_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long, tGATT_STATUS* p_status) argument
H A Dsrvc_eng.c451 void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value) argument
457 GATTS_HandleValueNotification( conn_id, handle, len, p_value);
/external/libnfc-nci/src/include/
H A Dconfig.h26 int GetStrValue(const char* name, char* p_value, unsigned long len);
27 int GetNumValue(const char* name, void* p_value, unsigned long len);
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_gatt_util.c235 if (( p_src->status == BTA_GATT_OK ) &&(p_src->p_value != NULL))
237 ALOGI("%s unformat.len = %d ", __FUNCTION__, p_src->p_value->unformat.len);
238 p_dest->value.len = p_src->p_value->unformat.len;
239 if ( p_src->p_value->unformat.len > 0 && p_src->p_value->unformat.p_value != NULL )
241 memcpy(p_dest->value.value, p_src->p_value->unformat.p_value,
242 p_src->p_value->unformat.len);
244 len += p_src->p_value
[all...]
H A Dbtif_gatt_client.c179 if (p_src_data->read.p_value != NULL)
181 p_dest_data->read.p_value = GKI_getbuf(sizeof(tBTA_GATT_READ_VAL));
183 if (p_dest_data->read.p_value != NULL)
185 memcpy(p_dest_data->read.p_value, p_src_data->read.p_value,
190 && p_src_data->read.p_value->unformat.len > 0
191 && p_src_data->read.p_value->unformat.p_value != NULL)
193 p_dest_data->read.p_value->unformat.p_value
1220 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
1237 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...]
H A Dbtif_gatt_server.c598 int len, int confirm, char* p_value)
607 memcpy(btif_cb.value, p_value, len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len);
597 btif_gatts_send_indication(int server_if, int attribute_handle, int conn_id, int len, int confirm, char* p_value) argument
/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gattc_api.c611 tBTA_GATTC_ATTR_ID *p_value; local
628 p_buf->p_id_list = p_value = (tBTA_GATTC_ATTR_ID *)(p_buf + 1);
630 for (i = 0; i < p_buf->num_attr; i ++, p_value ++)
632 memcpy(p_value, &p_read_multi->id_list[i], sizeof(tBTA_GATTC_ATTR_ID));
651 ** p_value - the value to be written.
660 UINT8 *p_value,
679 if (p_value && len > 0)
681 p_buf->p_value = (UINT8 *)(p_buf + 1);
682 memcpy(p_buf->p_value, p_value, le
656 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
757 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_utils.c511 if (p_buf->len && p_buf->p_value)
513 p_buf->p_value = (UINT8 *)(p_buf->p_descr_type + 1);
514 memcpy(p_buf->p_value, p_data->api_write.p_value,
518 else if (p_buf->len && p_buf->p_value)
520 p_buf->p_value = (UINT8 *)(p_buf + 1);
521 memcpy(p_buf->p_value, p_data->api_write.p_value,
759 tBTA_GATT_READ_VAL *p_value)
775 &p_value
756 bta_gattc_pack_read_cb_data(tBTA_GATTC_SERV *p_srcb, tBT_UUID *p_descr_uuid, tGATT_VALUE *p_attr, tBTA_GATT_READ_VAL *p_value) argument
[all...]
H A Dbta_gattc_int.h143 UINT8 *p_value; member in struct:__anon538
510 extern tBTA_GATT_STATUS bta_gattc_pack_read_cb_data(tBTA_GATTC_SERV *p_srcb, tBT_UUID *p_descr_uuid, tGATT_VALUE *p_attr, tBTA_GATT_READ_VAL *p_value);
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_ble.c278 tGATT_STATUS gap_read_attr_value (UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long) argument
281 UINT8 *p = p_value->value, i;
282 UINT16 offset = p_value->offset;
298 p_value->len = GATT_MAX_ATTR_LEN;
300 p_value->len = (UINT16)strlen ((char *)p_dev_name);
302 if (offset > p_value->len)
306 p_value->len -= offset;
308 ARRAY_TO_STREAM(p, p_dev_name, p_value->len);
309 GAP_TRACE_EVENT1("GATT_UUID_GAP_DEVICE_NAME len=0x%04x", p_value->len);
315 p_value
534 GAP_BleAttrDBUpdate(UINT16 attr_uuid, tGAP_BLE_ATTR_VALUE *p_value) argument
[all...]
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_db.c103 return &((tGATT_ATTR16 *)p_db->p_attr_list)->p_value->uuid;
194 ** p_value: output parameter to carry out the attribute value.
244 len = p_attr16->p_value->uuid.len;
245 if (mtu >= p_attr16->p_value->uuid.len)
247 gatt_build_uuid_to_stream(&p, p_attr16->p_value->uuid);
257 UINT8_TO_STREAM(p, p_attr16->p_value->char_decl.property);
258 UINT16_TO_STREAM(p, p_attr16->p_value->char_decl.char_val_handle);
274 len = (p_attr16->p_value->incl_handle.service_type.len == 2) ? 6 : 4;
277 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.s_handle);
278 UINT16_TO_STREAM(p, p_attr16->p_value
600 gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, UINT16 handle, UINT16 offset, UINT8 *p_value, UINT16 *p_len, UINT16 mtu, tGATT_SEC_FLAG sec_flag, UINT8 key_size, UINT32 trans_id) argument
[all...]
H A Dgatt_int.h178 tGATT_ATTR_VALUE *p_value; member in struct:__anon1156
191 tGATT_ATTR_VALUE *p_value; member in struct:__anon1157
674 UINT8 *p_value, UINT16 *p_len, UINT16 mtu,tGATT_SEC_FLAG sec_flag,UINT8 key_size,UINT32 trans_id);
/external/libnfc-nci/src/nfc/llcp/
H A Dllcp_sdp.c397 UINT8 type, length, tid, sap, *p_value; local
418 p_value = p;
419 BE_STREAM_TO_UINT8 (tid, p_value);
420 sap = llcp_sdp_get_sap_by_name ((char*) p_value, (UINT8) (length - 1));
433 p_value = p;
434 BE_STREAM_TO_UINT8 (tid, p_value);
435 BE_STREAM_TO_UINT8 (sap, p_value);
/external/libnfc-nci/src/nfa/dm/
H A Dnfa_dm_main.c227 UINT8 type, len, *p_value, *p_stored, max_len; local
247 p_value = p_tlv_list + xx + 2;
381 else if (memcmp (p_value, p_stored, len))
388 if (memcmp (p_value, p_stored, len))
400 memcpy (p_stored, p_value, len);
/external/bluetooth/bluedroid/main/
H A Dbte_conf.c194 char *p_value; local
216 p_value = strtok(NULL, CONF_VALUES_DELIMITERS);
218 if (NULL == p_value)
233 p_entry->p_action(p_name, p_value);
243 bte_trace_conf(p_name, p_value);
/external/bluetooth/bluedroid/bta/hh/
H A Dbta_hh_le.c709 p_data->p_value && p_data->p_value->unformat.len == 2)
711 pp = p_data->p_value->unformat.p_value;
749 p_data->p_value && p_data->p_value->unformat.len == 2)
751 pp = p_data->p_value->unformat.p_value;
900 value.p_value = buf;
1753 pp = p_data->p_value
2430 UINT8 *p_value, rpt_id; local
[all...]
/external/bluetooth/bluedroid/bta/include/
H A Dbta_gatt_api.h157 UINT8 *p_value; member in struct:__anon715
284 tBTA_GATT_READ_VAL *p_value; member in struct:__anon728
869 ** p_value - the value to be written.
878 UINT8 *p_value,
890 ** p_value - the value to be written.
960 ** p_value - the value to be written.
969 UINT8 *p_value,
H A Dbta_jv_api.h879 UINT8 *p_value, INT32 value_size);
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_int.h382 UINT8 *p_value; member in struct:__anon881
H A Dbta_jv_api.c897 UINT8 *p_value, INT32 value_size)
908 p_msg->p_value = p_value;
896 BTA_JvAddAttribute(UINT32 handle, UINT16 attr_id, UINT8 *p_value, INT32 value_size) argument
/external/bluetooth/bluedroid/stack/include/
H A Dgap_api.h743 GAP_API extern void GAP_BleAttrDBUpdate(UINT16 attr_uuid, tGAP_BLE_ATTR_VALUE *p_value);

Completed in 1430 milliseconds

12