/hardware/interfaces/radio/1.0/vts/functional/ |
D | radio_response.cpp | 23 Return<void> RadioResponse::getIccCardStatusResponse(const RadioResponseInfo& info, in getIccCardStatusResponse() argument 25 rspInfo = info; in getIccCardStatusResponse() 31 Return<void> RadioResponse::supplyIccPinForAppResponse(const RadioResponseInfo& info, in supplyIccPinForAppResponse() argument 33 rspInfo = info; in supplyIccPinForAppResponse() 38 Return<void> RadioResponse::supplyIccPukForAppResponse(const RadioResponseInfo& info, in supplyIccPukForAppResponse() argument 40 rspInfo = info; in supplyIccPukForAppResponse() 45 Return<void> RadioResponse::supplyIccPin2ForAppResponse(const RadioResponseInfo& info, in supplyIccPin2ForAppResponse() argument 47 rspInfo = info; in supplyIccPin2ForAppResponse() 52 Return<void> RadioResponse::supplyIccPuk2ForAppResponse(const RadioResponseInfo& info, in supplyIccPuk2ForAppResponse() argument 54 rspInfo = info; in supplyIccPuk2ForAppResponse() [all …]
|
D | radio_hidl_hal_utils.h | 112 Return<void> getIccCardStatusResponse(const RadioResponseInfo& info, 115 Return<void> supplyIccPinForAppResponse(const RadioResponseInfo& info, 118 Return<void> supplyIccPukForAppResponse(const RadioResponseInfo& info, 121 Return<void> supplyIccPin2ForAppResponse(const RadioResponseInfo& info, 124 Return<void> supplyIccPuk2ForAppResponse(const RadioResponseInfo& info, 127 Return<void> changeIccPinForAppResponse(const RadioResponseInfo& info, 130 Return<void> changeIccPin2ForAppResponse(const RadioResponseInfo& info, 133 Return<void> supplyNetworkDepersonalizationResponse(const RadioResponseInfo& info, 136 Return<void> getCurrentCallsResponse(const RadioResponseInfo& info, 139 Return<void> dialResponse(const RadioResponseInfo& info); [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | common.cpp | 42 wifi_handle getWifiHandle(hal_info *info) in getWifiHandle() argument 44 return (wifi_handle)info; in getWifiHandle() 47 wifi_interface_handle getIfaceHandle(interface_info *info) in getIfaceHandle() argument 49 return (wifi_interface_handle)info; in getIfaceHandle() 54 hal_info *info = (hal_info *)handle; in wifi_register_handler() local 57 pthread_mutex_lock(&info->cb_lock); in wifi_register_handler() 61 if (info->num_event_cb < info->alloc_event_cb) { in wifi_register_handler() 62 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler() 63 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler() 64 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | common.cpp | 47 wifi_handle getWifiHandle(hal_info *info) in getWifiHandle() argument 49 return (wifi_handle)info; in getWifiHandle() 52 wifi_interface_handle getIfaceHandle(interface_info *info) in getIfaceHandle() argument 54 return (wifi_interface_handle)info; in getIfaceHandle() 59 hal_info *info = (hal_info *)handle; in wifi_register_handler() local 61 pthread_mutex_lock(&info->cb_lock); in wifi_register_handler() 65 for (int i = 0; i < info->num_event_cb; i++) { in wifi_register_handler() 66 if(info->event_cb[i].nl_cmd == cmd && in wifi_register_handler() 67 info->event_cb[i].cb_arg == arg) { in wifi_register_handler() 68 info->event_cb[i].cb_func = func; in wifi_register_handler() [all …]
|
D | wifi_hal.cpp | 87 hal_info *info = (hal_info *)handle; in wifi_get_iface_handle() local 88 for (int i=0;i<info->num_interfaces;i++) in wifi_get_iface_handle() 90 if (!strcmp(info->interfaces[i]->name, name)) in wifi_get_iface_handle() 92 return ((wifi_interface_handle )(info->interfaces)[i]); in wifi_get_iface_handle() 193 hal_info *info = getHalInfo(wifiHandle); in wifi_get_capabilities() local 195 if (!(info->supported_feature_set & WIFI_FEATURE_GSCAN)) { in wifi_get_capabilities() 227 hal_info *info = (hal_info *)handle; in get_firmware_bus_max_size_supported() local 247 info->firmware_bus_max_size = busSizeSupported.getBusSize(); in get_firmware_bus_max_size_supported() 253 static wifi_error wifi_init_user_sock(hal_info *info) in wifi_init_user_sock() argument 278 info->user_sock_arg = 1; in wifi_init_user_sock() [all …]
|
/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 86 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect() 87 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect() 88 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect() 105 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 106 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 107 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 123 0, 0, m->info.xres, m->info.yres, in fb_post() 128 0, 0, m->info.xres, m->info.yres, in fb_post() 131 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post() 170 struct fb_var_screeninfo info; local [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | framebuffer.cpp | 93 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 94 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 141 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 142 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in mapFrameBufferLocked() 145 info.reserved[0] = 0; in mapFrameBufferLocked() 146 info.reserved[1] = 0; in mapFrameBufferLocked() 147 info.reserved[2] = 0; in mapFrameBufferLocked() 148 info.xoffset = 0; in mapFrameBufferLocked() 149 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | software_converter.cpp | 139 copyInfo& info) in copy_source_to_destination() argument 147 int width = info.width; in copy_source_to_destination() 148 int height = info.height; in copy_source_to_destination() 155 src += info.src_stride; in copy_source_to_destination() 156 dst += info.dst_stride; in copy_source_to_destination() 160 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 161 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 165 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 166 src += info.src_stride; in copy_source_to_destination() 167 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | framebuffer.cpp | 88 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 90 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 142 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 143 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 148 info.reserved[0] = 0; in mapFrameBufferLocked() 149 info.reserved[1] = 0; in mapFrameBufferLocked() 150 info.reserved[2] = 0; in mapFrameBufferLocked() 151 info.xoffset = 0; in mapFrameBufferLocked() 152 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | framebuffer.cpp | 94 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 95 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 96 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 147 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 148 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 153 info.reserved[0] = 0; in mapFrameBufferLocked() 154 info.reserved[1] = 0; in mapFrameBufferLocked() 155 info.reserved[2] = 0; in mapFrameBufferLocked() 156 info.xoffset = 0; in mapFrameBufferLocked() 157 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | framebuffer.cpp | 86 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 87 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 88 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 140 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 141 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 146 info.reserved[0] = 0; in mapFrameBufferLocked() 147 info.reserved[1] = 0; in mapFrameBufferLocked() 148 info.reserved[2] = 0; in mapFrameBufferLocked() 149 info.xoffset = 0; in mapFrameBufferLocked() 150 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | framebuffer.cpp | 93 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 94 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 146 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 147 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 152 info.reserved[0] = 0; in mapFrameBufferLocked() 153 info.reserved[1] = 0; in mapFrameBufferLocked() 154 info.reserved[2] = 0; in mapFrameBufferLocked() 155 info.xoffset = 0; in mapFrameBufferLocked() 156 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8998/libgralloc/ |
D | framebuffer.cpp | 88 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 90 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 144 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 145 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 150 info.reserved[0] = 0; in mapFrameBufferLocked() 151 info.reserved[1] = 0; in mapFrameBufferLocked() 152 info.reserved[2] = 0; in mapFrameBufferLocked() 153 info.xoffset = 0; in mapFrameBufferLocked() 154 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 174 mixer_info_t *info = mixerMasterProp[i].mInfo = new mixer_info_t; in ALSAMixer() local 177 info->name, in ALSAMixer() 192 if (info->elem == NULL && in ALSAMixer() 193 strcmp(elementName, info->name) == 0 && in ALSAMixer() 196 info->elem = elem; in ALSAMixer() 197 getVolumeRange[i] (elem, &info->min, &info->max); in ALSAMixer() 198 info->volume = info->max; in ALSAMixer() 199 setVol[i] (elem, info->volume); in ALSAMixer() 207 ALOGV("Mixer: master '%s' %s.", info->name, info->elem ? "found" : "not found"); in ALSAMixer() 211 mixer_info_t *info = mixerProp[j][i].mInfo = new mixer_info_t; in ALSAMixer() local [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/ |
D | viddec_mpeg2_metadata.c | 133 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.horizontal_size_value, 12); in viddec_mpeg2_parse_seq_hdr() 136 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.vertical_size_value, 12); in viddec_mpeg2_parse_seq_hdr() 139 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.aspect_ratio_information, 4); in viddec_mpeg2_parse_seq_hdr() 142 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.frame_rate_code, 4); in viddec_mpeg2_parse_seq_hdr() 145 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.bit_rate_value, 18); in viddec_mpeg2_parse_seq_hdr() 151 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.vbv_buffer_size_value, 10); in viddec_mpeg2_parse_seq_hdr() 154 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.constrained_parameters_flag, 1); in viddec_mpeg2_parse_seq_hdr() 158 ret_code |= viddec_pm_get_bits(parent, &parser->info.qnt_ext.load_intra_quantiser_matrix, 1); in viddec_mpeg2_parse_seq_hdr() 159 if (parser->info.qnt_ext.load_intra_quantiser_matrix) in viddec_mpeg2_parse_seq_hdr() 161 ret_code |= mpeg2_get_quant_matrix(parent, parser->info.qnt_mat.intra_quantiser_matrix, 0); in viddec_mpeg2_parse_seq_hdr() [all …]
|
D | viddec_mpeg2_workload.c | 51 parser->info.seq_ext.progressive_sequence = true; in viddec_mpeg2_set_seq_ext_defaults() 52 parser->info.seq_ext.chroma_format = MPEG2_CF_420; in viddec_mpeg2_set_seq_ext_defaults() 60 parser->info.pic_cod_ext.picture_structure = MPEG2_PIC_STRUCT_FRAME; in viddec_mpeg2_set_pic_cod_ext_defaults() 61 parser->info.pic_cod_ext.frame_pred_frame_dct = true; in viddec_mpeg2_set_pic_cod_ext_defaults() 62 parser->info.pic_cod_ext.progressive_frame = true; in viddec_mpeg2_set_pic_cod_ext_defaults() 81 qmat_unpacked = (uint32_t *) &parser->info.qnt_mat; in viddec_mpeg2_pack_qmat() 104 qmat_unpacked = (uint8_t *) &parser->info.qnt_mat; in viddec_mpeg2_pack_qmat() 143 parser->wi.csi1 |= (parser->info.seq_hdr.constrained_parameters_flag) << 2; in viddec_mpeg2_trans_metadata_workitems() 144 parser->wi.csi1 |= (parser->info.seq_ext.progressive_sequence) << 3; in viddec_mpeg2_trans_metadata_workitems() 145 parser->wi.csi1 |= (parser->info.seq_ext.chroma_format) << 16; in viddec_mpeg2_trans_metadata_workitems() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | framebuffer.cpp | 96 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 97 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 98 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 150 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 151 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 156 info.reserved[0] = 0; in mapFrameBufferLocked() 157 info.reserved[1] = 0; in mapFrameBufferLocked() 158 info.reserved[2] = 0; in mapFrameBufferLocked() 159 info.xoffset = 0; in mapFrameBufferLocked() 160 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/interfaces/health/1.0/default/ |
D | convert.cpp | 105 HealthInfo& info) { in convertToHealthInfo() argument 106 info.chargerAcOnline = p->chargerAcOnline; in convertToHealthInfo() 107 info.chargerUsbOnline = p->chargerUsbOnline; in convertToHealthInfo() 108 info.chargerWirelessOnline = p->chargerWirelessOnline; in convertToHealthInfo() 109 info.maxChargingCurrent = p->maxChargingCurrent; in convertToHealthInfo() 110 info.maxChargingVoltage = p->maxChargingVoltage; in convertToHealthInfo() 111 info.batteryStatus = static_cast<BatteryStatus>(p->batteryStatus); in convertToHealthInfo() 112 info.batteryHealth = static_cast<BatteryHealth>(p->batteryHealth); in convertToHealthInfo() 113 info.batteryPresent = p->batteryPresent; in convertToHealthInfo() 114 info.batteryLevel = p->batteryLevel; in convertToHealthInfo() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
D | viddec_vc1_parse.c | 38 memset(&parser->info.picLayerHeader, 0, sizeof(vc1_PictureLayerHeader)); in viddec_vc1_init() 49 memset(&parser->info.metadata, 0, sizeof(parser->info.metadata)); in viddec_vc1_init() 104 memset( &parser->info.metadata, 0, sizeof(parser->info.metadata)); in viddec_vc1_parse() 110 status = vc1_ParseSequenceLayer(parent, &parser->info); in viddec_vc1_parse() 114 status = vc1_ParseRCVSequenceLayer(parent, &parser->info); in viddec_vc1_parse() 126 status = vc1_ParseEntryPointLayer(parent, &parser->info); in viddec_vc1_parse() 139 memset(&parser->info.picLayerHeader, 0, sizeof(vc1_PictureLayerHeader)); in viddec_vc1_parse() 140 status = vc1_ParsePictureLayer(parent, &parser->info); in viddec_vc1_parse() 141 if((parser->info.picLayerHeader.PTypeField1 == VC1_I_FRAME) || in viddec_vc1_parse() 142 (parser->info.picLayerHeader.PTypeField1 == VC1_P_FRAME) || in viddec_vc1_parse() [all …]
|