/packages/modules/Bluetooth/system/stack/hcic/ |
D | hcicmds.cc | 484 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_disconnect() local 489 UINT16_TO_STREAM(pp, HCI_DISCONNECT); in btsnd_hcic_disconnect() 490 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_DISCONNECT); in btsnd_hcic_disconnect() 491 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_disconnect() 492 UINT8_TO_STREAM(pp, reason); in btsnd_hcic_disconnect() 499 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_add_SCO_conn() local 504 UINT16_TO_STREAM(pp, HCI_ADD_SCO_CONNECTION); in btsnd_hcic_add_SCO_conn() 505 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_ADD_SCO_CONN); in btsnd_hcic_add_SCO_conn() 507 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_add_SCO_conn() 508 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_add_SCO_conn() [all …]
|
D | hciblecmds.cc | 122 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_write_adv_params() local 127 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params() 128 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params() 130 UINT16_TO_STREAM(pp, adv_int_min); in btsnd_hcic_ble_write_adv_params() 131 UINT16_TO_STREAM(pp, adv_int_max); in btsnd_hcic_ble_write_adv_params() 132 UINT8_TO_STREAM(pp, adv_type); in btsnd_hcic_ble_write_adv_params() 133 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_write_adv_params() 134 UINT8_TO_STREAM(pp, addr_type_dir); in btsnd_hcic_ble_write_adv_params() 135 BDADDR_TO_STREAM(pp, direct_bda); in btsnd_hcic_ble_write_adv_params() 136 UINT8_TO_STREAM(pp, channel_map); in btsnd_hcic_ble_write_adv_params() [all …]
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_ble.cc | 144 uint8_t* pp = data; in read_phy_cb() local 145 STREAM_TO_UINT8(status, pp); in read_phy_cb() 146 STREAM_TO_UINT16(handle, pp); in read_phy_cb() 148 STREAM_TO_UINT8(tx_phy, pp); in read_phy_cb() 149 STREAM_TO_UINT8(rx_phy, pp); in read_phy_cb() 188 uint8_t* pp = data; in BTM_BleReadPhy() local 189 UINT16_TO_STREAM(pp, handle); in BTM_BleReadPhy() 231 uint8_t* pp = data; in BTM_BleSetPhy() local 232 UINT16_TO_STREAM(pp, handle); in BTM_BleSetPhy() 233 UINT8_TO_STREAM(pp, all_phys); in BTM_BleSetPhy() [all …]
|
D | ble_scanner_hci_interface.cc | 52 uint8_t* pp = data; in status_handle_callback() local 53 STREAM_TO_UINT8(status, pp); in status_handle_callback() 58 STREAM_TO_UINT16(handle, pp); in status_handle_callback()
|
D | btm_ble_sec.cc | 1736 uint8_t* pp; in BTM_BleDataSignature() local 1739 pp = p_buf; in BTM_BleDataSignature() 1743 pp = (p_buf + len); in BTM_BleDataSignature() 1746 UINT32_TO_STREAM(pp, p_rec->sec_rec.ble_keys.local_counter); in BTM_BleDataSignature()
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_ctp.cc | 141 auto* pp = value.data(); in ToCharacteristicValue() local 146 pp = value.data(); in ToCharacteristicValue() 148 pp, static_cast<std::underlying_type_t<PresetCtpOpcode>>(opcode)); in ToCharacteristicValue() 149 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue() 150 UINT8_TO_STREAM(pp, num_of_indices); in ToCharacteristicValue() 155 pp = value.data(); in ToCharacteristicValue() 157 pp, static_cast<std::underlying_type_t<PresetCtpOpcode>>(opcode)); in ToCharacteristicValue() 158 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue() 166 pp = value.data(); in ToCharacteristicValue() 168 pp, static_cast<std::underlying_type_t<PresetCtpOpcode>>(opcode)); in ToCharacteristicValue() [all …]
|
D | has_preset.cc | 51 auto pp = value.data() + initial_offset; in ToCharacteristicValue() local 53 UINT8_TO_STREAM(pp, index_); in ToCharacteristicValue() 54 UINT8_TO_STREAM(pp, properties_); in ToCharacteristicValue() 55 ARRAY_TO_STREAM(pp, name_.c_str(), (int)name_.size()); in ToCharacteristicValue()
|
D | has_types.h | 65 HasGattOpContext(void* pp) { in HasGattOpContext() argument 66 ptr = pp; in HasGattOpContext()
|
D | has_client_test.cc | 311 auto pp = value.data(); in set_sample_database() local 324 STREAM_TO_UINT8(op, pp) in set_sample_database() 345 STREAM_TO_UINT8(index, pp); in set_sample_database() 346 STREAM_TO_UINT8(num_of_indices, pp); in set_sample_database() 364 STREAM_TO_UINT8(index, pp); in set_sample_database() 404 STREAM_TO_UINT8(index, pp); in set_sample_database() 610 STREAM_TO_UINT8(index, pp); in set_sample_database() 612 auto name = std::string(pp, pp + len); in set_sample_database()
|
/packages/modules/Bluetooth/system/stack/srvc/ |
D | srvc_dis.cc | 125 uint8_t *p = p_value->value, i, *pp; in dis_read_attr_value() local 148 pp = dis_cb.dis_value in dis_read_attr_value() 150 if (pp != NULL) { in dis_read_attr_value() 151 if (strlen((char*)pp) > GATT_MAX_ATTR_LEN) in dis_read_attr_value() 154 p_value->len = (uint16_t)strlen((char*)pp); in dis_read_attr_value() 163 pp += offset; in dis_read_attr_value() 164 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_read_attr_value() 264 uint8_t *pp = NULL, *p_str; in dis_c_cmpl_cback() local 280 pp = p_data->att_value.value; in dis_c_cmpl_cback() 288 STREAM_TO_UINT64(p_clcb->dis_value.system_id, pp); in dis_c_cmpl_cback() [all …]
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
D | MsrpParser.java | 227 int pp = 0; in readUnknownChunk() local 239 if (i == endOfChunkPattern[pp]) { in readUnknownChunk() 240 pp++; in readUnknownChunk() 242 pp = 1; in readUnknownChunk() 244 pp = 0; in readUnknownChunk() 249 if (pp == endOfChunkPattern.length) { in readUnknownChunk() 255 if (pp > 0) { in readUnknownChunk() 256 outputStream.write(bufferArray, 0, bufferArray.length - pp); in readUnknownChunk() 257 System.arraycopy(endOfChunkPattern, 0, bufferArray, 0, pp); in readUnknownChunk() 258 buffer.position(pp); in readUnknownChunk()
|
/packages/modules/Bluetooth/system/test/headless/ |
D | get_options.cc | 76 char* pp = optarg; in ParseValue() local 80 string_list.push_back(std::string(pp)); in ParseValue() 81 pp = p + 1; in ParseValue() 85 if (pp != p) string_list.push_back(std::string(pp)); in ParseValue()
|
/packages/modules/Bluetooth/system/stack/gap/ |
D | gap_ble.cc | 333 uint8_t* pp; in client_cmpl_cback() local 347 pp = p_data->att_value.value; in client_cmpl_cback() 351 STREAM_TO_UINT16(min, pp); in client_cmpl_cback() 352 STREAM_TO_UINT16(max, pp); in client_cmpl_cback() 353 STREAM_TO_UINT16(latency, pp); in client_cmpl_cback() 354 STREAM_TO_UINT16(tout, pp); in client_cmpl_cback() 362 len = (uint16_t)strlen((char*)pp); in client_cmpl_cback() 364 cl_op_cmpl(*p_clcb, true, len, pp); in client_cmpl_cback() 368 cl_op_cmpl(*p_clcb, true, 1, pp); in client_cmpl_cback()
|
/packages/modules/Bluetooth/system/gd/crypto_toolbox/ |
D | aes_cmac.cc | 149 uint8_t* pp = p.data(); in cmac_generate_subkey() local 152 if ((pp[kOctet16Length - 1] & 0x80) != 0) { in cmac_generate_subkey() 154 leftshift_onebit(pp, k1.data()); in cmac_generate_subkey() 157 leftshift_onebit(pp, k1.data()); in cmac_generate_subkey()
|
/packages/modules/Bluetooth/system/bta/hh/ |
D | bta_hh_le.cc | 1272 uint8_t* pp = value; in read_hid_info_cb() local 1274 STREAM_TO_UINT16(p_dev_cb->dscp_info.version, pp); in read_hid_info_cb() 1275 STREAM_TO_UINT8(p_dev_cb->dscp_info.ctry_code, pp); in read_hid_info_cb() 1276 STREAM_TO_UINT8(p_dev_cb->dscp_info.flag, pp); in read_hid_info_cb() 1288 uint8_t* pp = desc; in bta_hh_le_save_report_map() local 1289 STREAM_TO_ARRAY(p_srvc->rpt_map, pp, len); in bta_hh_le_save_report_map() 1323 uint8_t* pp = value; in read_ext_rpt_ref_desc_cb() local 1325 STREAM_TO_UINT16(p_dev_cb->hid_srvc.ext_rpt_ref, pp); in read_ext_rpt_ref_desc_cb() 1366 uint8_t* pp = value; in read_report_ref_desc_cb() local 1369 STREAM_TO_UINT8(rpt_id, pp); in read_report_ref_desc_cb() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | DirectoryListBot.java | 390 MotionEvent.PointerProperties[] pp = {new MotionEvent.PointerProperties()}; in getTestMotionEvent() local 391 pp[0].clear(); in getTestMotionEvent() 392 pp[0].id = 0; in getTestMotionEvent() 393 pp[0].toolType = toolType; in getTestMotionEvent() 407 pp, in getTestMotionEvent()
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | broadcaster.cc | 266 auto pp = stream_context_vec.data(); in UpdateStreamingContextTypeOnAllSubgroups() local 267 UINT16_TO_STREAM(pp, contexts.value()); in UpdateStreamingContextTypeOnAllSubgroups() 370 auto pp = stream_context_vec.value().data(); in UpdateMetadata() local 375 UINT16_TO_STREAM(pp, context_type.value()); in UpdateMetadata() 383 auto pp = stream_context_vec.value().data(); in UpdateMetadata() local 388 STREAM_TO_UINT16(context_type.value_ref(), pp); in UpdateMetadata() 543 auto pp = stream_context_vec.value().data(); in CreateAudioBroadcast() local 544 UINT16_TO_STREAM(pp, context_type.value()); in CreateAudioBroadcast() 559 auto pp = stream_context_vec.value().data(); in CreateAudioBroadcast() local 560 STREAM_TO_UINT16(context_type.value_ref(), pp); in CreateAudioBroadcast()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_utils.cc | 2254 uint8_t* pp = command; in l2cu_set_acl_priority_latency_brcm() local 2255 UINT16_TO_STREAM(pp, p_lcb->Handle()); in l2cu_set_acl_priority_latency_brcm() 2256 UINT8_TO_STREAM(pp, vs_param); in l2cu_set_acl_priority_latency_brcm() 2295 uint8_t* pp = command; in l2cu_set_acl_priority_latency_syna() local 2296 UINT16_TO_STREAM(pp, p_lcb->Handle()); in l2cu_set_acl_priority_latency_syna() 2297 UINT8_TO_STREAM(pp, vs_param); in l2cu_set_acl_priority_latency_syna() 2327 uint8_t* pp = command; in l2cu_set_acl_priority_unisoc() local 2328 UINT16_TO_STREAM(pp, p_lcb->Handle()); in l2cu_set_acl_priority_unisoc() 2329 UINT8_TO_STREAM(pp, vs_param); in l2cu_set_acl_priority_unisoc() 2412 uint8_t* pp = command; in l2cu_set_acl_latency_brcm() local [all …]
|
/packages/modules/Bluetooth/system/bta/vc/ |
D | vc.cc | 440 uint8_t* pp = value; in OnVolumeControlStateReadOrNotified() local 441 STREAM_TO_UINT8(vol, pp); in OnVolumeControlStateReadOrNotified() 442 STREAM_TO_UINT8(mute, pp); in OnVolumeControlStateReadOrNotified() 443 STREAM_TO_UINT8(device->change_counter, pp); in OnVolumeControlStateReadOrNotified() 518 uint8_t* pp = value; in OnExtAudioOutStateChanged() local 519 STREAM_TO_UINT16(offset->offset, pp); in OnExtAudioOutStateChanged() 520 STREAM_TO_UINT8(offset->change_counter, pp); in OnExtAudioOutStateChanged() 543 uint8_t* pp = value; in OnExtAudioOutLocationChanged() local 544 STREAM_TO_UINT32(offset->location, pp); in OnExtAudioOutLocationChanged()
|
/packages/modules/Bluetooth/system/stack/btu/ |
D | btu_hcif.cc | 743 uint8_t* pp = (uint8_t*)(p + 1); in btu_hcif_send_cmd_with_cb() local 748 UINT16_TO_STREAM(pp, opcode); in btu_hcif_send_cmd_with_cb() 749 UINT8_TO_STREAM(pp, params_len); in btu_hcif_send_cmd_with_cb() 751 memcpy(pp, params, params_len); in btu_hcif_send_cmd_with_cb() 754 btu_hcif_log_command_metrics(opcode, pp, in btu_hcif_send_cmd_with_cb() 1449 uint8_t* pp; in btu_ble_proc_ltk_req() local 1464 pp = p + 8; in btu_ble_proc_ltk_req() 1465 STREAM_TO_UINT16(ediv, pp); in btu_ble_proc_ltk_req()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | le_audio_types_test.cc | 505 auto pp = ltv_map.At(1).data(); in TEST() local 506 STREAM_TO_UINT8(u8, pp); in TEST() 510 pp = ltv_map.At(2).data(); in TEST() 511 STREAM_TO_UINT16(u16, pp); in TEST() 515 pp = ltv_map.At(3).data(); in TEST() 516 STREAM_TO_UINT32(u32, pp); in TEST()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_attr.cc | 634 uint8_t* pp = p_data->att_value.value; in gatt_cl_op_cmpl_cback() local 648 STREAM_TO_UINT8(tcb.sr_supp_feat, pp); in gatt_cl_op_cmpl_cback() 674 STREAM_TO_UINT8(tcb.sirk_type, pp); in gatt_cl_op_cmpl_cback() 675 STREAM_TO_ARRAY(tcb.sirk.data(), pp, 16); in gatt_cl_op_cmpl_cback()
|
D | att_protocol.cc | 292 uint8_t *p, *pp, *p_pair_len; in attp_build_value_cmd() local 308 p = pp = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_value_cmd()
|
D | gatt_db.cc | 482 uint8_t* pp = p_value; in gatts_read_attr_value_by_handle() local 483 tGATT_STATUS status = read_attr_value(*p_attr, offset, &pp, in gatts_read_attr_value_by_handle()
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_keys.cc | 477 uint8_t* pp = p.data(); in smp_process_ediv() local 481 STREAM_TO_UINT16(y, pp); in smp_process_ediv()
|