/system/bt/stack/gap/ |
D | gap_ble.cc | 117 tGATT_STATUS read_attr_value(uint16_t handle, tGATT_VALUE* p_value, in read_attr_value() argument 119 uint8_t* p = p_value->value; in read_attr_value() 120 uint16_t offset = p_value->offset; in read_attr_value() 133 p_value->len = GATT_MAX_ATTR_LEN; in read_attr_value() 135 p_value->len = (uint16_t)strlen((char*)p_dev_name); in read_attr_value() 137 if (offset > p_value->len) in read_attr_value() 140 p_value->len -= offset; in read_attr_value() 142 ARRAY_TO_STREAM(p, p_dev_name, p_value->len); in read_attr_value() 143 DVLOG(1) << "GATT_UUID_GAP_DEVICE_NAME len=" << +p_value->len; in read_attr_value() 149 p_value->len = 2; in read_attr_value() [all …]
|
/system/bt/stack/gatt/ |
D | gatt_db.cc | 67 attr.p_value.reset((tGATT_ATTR_VALUE*)(new Uuid)); in gatts_init_service_db() 68 attr.p_value->uuid = service_uuid; in gatts_init_service_db() 76 return &p_db->attr_list[0].p_value->uuid; in gatts_get_service_uuid() 185 *p_len = gatt_build_uuid_to_stream_len(attr16.p_value->uuid); in read_attr_value() 188 gatt_build_uuid_to_stream(&p, attr16.p_value->uuid); in read_attr_value() 200 UINT8_TO_STREAM(p, attr16.p_value->char_decl.property); in read_attr_value() 201 UINT16_TO_STREAM(p, attr16.p_value->char_decl.char_val_handle); in read_attr_value() 214 tGATT_INCL_SRVC& incl_handle = attr16.p_value->incl_handle; in read_attr_value() 343 attr.p_value.reset((tGATT_ATTR_VALUE*)(new tGATT_INCL_SRVC)); in gatts_add_included_service() 344 attr.p_value->incl_handle.s_handle = s_handle; in gatts_add_included_service() [all …]
|
D | gatt_int.h | 170 std::unique_ptr<tGATT_ATTR_VALUE> p_value; member 566 uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu,
|
/system/bt/stack/srvc/ |
D | srvc_dis.cc | 115 tGATT_VALUE* p_value, bool is_long, in dis_read_attr_value() argument 118 uint8_t *p = p_value->value, i, *pp; in dis_read_attr_value() 119 uint16_t offset = p_value->offset; in dis_read_attr_value() 145 p_value->len = GATT_MAX_ATTR_LEN; in dis_read_attr_value() 147 p_value->len = (uint16_t)strlen((char*)pp); in dis_read_attr_value() 149 p_value->len = 0; in dis_read_attr_value() 151 if (offset > p_value->len) { in dis_read_attr_value() 155 p_value->len -= offset; in dis_read_attr_value() 157 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_read_attr_value() 159 << +p_value->len; in dis_read_attr_value() [all …]
|
D | srvc_dis_int.h | 58 tGATT_VALUE* p_value, bool is_long,
|
D | srvc_eng_int.h | 68 uint16_t len, uint8_t* p_value);
|
D | srvc_eng.cc | 425 uint8_t* p_value) { in srvc_sr_notify() argument 429 GATTS_HandleValueNotification(conn_id, handle, len, p_value); in srvc_sr_notify()
|
/system/nfc/src/nfc/llcp/ |
D | llcp_sdp.cc | 386 uint8_t type, length, tid, sap, *p_value; in llcp_sdp_proc_snl() local 409 p_value = p; in llcp_sdp_proc_snl() 410 BE_STREAM_TO_UINT8(tid, p_value); in llcp_sdp_proc_snl() 411 sap = llcp_sdp_get_sap_by_name((char*)p_value, (uint8_t)(length - 1)); in llcp_sdp_proc_snl() 418 "%s: In dta mode sap == 0x00 p_value = %s", __func__, p_value); in llcp_sdp_proc_snl() 419 if ((length - 1) == strlen((const char*)p_value)) { in llcp_sdp_proc_snl() 446 p_value = p; in llcp_sdp_proc_snl() 447 BE_STREAM_TO_UINT8(tid, p_value); in llcp_sdp_proc_snl() 448 BE_STREAM_TO_UINT8(sap, p_value); in llcp_sdp_proc_snl()
|
/system/update_engine/update_manager/ |
D | fake_variable.h | 42 void reset(const T* p_value) { ptr_.reset(p_value); } in reset() argument
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_main.cc | 216 uint8_t type, len, *p_value, *p_stored, max_len; in nfa_dm_check_set_config() local 237 p_value = p_tlv_list + xx + 2; in nfa_dm_check_set_config() 371 } else if (memcmp(p_value, p_stored, len)) { in nfa_dm_check_set_config() 381 if (memcmp(p_value, p_stored, len)) { in nfa_dm_check_set_config() 395 memcpy(p_stored, p_value, len); in nfa_dm_check_set_config()
|
/system/bt/bta/gatt/ |
D | bta_gattc_api.cc | 486 p_buf->p_value = (uint8_t*)(p_buf + 1); in BTA_GATTC_WriteCharValue() 487 memcpy(p_buf->p_value, value.data(), value.size()); in BTA_GATTC_WriteCharValue() 522 p_buf->p_value = (uint8_t*)(p_buf + 1); in BTA_GATTC_WriteCharDescr() 524 memcpy(p_buf->p_value, value.data(), value.size()); in BTA_GATTC_WriteCharDescr() 563 p_buf->p_value = (uint8_t*)(p_buf + 1); in BTA_GATTC_PrepareWrite() 564 memcpy(p_buf->p_value, value.data(), value.size()); in BTA_GATTC_PrepareWrite()
|
D | bta_gattc_int.h | 124 uint8_t* p_value; member
|
D | bta_gattc_act.cc | 802 if (p_data->api_write.p_value) in bta_gattc_write() 803 memcpy(attr.value, p_data->api_write.p_value, p_data->api_write.len); in bta_gattc_write()
|
/system/bt/stack/include/ |
D | gap_api.h | 349 tGAP_BLE_ATTR_VALUE* p_value);
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 89 uint8_t* p_value; member
|
/system/bt/stack/test/gatt/ |
D | gatt_sr_test.cc | 102 uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu, in gatts_read_attr_value_by_handle() argument
|