/system/bt/stack/gatt/ |
D | gatt_sr_hash.cc | 37 len += 4 + gatt_build_uuid_to_stream_len(attr_it->p_value->uuid); in calculate_database_info_size() 40 len += 8 + gatt_build_uuid_to_stream_len(attr_it->p_value->incl_handle.service_type); in calculate_database_info_size() 77 gatt_build_uuid_to_stream(&p_data, attr_it->p_value->uuid); in fill_database_info() 82 UINT16_TO_STREAM(p_data, attr_it->p_value->incl_handle.s_handle); in fill_database_info() 83 UINT16_TO_STREAM(p_data, attr_it->p_value->incl_handle.e_handle); in fill_database_info() 85 gatt_build_uuid_to_stream(&p_data, attr_it->p_value->incl_handle.service_type); in fill_database_info() 90 UINT8_TO_STREAM(p_data, attr_it->p_value->char_decl.property); in fill_database_info() 91 UINT16_TO_STREAM(p_data, attr_it->p_value->char_decl.char_val_handle); in fill_database_info() 107 UINT16_TO_STREAM(p_data, attr_it->p_value in fill_database_info() 108 ? attr_it->p_value->char_ext_prop in fill_database_info()
|
D | gatt_db.cc | 69 attr.p_value.reset(new tGATT_ATTR_VALUE); in gatts_init_service_db() 70 attr.p_value->uuid = service_uuid; in gatts_init_service_db() 78 return &p_db->attr_list[0].p_value->uuid; in gatts_get_service_uuid() 187 *p_len = gatt_build_uuid_to_stream_len(attr16.p_value->uuid); in read_attr_value() 190 gatt_build_uuid_to_stream(&p, attr16.p_value->uuid); in read_attr_value() 202 UINT8_TO_STREAM(p, attr16.p_value->char_decl.property); in read_attr_value() 203 UINT16_TO_STREAM(p, attr16.p_value->char_decl.char_val_handle); in read_attr_value() 216 tGATT_INCL_SRVC& incl_handle = attr16.p_value->incl_handle; in read_attr_value() 238 attr16.p_value ? attr16.p_value->char_ext_prop : 0x0000; in read_attr_value() 341 attr.p_value.reset(new tGATT_ATTR_VALUE); in gatts_add_included_service() [all …]
|
D | gatt_attr.cc | 80 tGATT_VALUE* p_value); 82 tGATT_VALUE* p_value); 209 tGATT_VALUE* p_value, bool is_long) { in read_attr_value() argument 210 uint8_t* p = p_value->value; in read_attr_value() 217 p_value->len = sizeof(gatt_cb.gatt_svr_supported_feat_mask); in read_attr_value() 225 return gatt_sr_read_cl_supp_feat(conn_id, p_value); in read_attr_value() 232 return gatt_sr_read_db_hash(conn_id, p_value); in read_attr_value() 915 tGATT_VALUE* p_value) { in gatt_sr_read_db_hash() argument 918 uint8_t* p = p_value->value; in gatt_sr_read_db_hash() 921 p_value->len = (uint16_t)db_hash.size(); in gatt_sr_read_db_hash() [all …]
|
D | gatt_int.h | 169 std::unique_ptr<tGATT_ATTR_VALUE> p_value; member 648 uint16_t handle, uint16_t offset, uint8_t* p_value, uint16_t* p_len,
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 122 tGATT_STATUS read_attr_value(uint16_t handle, tGATT_VALUE* p_value, in read_attr_value() argument 124 uint8_t* p = p_value->value; in read_attr_value() 125 uint16_t offset = p_value->offset; in read_attr_value() 138 p_value->len = GATT_MAX_ATTR_LEN; in read_attr_value() 140 p_value->len = (uint16_t)strlen((char*)p_dev_name); in read_attr_value() 142 if (offset > p_value->len) in read_attr_value() 145 p_value->len -= offset; in read_attr_value() 147 ARRAY_TO_STREAM(p, p_dev_name, p_value->len); in read_attr_value() 148 DVLOG(1) << "GATT_UUID_GAP_DEVICE_NAME len=" << +p_value->len; in read_attr_value() 154 p_value->len = 2; in read_attr_value() [all …]
|
/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/test/mock/ |
D | mock_stack_gap_ble.cc | 48 void GAP_BleAttrDBUpdate(uint16_t attr_uuid, tGAP_BLE_ATTR_VALUE* p_value) { in GAP_BleAttrDBUpdate() argument
|
D | mock_stack_srvc_dis.cc | 58 tGATT_VALUE* p_value, bool is_long, in dis_read_attr_value() argument
|
D | mock_stack_gatt_attr.cc | 67 tGATT_VALUE* p_value, bool is_long) { in read_attr_value() argument
|
/system/bt/stack/test/common/ |
D | mock_gap_gap_ble.cc | 47 void GAP_BleAttrDBUpdate(uint16_t attr_uuid, tGAP_BLE_ATTR_VALUE* p_value) { in GAP_BleAttrDBUpdate() argument
|
/system/bt/bta/gatt/ |
D | bta_gattc_api.cc | 493 p_buf->p_value = (uint8_t*)(p_buf + 1); in BTA_GATTC_WriteCharValue() 494 memcpy(p_buf->p_value, value.data(), value.size()); in BTA_GATTC_WriteCharValue() 529 p_buf->p_value = (uint8_t*)(p_buf + 1); in BTA_GATTC_WriteCharDescr() 531 memcpy(p_buf->p_value, value.data(), value.size()); in BTA_GATTC_WriteCharDescr() 570 p_buf->p_value = (uint8_t*)(p_buf + 1); in BTA_GATTC_PrepareWrite() 571 memcpy(p_buf->p_value, value.data(), value.size()); in BTA_GATTC_PrepareWrite()
|
D | bta_gattc_int.h | 121 uint8_t* p_value; member
|
D | bta_gattc_act.cc | 841 if (p_data->api_write.p_value) in bta_gattc_write() 842 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 | 245 tGAP_BLE_ATTR_VALUE* p_value);
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 119 uint8_t* p_value; member
|
/system/bt/stack/test/gatt/ |
D | gatt_sr_test.cc | 116 uint16_t handle, uint16_t offset, uint8_t* p_value, uint16_t* p_len, in gatts_read_attr_value_by_handle() argument
|