/system/bt/btif/src/ |
btif_ble_advertiser.cc | 62 void parseParams(tBTM_BLE_ADV_PARAMS* p_params, 64 p_params->advertising_event_properties = params.advertising_event_properties; 65 p_params->adv_int_min = params.min_interval; 66 p_params->adv_int_max = params.max_interval; 67 p_params->channel_map = params.channel_map; 68 p_params->adv_filter_policy = 0; 69 p_params->tx_power = params.tx_power; 70 p_params->primary_advertising_phy = params.primary_advertising_phy; 71 p_params->secondary_advertising_phy = params.secondary_advertising_phy; 72 p_params->scan_request_notification_enable 128 tBTM_BLE_ADV_PARAMS* p_params = new tBTM_BLE_ADV_PARAMS; variable 168 tBTM_BLE_ADV_PARAMS* p_params = new tBTM_BLE_ADV_PARAMS; variable 190 tBTM_BLE_ADV_PARAMS* p_params = new tBTM_BLE_ADV_PARAMS; variable [all...] |
/system/bt/stack/hcic/ |
hcicmds.cc | 1019 uint16_t conn_handle, enh_esco_params_t* p_params) { 1030 UINT32_TO_STREAM(pp, p_params->transmit_bandwidth); 1031 UINT32_TO_STREAM(pp, p_params->receive_bandwidth); 1032 UINT8_TO_STREAM(pp, p_params->transmit_coding_format.coding_format); 1033 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.company_id); 1035 p_params->transmit_coding_format.vendor_specific_codec_id); 1036 UINT8_TO_STREAM(pp, p_params->receive_coding_format.coding_format); 1037 UINT16_TO_STREAM(pp, p_params->receive_coding_format.company_id); 1039 p_params->receive_coding_format.vendor_specific_codec_id); 1040 UINT16_TO_STREAM(pp, p_params->transmit_codec_frame_size) [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 305 mm_jpeg_encode_params_t *p_params = &p_obj->params; local 348 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; 349 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; 350 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; 351 p_params->src_main_buf[i].index = i; 352 p_params->src_main_buf[i].format = MM_JPEG_FMT_YUV; 353 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; 354 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; 355 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; 356 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1) [all...] |
mm_jpegdec_test.c | 243 mm_jpeg_decode_params_t *p_params = &p_obj->params; local 270 p_params->jpeg_cb = mm_jpegdec_decode_callback; 271 p_params->userdata = p_obj; 272 p_params->color_format = p_input->format; 275 p_params->dest_buf[0].buf_size = p_obj->output.size; 276 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; 277 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; 278 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; 279 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; 280 p_params->dest_buf[0].offset.mp[1].len [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 249 mm_jpeg_encode_params_t *p_params = &p_obj->params; local 280 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; 281 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; 282 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; 283 p_params->src_main_buf[i].index = i; 284 p_params->src_main_buf[i].format = MM_JPEG_FMT_YUV; 285 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; 286 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; 287 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; 288 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1) [all...] |
mm_jpegdec_test.c | 235 mm_jpeg_decode_params_t *p_params = &p_obj->params; local 262 p_params->jpeg_cb = mm_jpegdec_decode_callback; 263 p_params->userdata = p_obj; 264 p_params->color_format = p_input->format; 267 p_params->dest_buf[0].buf_size = p_obj->output.size; 268 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; 269 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; 270 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; 271 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; 272 p_params->dest_buf[0].offset.mp[1].len [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 249 mm_jpeg_encode_params_t *p_params = &p_obj->params; local 280 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; 281 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; 282 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; 283 p_params->src_main_buf[i].index = i; 284 p_params->src_main_buf[i].format = MM_JPEG_FMT_YUV; 285 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; 286 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; 287 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; 288 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1) [all...] |
mm_jpegdec_test.c | 235 mm_jpeg_decode_params_t *p_params = &p_obj->params; local 262 p_params->jpeg_cb = mm_jpegdec_decode_callback; 263 p_params->userdata = p_obj; 264 p_params->color_format = p_input->format; 267 p_params->dest_buf[0].buf_size = p_obj->output.size; 268 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; 269 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; 270 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; 271 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; 272 p_params->dest_buf[0].offset.mp[1].len [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 305 mm_jpeg_encode_params_t *p_params = &p_obj->params; local 348 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; 349 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; 350 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; 351 p_params->src_main_buf[i].index = i; 352 p_params->src_main_buf[i].format = MM_JPEG_FMT_YUV; 353 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; 354 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; 355 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; 356 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1) [all...] |
mm_jpegdec_test.c | 243 mm_jpeg_decode_params_t *p_params = &p_obj->params; local 270 p_params->jpeg_cb = mm_jpegdec_decode_callback; 271 p_params->userdata = p_obj; 272 p_params->color_format = p_input->format; 275 p_params->dest_buf[0].buf_size = p_obj->output.size; 276 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; 277 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; 278 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; 279 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; 280 p_params->dest_buf[0].offset.mp[1].len [all...] |
/system/bt/stack/btm/ |
btm_ble_cont_energy.cc | 43 void btm_ble_cont_energy_cmpl_cback(tBTM_VSC_CMPL* p_params) { 44 uint8_t* p = p_params->p_param_buf; 45 uint16_t len = p_params->param_len;
|
/system/nfc/src/nfc/llcp/ |
llcp_util.c | 395 tLLCP_CONNECTION_PARAMS* p_params) { 400 if (p_params->miu != LLCP_DEFAULT_MIU) { 403 if (p_params->rw != LLCP_DEFAULT_RW) { 405 p_params->rw &= 0x0F; /* only 4 bits */ 407 if ((strlen(p_params->sn)) && (p_dlcb->remote_sap == LLCP_SAP_SDP)) { 408 sn_len = (uint16_t)(2 + strlen(p_params->sn)); /* TYPE, LEN, SN */ 426 UINT16_TO_BE_STREAM(p, p_params->miu - LLCP_DEFAULT_MIU); 432 UINT8_TO_BE_STREAM(p, p_params->rw); 438 memcpy(p, p_params->sn, sn_len - 2); 460 tLLCP_CONNECTION_PARAMS* p_params) { [all...] |
llcp_dlc.c | 117 tLLCP_CONNECTION_PARAMS* p_params; local 123 p_params = (tLLCP_CONNECTION_PARAMS*)p_data; 125 status = llcp_util_send_connect(p_dlcb, p_params); 128 p_dlcb->local_miu = p_params->miu; 129 p_dlcb->local_rw = p_params->rw; 144 p_params = (tLLCP_CONNECTION_PARAMS*)p_data; 146 if (p_params->miu > llcp_cb.lcb.peer_miu) { 150 p_params->miu = llcp_cb.lcb.peer_miu; 156 data.connect_ind.miu = p_params->miu; 157 data.connect_ind.rw = p_params->rw 203 tLLCP_CONNECTION_PARAMS* p_params; local 296 tLLCP_CONNECTION_PARAMS* p_params; local [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec.c | 123 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 126 for (i = 0; i < p_params->num_src_bufs; i++) { 128 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; 130 &lbuffer_info, p_params->src_main_buf[i].buf_size, 131 p_params->src_main_buf[i].buf_vaddr); 159 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 161 for (i = 0; i < p_params->num_src_bufs; i++) { 170 for (i = 0; i < p_params->num_dst_bufs; i++) { 286 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 290 &p_params->src_main_buf[p_jobparams->src_index] 507 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local [all...] |
mm_jpeg.c | 121 mm_jpeg_encode_params_t *p_params = &p_session->params; local 124 for (i = 0; i < p_params->num_src_bufs; i++) { 126 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; 128 &lbuffer_info, p_params->src_main_buf[i].buf_size, 129 p_params->src_main_buf[i].buf_vaddr); 136 for (i = 0; i < p_params->num_tmb_bufs; i++) { 138 lbuffer_info.fd = (OMX_U32)p_params->src_thumb_buf[i].fd; 141 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, 142 p_params->src_thumb_buf[i].buf_vaddr); 149 for (i = 0; i < p_params->num_dst_bufs; i++) 180 mm_jpeg_encode_params_t *p_params = &p_session->params; local 436 mm_jpeg_encode_params_t *p_params = &p_session->params; local 531 mm_jpeg_encode_params_t *p_params = &p_session->params; local 595 mm_jpeg_encode_params_t *p_params = NULL; local 632 mm_jpeg_encode_params_t *p_params = NULL; local 687 mm_jpeg_encode_params_t *p_params = &p_session->params; local 851 mm_jpeg_encode_params_t *p_params = &p_session->params; local 1047 mm_jpeg_encode_params_t *p_params = &p_session->params; local 1538 mm_jpeg_encode_params_t *p_params = &p_session->params; local [all...] |
mm_jpegdec_interface.c | 82 * @p_params: encode parameters 93 mm_jpeg_decode_params_t *p_params, 98 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { 111 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec.c | 123 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 126 for (i = 0; i < p_params->num_src_bufs; i++) { 128 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; 130 &lbuffer_info, p_params->src_main_buf[i].buf_size, 131 p_params->src_main_buf[i].buf_vaddr); 159 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 161 for (i = 0; i < p_params->num_src_bufs; i++) { 170 for (i = 0; i < p_params->num_dst_bufs; i++) { 286 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 290 &p_params->src_main_buf[p_jobparams->src_index] 507 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local [all...] |
mm_jpeg.c | 124 mm_jpeg_encode_params_t *p_params = &p_session->params; local 142 for (i = 0; i < p_params->num_src_bufs; i++) { 144 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; 147 &lbuffer_info, p_params->src_main_buf[i].buf_size, 148 p_params->src_main_buf[i].buf_vaddr); 171 for (i = 0; i < p_params->num_tmb_bufs; i++) { 173 lbuffer_info.fd = (OMX_U32)p_params->src_thumb_buf[i].fd; 176 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, 177 p_params->src_thumb_buf[i].buf_vaddr); 186 for (i = 0; i < p_params->num_dst_bufs; i++) 219 mm_jpeg_encode_params_t *p_params = &p_session->params; local 513 mm_jpeg_encode_params_t *p_params = &p_session->params; local 610 mm_jpeg_encode_params_t *p_params = &p_session->params; local 674 mm_jpeg_encode_params_t *p_params = NULL; local 711 mm_jpeg_encode_params_t *p_params = NULL; local 766 mm_jpeg_encode_params_t *p_params = &p_session->params; local 967 mm_jpeg_encode_params_t *p_params = &p_session->params; local 1212 mm_jpeg_encode_params_t *p_params = &p_session->params; local 1720 mm_jpeg_encode_params_t *p_params = &p_session->params; local [all...] |
mm_jpegdec_interface.c | 82 * @p_params: encode parameters 93 mm_jpeg_decode_params_t *p_params, 98 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { 111 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id);
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec.c | 127 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 130 for (i = 0; i < p_params->num_src_bufs; i++) { 132 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; 134 &lbuffer_info, p_params->src_main_buf[i].buf_size, 135 p_params->src_main_buf[i].buf_vaddr); 163 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 165 for (i = 0; i < p_params->num_src_bufs; i++) { 174 for (i = 0; i < p_params->num_dst_bufs; i++) { 290 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 294 &p_params->src_main_buf[p_jobparams->src_index] 513 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local [all...] |
mm_jpegdec_interface.c | 85 * @p_params: encode parameters 96 mm_jpeg_decode_params_t *p_params, 101 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { 114 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id);
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec.c | 127 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 130 for (i = 0; i < p_params->num_src_bufs; i++) { 132 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; 134 &lbuffer_info, p_params->src_main_buf[i].buf_size, 135 p_params->src_main_buf[i].buf_vaddr); 163 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 165 for (i = 0; i < p_params->num_src_bufs; i++) { 174 for (i = 0; i < p_params->num_dst_bufs; i++) { 290 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local 294 &p_params->src_main_buf[p_jobparams->src_index] 513 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; local [all...] |
mm_jpegdec_interface.c | 85 * @p_params: encode parameters 96 mm_jpeg_decode_params_t *p_params, 101 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { 114 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id);
|
/system/nfc/src/nfa/ce/ |
nfa_ce_act.c | 288 uint8_t tlv[128], *p_params; local 297 p_params = tlv; 304 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_ID1 + t3t_idx); /* type */ 306 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_ID(NFC_GetNCIVersion())); 308 UINT16_TO_BE_STREAM(p_params, p_cb->listen_info[i].t3t_system_code); 309 ARRAY_TO_BE_STREAM(p_params, p_cb->listen_info[i].t3t_nfcid2, 312 ARRAY_TO_BE_STREAM(p_params, p_cb->listen_info[i].t3t_pmm, 324 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_FLAGS2); /* type */ 325 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_FLAGS2); /* length */ 327 UINT16_TO_STREAM(p_params, t3t_flags2_mask) [all...] |
/system/nfc/src/nfc/nfc/ |
nfc_main.c | 795 ** Parameters num - the number of items in p_params. 857 ** Parameters num_params - the number of items in p_params. 858 ** p_params - the discovery parameters 865 tNFC_DISCOVER_PARAMS* p_params, 885 memcpy(p, p_params, params_size); [all...] |