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

/system/bt/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.c114 UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, argument
118 UINT8 *p = p_value->value, i, *pp;
119 UINT16 offset = p_value->offset;
149 p_value->len = GATT_MAX_ATTR_LEN;
151 p_value->len = (UINT16)strlen ((char *)pp);
154 p_value->len = 0;
156 if (offset > p_value->len)
163 p_value->len -= offset;
165 ARRAY_TO_STREAM(p, pp, p_value->len);
166 GATT_TRACE_EVENT("GATT_UUID_MANU_NAME len=0x%04x", p_value
[all...]
H A Dsrvc_dis_int.h68 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
118 UNUSED(p_value);
H A Dsrvc_eng.c468 void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value) argument
474 GATTS_HandleValueNotification( conn_id, handle, len, p_value);
/system/update_engine/update_manager/
H A Dfake_variable.h38 // Sets the next value of this variable to the passed |p_value| pointer. Once
42 void reset(const T* p_value) { argument
43 ptr_.reset(p_value);
/system/bt/btif/src/
H A Dbtif_gatt_util.c219 if (( p_src->status == BTA_GATT_OK ) &&(p_src->p_value != NULL))
221 LOG_INFO(LOG_TAG, "%s len = %d ", __FUNCTION__, p_src->p_value->len);
222 p_dest->value.len = p_src->p_value->len;
223 if ( p_src->p_value->len > 0 && p_src->p_value->p_value != NULL )
224 memcpy(p_dest->value.value, p_src->p_value->p_value,
225 p_src->p_value->len);
227 len += p_src->p_value
[all...]
H A Dbtif_gatt_client.c322 if (p_src_data->read.p_value != NULL)
324 p_dest_data->read.p_value = osi_malloc(sizeof(tBTA_GATT_UNFMT));
326 memcpy(p_dest_data->read.p_value, p_src_data->read.p_value,
330 if (p_src_data->read.p_value->len > 0 &&
331 p_src_data->read.p_value->p_value != NULL) {
332 p_dest_data->read.p_value->p_value =
333 osi_malloc(p_src_data->read.p_value
1791 btif_gattc_write_char(int conn_id, uint16_t handle, int write_type, int len, int auth_req, char* p_value) argument
1806 btif_gattc_write_char_descr(int conn_id, uint16_t handle, int write_type, int len, int auth_req, char* p_value) argument
[all...]
H A Dbtif_gatt_server.c647 int len, int confirm, char* p_value)
656 memcpy(btif_cb.value, p_value, len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len);
646 btif_gatts_send_indication(int server_if, int attribute_handle, int conn_id, int len, int confirm, char* p_value) argument
/system/bt/bta/gatt/
H A Dbta_gattc_api.c417 ** p_value - the value to be written.
426 UINT8 *p_value,
440 if (p_value && len > 0) {
441 p_buf->p_value = (UINT8 *)(p_buf + 1);
442 memcpy(p_buf->p_value, p_value, len);
457 ** p_value - the value to be written.
482 p_buf->p_value = (UINT8 *)(p_buf + 1);
485 memcpy(p_buf->p_value, p_data->p_value, p_dat
422 BTA_GATTC_WriteCharValue( UINT16 conn_id, UINT16 handle, tBTA_GATTC_WRITE_TYPE write_type, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
506 BTA_GATTC_PrepareWrite(UINT16 conn_id, UINT16 handle, UINT16 offset, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
[all...]
H A Dbta_gattc_act.c1168 if (p_data->api_write.p_value)
1169 memcpy(attr.value, p_data->api_write.p_value, p_data->api_write.len);
1258 read_value.p_value = p_data->p_cmpl->att_value.value;
1259 cb_data.read.p_value = &read_value;
H A Dbta_gattc_int.h139 UINT8 *p_value; member in struct:__anon156
/system/bt/stack/gatt/
H A Dgatt_db.c105 return &((tGATT_ATTR16 *)p_db->p_attr_list)->p_value->uuid;
197 ** p_value: output parameter to carry out the attribute value.
240 len = p_attr16->p_value->uuid.len;
241 if (mtu >= p_attr16->p_value->uuid.len)
243 gatt_build_uuid_to_stream(&p, p_attr16->p_value->uuid);
253 UINT8_TO_STREAM(p, p_attr16->p_value->char_decl.property);
254 UINT16_TO_STREAM(p, p_attr16->p_value->char_decl.char_val_handle);
276 if (p_attr16->p_value->incl_handle.service_type.len == LEN_UUID_16)
283 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.s_handle);
284 UINT16_TO_STREAM(p, p_attr16->p_value
627 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.h179 tGATT_ATTR_VALUE *p_value; member in struct:__anon907
192 tGATT_ATTR_VALUE *p_value; member in struct:__anon908
206 tGATT_ATTR_VALUE *p_value; member in struct:__anon909
684 UINT8 *p_value, UINT16 *p_len, UINT16 mtu,tGATT_SEC_FLAG sec_flag,UINT8 key_size,UINT32 trans_id);
/system/bt/stack/gap/
H A Dgap_ble.c215 tGATT_STATUS gap_read_attr_value (UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long) argument
218 UINT8 *p = p_value->value, i;
219 UINT16 offset = p_value->offset;
235 p_value->len = GATT_MAX_ATTR_LEN;
237 p_value->len = (UINT16)strlen ((char *)p_dev_name);
239 if (offset > p_value->len)
243 p_value->len -= offset;
245 ARRAY_TO_STREAM(p, p_dev_name, p_value->len);
246 GAP_TRACE_EVENT("GATT_UUID_GAP_DEVICE_NAME len=0x%04x", p_value->len);
252 p_value
461 GAP_BleAttrDBUpdate(UINT16 attr_uuid, tGAP_BLE_ATTR_VALUE *p_value) argument
[all...]
/system/bt/bta/hh/
H A Dbta_hh_le.c84 UINT8 p_value[GATT_MAX_ATTR_LEN]; member in struct:__anon227
178 op->p_value, BTA_GATT_AUTH_REQ_NONE);
184 value.p_value = op->p_value;
208 UINT8 *p_value, tBTA_GATTC_WRITE_TYPE write_type) {
219 memcpy(op->p_value, p_value, len);
699 p_data->p_value && p_data->p_value->len == 2)
701 UINT8 *pp = p_data->p_value
207 gatt_queue_write_op(UINT8 op_type, UINT16 conn_id, UINT16 handle, UINT16 len, UINT8 *p_value, tBTA_GATTC_WRITE_TYPE write_type) argument
2346 UINT8 *p_value, rpt_id; local
[all...]
/system/bt/bta/include/
H A Dbta_gatt_api.h187 UINT8 *p_value; member in struct:__anon349
258 tBTA_GATT_UNFMT *p_value; member in struct:__anon354
809 ** p_value - the value to be written.
818 UINT8 *p_value,
830 ** p_value - the value to be written.
899 ** p_value - the value to be written.
908 UINT8 *p_value,
/system/bt/stack/include/
H A Dgap_api.h329 extern void GAP_BleAttrDBUpdate(UINT16 attr_uuid, tGAP_BLE_ATTR_VALUE *p_value);
/system/bt/bta/jv/
H A Dbta_jv_int.h325 UINT8 *p_value; member in struct:__anon519

Completed in 314 milliseconds