/system/bt/stack/btu/ |
D | btu_hcif.c | 142 UINT8 *p = (UINT8 *)(p_msg + 1) + p_msg->offset; in btu_hcif_process_event() local 395 static void btu_hcif_inquiry_comp_evt (UINT8 *p) in btu_hcif_inquiry_comp_evt() 414 static void btu_hcif_inquiry_result_evt (UINT8 *p) in btu_hcif_inquiry_result_evt() 429 static void btu_hcif_inquiry_rssi_result_evt (UINT8 *p) in btu_hcif_inquiry_rssi_result_evt() 444 static void btu_hcif_extended_inquiry_result_evt (UINT8 *p) in btu_hcif_extended_inquiry_result_evt() 459 static void btu_hcif_connection_comp_evt (UINT8 *p) in btu_hcif_connection_comp_evt() 504 static void btu_hcif_connection_request_evt (UINT8 *p) in btu_hcif_connection_request_evt() 537 static void btu_hcif_disconnection_comp_evt (UINT8 *p) in btu_hcif_disconnection_comp_evt() 569 static void btu_hcif_authentication_comp_evt (UINT8 *p) in btu_hcif_authentication_comp_evt() 589 static void btu_hcif_rmt_name_request_comp_evt (UINT8 *p, UINT16 evt_len) in btu_hcif_rmt_name_request_comp_evt() [all …]
|
/system/bt/stack/hcic/ |
D | hcicmds.c | 40 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inquiry() local 59 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inq_cancel() local 74 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_per_inq_mode() local 95 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_per_inq() local 112 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn() local 142 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_disconnect() local 160 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_add_SCO_conn() local 179 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn_cancel() local 196 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_accept_conn() local 214 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_conn() local [all …]
|
D | hciblecmds.c | 40 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_local_used_feat() local 55 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_random_addr() local 75 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_write_adv_params() local 98 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_read_adv_chnl_tx_power() local 114 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_data() local 140 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_rsp_data() local 169 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_enable() local 187 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_params() local 208 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_enable() local 233 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_create_ll_conn() local [all …]
|
/system/bt/stack/avdt/ |
D | avdt_msg.c | 272 static void avdt_msg_bld_cfg(UINT8 **p, tAVDT_CFG *p_cfg) in avdt_msg_bld_cfg() 377 static void avdt_msg_bld_none(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_none() 395 static void avdt_msg_bld_single(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_single() 411 static void avdt_msg_bld_setconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_setconfig_cmd() 429 static void avdt_msg_bld_reconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_reconfig_cmd() 449 static void avdt_msg_bld_multi(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_multi() 469 static void avdt_msg_bld_security_cmd(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_security_cmd() 486 static void avdt_msg_bld_delay_rpt(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_delay_rpt() 503 static void avdt_msg_bld_discover_rsp(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_discover_rsp() 528 static void avdt_msg_bld_svccap(UINT8 **p, tAVDT_MSG *p_msg) in avdt_msg_bld_svccap() [all …]
|
D | avdt_defs.h | 145 #define AVDT_MSG_PRS_HDR(p, lbl, pkt, msg) \ argument 150 #define AVDT_MSG_PRS_DISC(p, seid, in_use, type, tsep) \ argument 156 #define AVDT_MSG_PRS_SIG(p, sig) \ argument 159 #define AVDT_MSG_PRS_SEID(p, seid) \ argument 162 #define AVDT_MSG_PRS_PKT_TYPE(p, pkt) \ argument 165 #define AVDT_MSG_PRS_OCTET1(p, o_v, o_p, o_x, o_cc) \ argument 171 #define AVDT_MSG_PRS_RPT_OCTET1(p, o_v, o_p, o_cc) \ argument 176 #define AVDT_MSG_PRS_M_PT(p, m_pt, marker) \ argument 180 #define AVDT_MSG_BLD_HDR(p, lbl, pkt, msg) \ argument 183 #define AVDT_MSG_BLD_DISC(p, seid, in_use, type, tsep) \ argument [all …]
|
/system/bt/stack/btm/ |
D | btm_acl.c | 100 tACL_CONN *p = &btm_cb.acl_db[0]; in btm_bda_to_acl() local 133 tACL_CONN *p = &btm_cb.acl_db[0]; in btm_handle_to_acl_index() local 217 tACL_CONN *p; in btm_acl_created() local 382 tACL_CONN *p; in btm_acl_removed() local 475 tACL_CONN *p = &btm_cb.acl_db[0]; in btm_acl_device_down() local 569 tACL_CONN *p; in BTM_GetRole() local 602 tACL_CONN *p; in BTM_SwitchRole() local 729 tACL_CONN *p; in btm_acl_encrypt_change() local 820 tACL_CONN *p; in BTM_SetLinkPolicy() local 911 void btm_read_remote_version_complete (UINT8 *p) in btm_read_remote_version_complete() [all …]
|
D | btm_ble_addr.c | 51 static void btm_gen_resolve_paddr_cmpl(tSMP_ENC *p) in btm_gen_resolve_paddr_cmpl() 92 void btm_gen_resolve_paddr_low(tBTM_RAND_ENC *p) in btm_gen_resolve_paddr_low() 146 static void btm_gen_non_resolve_paddr_cmpl(tBTM_RAND_ENC *p) in btm_gen_non_resolve_paddr_cmpl() 186 void btm_gen_non_resolvable_private_addr (tBTM_BLE_ADDR_CBACK *p_cback, void *p) in btm_gen_non_resolvable_private_addr() 218 static BOOLEAN btm_ble_proc_resolve_x(tSMP_ENC *p) in btm_ble_proc_resolve_x() 359 void btm_ble_resolve_random_addr(BD_ADDR random_bda, tBTM_BLE_RESOLVE_CBACK * p_cback, void *p) in btm_ble_resolve_random_addr() 562 tACL_CONN *p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_local_resolvable_private_addr() local
|
D | btm_ble_privacy.c | 234 void btm_ble_clear_resolving_list_complete(UINT8 *p, UINT16 evt_len) in btm_ble_clear_resolving_list_complete() 280 void btm_ble_add_resolving_list_entry_complete(UINT8 *p, UINT16 evt_len) in btm_ble_add_resolving_list_entry_complete() 323 void btm_ble_remove_resolving_list_entry_complete(UINT8 *p, UINT16 evt_len) in btm_ble_remove_resolving_list_entry_complete() 361 void btm_ble_read_resolving_list_entry_complete(UINT8 *p, UINT16 evt_len) in btm_ble_read_resolving_list_entry_complete() 410 UINT8 *p = p_params->p_param_buf, op_subcode; in btm_ble_resolving_list_vsc_op_cmpl() local 467 UINT8 *p = param; in btm_ble_remove_resolving_list_entry() local 508 UINT8 *p = param; in btm_ble_clear_resolving_list() local 547 UINT8 *p = param; in btm_ble_read_resolving_list_entry() local 657 UINT8 param[20], *p; in btm_ble_vendor_enable_irk_feature() local 814 UINT8 *p = param; in btm_ble_resolving_list_load_dev() local
|
/system/core/libmemtrack/ |
D | memtrack.c | 71 void memtrack_proc_destroy(struct memtrack_proc *p) in memtrack_proc_destroy() 117 static int memtrack_proc_sanity_check(struct memtrack_proc *p) in memtrack_proc_sanity_check() 123 int memtrack_proc_get(struct memtrack_proc *p, pid_t pid) in memtrack_proc_get() 143 static ssize_t memtrack_proc_sum(struct memtrack_proc *p, in memtrack_proc_sum() 163 ssize_t memtrack_proc_graphics_total(struct memtrack_proc *p) in memtrack_proc_graphics_total() 169 ssize_t memtrack_proc_graphics_pss(struct memtrack_proc *p) in memtrack_proc_graphics_pss() 176 ssize_t memtrack_proc_gl_total(struct memtrack_proc *p) in memtrack_proc_gl_total() 182 ssize_t memtrack_proc_gl_pss(struct memtrack_proc *p) in memtrack_proc_gl_pss() 189 ssize_t memtrack_proc_other_total(struct memtrack_proc *p) in memtrack_proc_other_total() 197 ssize_t memtrack_proc_other_pss(struct memtrack_proc *p) in memtrack_proc_other_pss()
|
/system/extras/simpleperf/ |
D | record.cpp | 48 void MoveFromBinaryFormat(T* data_p, size_t n, const char*& p) { in MoveFromBinaryFormat() 55 void MoveToBinaryFormat(const T& data, char*& p) { in MoveToBinaryFormat() 61 void MoveToBinaryFormat(const T* data_p, size_t n, char*& p) { in MoveToBinaryFormat() 79 void SampleId::ReadFromBinaryFormat(const perf_event_attr& attr, const char* p, const char* end) { in ReadFromBinaryFormat() 189 const char* p = reinterpret_cast<const char*>(pheader + 1); in MmapRecord() local 200 char* p = buf.data(); in BinaryFormat() local 221 const char* p = reinterpret_cast<const char*>(pheader + 1); in Mmap2Record() local 232 char* p = buf.data(); in BinaryFormat() local 257 const char* p = reinterpret_cast<const char*>(pheader + 1); in CommRecord() local 268 char* p = buf.data(); in BinaryFormat() local [all …]
|
/system/bt/stack/gatt/ |
D | att_protocol.c | 50 UINT8 *p; in attp_build_mtu_cmd() local 75 UINT8 *p; in attp_build_exec_write_cmd() local 104 UINT8 *p; in attp_build_err_cmd() local 133 UINT8 *p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_browse_cmd() local 157 UINT8 *p; in attp_build_read_by_type_value_cmd() local 192 UINT8 *p, i = 0; in attp_build_read_multi_cmd() local 220 UINT8 *p; in attp_build_handle_cmd() local 252 UINT8 *p; in attp_build_opcode_cmd() local 277 UINT8 *p, *pp, pair_len, *p_pair_len; in attp_build_value_cmd() local
|
/system/bt/stack/include/ |
D | bt_types.h | 224 #define HCI_GET_CMD_HDR_OPCODE(p) (UINT16)((*((UINT8 *)((p) + 1) + p->offset) + \ argument 226 #define HCI_GET_CMD_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 2)) argument 228 #define HCI_GET_EVT_HDR_OPCODE(p) (UINT8)(*((UINT8 *)((p) + 1) + p->offset)) argument 229 #define HCI_GET_EVT_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 1)) argument 235 #define UINT64_TO_BE_STREAM(p, u64) {*(p)++ = (UINT8)((u64) >> 56); *(p)++ = (UINT8)((u64) >> 48);… argument 237 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UI… argument 238 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… argument 239 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument 240 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument 241 #define INT8_TO_STREAM(p, u8) {*(p)++ = (INT8)(u8);} argument [all …]
|
/system/core/adb/ |
D | adb_auth.cpp | 36 apacket *p; in send_auth_request() local 56 apacket *p = get_apacket(); in send_auth_response() local 75 apacket *p = get_apacket(); in send_auth_publickey() local
|
D | sockets.cpp | 125 static int local_socket_enqueue(asocket* s, apacket* p) { in local_socket_enqueue() 187 apacket *p, *n; in local_socket_destroy() local 258 apacket* p; in local_socket_event_func() local 308 apacket* p = get_apacket(); in local_socket_event_func() local 452 static int remote_socket_enqueue(asocket* s, apacket* p) { in remote_socket_enqueue() 464 apacket* p = get_apacket(); in remote_socket_ready() local 474 apacket* p = get_apacket(); in remote_socket_shutdown() local 521 apacket* p = get_apacket(); in connect_to_remote() local 650 static int smart_socket_enqueue(asocket* s, apacket* p) { in smart_socket_enqueue()
|
D | transport.cpp | 51 static std::string dump_packet(const char* name, const char* func, apacket* p) { in dump_packet() 96 char* p = reinterpret_cast<char*>(ppacket); /* really read a packet address */ in read_packet() local 122 char* p = reinterpret_cast<char*>(ppacket); /* we really write the packet address */ in write_packet() local 142 apacket *p = 0; in transport_socket_events() local 151 void send_packet(apacket *p, atransport *t) in send_packet() 196 apacket *p; in read_transport_thread() local 253 apacket *p; in write_transport_thread() local 363 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() 372 apacket* p = get_apacket(); in device_tracker_send() local 444 char *p = (char*)m; in transport_read_action() local [all …]
|
/system/bt/stack/smp/ |
D | smp_keys.c | 63 void smp_debug_print_nbyte_little_endian(UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_little_endian() 87 void smp_debug_print_nbyte_big_endian (UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_big_endian() 129 UINT8 *p = NULL; in smp_encrypt_data() local 206 void smp_proc_passkey(tSMP_CB *p_cb , tBTM_RAND_ENC *p) in smp_proc_passkey() 389 UINT8 *p=buffer; in smp_compute_csrk() local 457 UINT8 *p = *p_data; in smp_concatenate_local() local 477 UINT8 *p = *p_data; in smp_concatenate_peer() local 503 UINT8 *p = (UINT8 *)p1; in smp_gen_p1_4_confirm() local 557 UINT8 *p = (UINT8 *)p2; in smp_gen_p2_4_confirm() local 639 static void smp_calculate_comfirm_cont(tSMP_CB *p_cb, tSMP_ENC *p) in smp_calculate_comfirm_cont() [all …]
|
D | smp_utils.c | 385 UINT8 *p; in smp_build_pairing_cmd() local 416 UINT8 *p; in smp_build_confirm_cmd() local 443 UINT8 *p; in smp_build_rand_cmd() local 469 UINT8 *p; in smp_build_encrypt_info_cmd() local 495 UINT8 *p; in smp_build_master_id_cmd() local 522 UINT8 *p; in smp_build_identity_info_cmd() local 553 UINT8 *p; in smp_build_id_addr_cmd() local 581 UINT8 *p; in smp_build_signing_info_cmd() local 607 UINT8 *p; in smp_build_pairing_fail() local 633 UINT8 *p; in smp_build_security_request() local [all …]
|
/system/core/run-as/ |
D | package.c | 288 skip_spaces(const char* p, const char* end) in skip_spaces() 300 skip_non_spaces(const char* p, const char* end) in skip_non_spaces() 312 find_first(const char* p, const char* end, char ch) in find_first() 327 compare_name(const char* p, const char* end, const char* name) in compare_name() 366 const char* p = *pp; in parse_spaces() local 390 const char* p = *pp; in parse_positive_decimal() local 433 const char* p; in get_package_info() local
|
/system/bt/stack/avct/ |
D | avct_defs.h | 51 #define AVCT_BLD_HDR(p, label, type, cr_ipid) \ argument 54 #define AVCT_PRS_HDR(p, label, type, cr_ipid) \ argument 59 #define AVCT_PRS_PKT_TYPE(p, type) \ argument
|
/system/bt/stack/sdp/ |
D | sdp_discovery.c | 122 UINT8 *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local 222 UINT8 *p, rsp_pdu; in sdp_disc_server_rsp() local 348 UINT8 *p; in sdp_copy_raw_data() local 476 UINT8 *p; in process_service_attr_rsp() local 545 UINT8 *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local 610 UINT8 *p; in process_service_search_attr_rsp() local 721 static UINT8 *save_attr_seq (tCONN_CB *p_ccb, UINT8 *p, UINT8 *p_msg_end) in save_attr_seq() 832 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec, in add_attr()
|
/system/bt/osi/src/ |
D | ringbuffer.c | 34 ringbuffer_t* p = osi_calloc(sizeof(ringbuffer_t)); in ringbuffer_init() local 59 size_t ringbuffer_insert(ringbuffer_t *rb, const uint8_t *p, size_t length) { in ringbuffer_insert() 90 size_t ringbuffer_peek(const ringbuffer_t *rb, off_t offset, uint8_t *p, size_t length) { in ringbuffer_peek() 108 size_t ringbuffer_pop(ringbuffer_t *rb, uint8_t *p, size_t length) { in ringbuffer_pop()
|
/system/bt/stack/bnep/ |
D | bnep_utils.c | 181 UINT8 *p, *p_start; in bnep_send_conn_req() local 238 UINT8 *p; in bnep_send_conn_responce() local 272 UINT8 *p; in bnepu_send_peer_our_filters() local 318 UINT8 *p; in bnepu_send_peer_our_multi_filters() local 366 UINT8 *p; in bnepu_send_peer_filter_rsp() local 399 UINT8 *p; in bnep_send_command_not_understood() local 470 UINT8 ext_bit, *p = (UINT8 *)NULL; in bnepu_build_bnep_hdr() local 530 UINT8 *p = (UINT8 *)(p_buf + 1) + p_buf->offset; in bnepu_init_hdr() local 762 UINT8 *bnep_process_control_packet (tBNEP_CONN *p_bcb, UINT8 *p, UINT16 *rem_len, BOOLEAN is_ext) in bnep_process_control_packet() 1133 UINT8 *p; in bnepu_send_peer_multicast_filter_rsp() local
|
/system/core/base/include/android-base/ |
D | memory.h | 31 const unaligned* p = reinterpret_cast<const unaligned*>(address); in get_unaligned() local 40 unaligned* p = reinterpret_cast<unaligned*>(address); in put_unaligned() local
|
/system/bt/stack/l2cap/ |
D | l2c_utils.c | 365 UINT8 *p; in l2cu_build_header() local 443 UINT8 *p; in l2cu_send_peer_cmd_reject() local 487 UINT8 *p; in l2cu_send_peer_connect_req() local 525 UINT8 *p; in l2cu_send_peer_connect_rsp() local 568 UINT8 *p; in l2cu_reject_connection() local 600 UINT8 *p; in l2cu_send_peer_config_req() local 707 UINT8 *p; in l2cu_send_peer_config_rsp() local 799 UINT8 *p, *p_hci_len, *p_data_end; in l2cu_send_peer_config_rej() local 920 UINT8 *p; in l2cu_send_peer_disc_req() local 979 UINT8 *p; in l2cu_send_peer_disc_rsp() local [all …]
|
D | l2c_fcr.c | 142 UINT8 *p = ((UINT8 *) (p_buf + 1)) + p_buf->offset; in l2c_fcr_tx_get_fcs() local 158 UINT8 *p = ((UINT8 *) (p_buf + 1)) + p_buf->offset; in l2c_fcr_rx_get_fcs() local 401 UINT8 *p; in prepare_I_frame() local 503 UINT8 *p; in l2c_fcr_send_S_frame() local 598 UINT8 *p; in l2c_fcr_proc_pdu() local 828 UINT8 *p = (UINT8*)(p_buf + 1) + p_buf->offset; in l2c_lcc_proc_pdu() local 1346 UINT8 *p; in process_stream_frame() local 1431 UINT8 *p; in do_sar_reassembly() local 1551 UINT8 *p; in retransmit_i_frames() local 1676 UINT8 *p; in l2c_fcr_get_next_xmit_sdu_seg() local [all …]
|