/system/bt/stack/srvc/ |
H A D | srvc_battery_int.h | 72 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 D | srvc_dis.c | 114 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 D | srvc_dis_int.h | 68 extern UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value,
|
H A D | srvc_eng_int.h | 82 extern void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value);
|
H A D | srvc_battery.c | 70 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 D | srvc_eng.c | 468 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 D | fake_variable.h | 38 // 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 D | btif_gatt_util.c | 219 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 D | btif_gatt_client.c | 322 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 D | btif_gatt_server.c | 647 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 D | bta_gattc_api.c | 417 ** 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 D | bta_gattc_act.c | 1168 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 D | bta_gattc_int.h | 139 UINT8 *p_value; member in struct:__anon156
|
/system/bt/stack/gatt/ |
H A D | gatt_db.c | 105 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 D | gatt_int.h | 179 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 D | gap_ble.c | 215 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 D | bta_hh_le.c | 84 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 D | bta_gatt_api.h | 187 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 D | gap_api.h | 329 extern void GAP_BleAttrDBUpdate(UINT16 attr_uuid, tGAP_BLE_ATTR_VALUE *p_value);
|
/system/bt/bta/jv/ |
H A D | bta_jv_int.h | 325 UINT8 *p_value; member in struct:__anon519
|