Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 25 of 212) sorted by relevance

123456789

/hardware/qcom/display/msm8909/libqdutils/
Dmdp_version.cpp164 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
167 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
170 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
173 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
195 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
201 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
205 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
209 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
213 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
217 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
/hardware/qcom/display/msm8994/libqdutils/
Dmdp_version.cpp172 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
175 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
178 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
181 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
203 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
209 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
213 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
217 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
221 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
225 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
/hardware/qcom/display/msm8226/libqdutils/
Dmdp_version.cpp150 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
153 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
156 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
159 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
180 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
186 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
190 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
194 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
198 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
202 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_info.cpp138 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) { in GetDynamicBWLimits()
140 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) { in GetDynamicBWLimits()
142 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) { in GetDynamicBWLimits()
144 } else if (!strncmp(tokens[0], "hflip_pipe", strlen("hflip_pipe"))) { in GetDynamicBWLimits()
146 } else if (!strncmp(tokens[0], "default", strlen("default"))) { in GetDynamicBWLimits()
148 } else if (!strncmp(tokens[0], "camera", strlen("camera"))) { in GetDynamicBWLimits()
150 } else if (!strncmp(tokens[0], "vflip", strlen("vflip"))) { in GetDynamicBWLimits()
152 } else if (!strncmp(tokens[0], "hflip", strlen("hflip"))) { in GetDynamicBWLimits()
198 if (!strncmp(tokens[0], "hw_rev", strlen("hw_rev"))) { in GetHWResourceInfo()
200 } else if (!strncmp(tokens[0], "rot_input_fmts", strlen("rot_input_fmts"))) { in GetHWResourceInfo()
[all …]
Dhw_device.cpp729 if (!strncmp(tokens[0], "panel_name", strlen("panel_name"))) { in GetHWPanelNameByNode()
763 if (!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in GetHWPanelInfoByNode()
765 } else if (!strncmp(tokens[0], "xstart", strlen("xstart"))) { in GetHWPanelInfoByNode()
767 } else if (!strncmp(tokens[0], "walign", strlen("walign"))) { in GetHWPanelInfoByNode()
769 } else if (!strncmp(tokens[0], "ystart", strlen("ystart"))) { in GetHWPanelInfoByNode()
771 } else if (!strncmp(tokens[0], "halign", strlen("halign"))) { in GetHWPanelInfoByNode()
773 } else if (!strncmp(tokens[0], "min_w", strlen("min_w"))) { in GetHWPanelInfoByNode()
775 } else if (!strncmp(tokens[0], "min_h", strlen("min_h"))) { in GetHWPanelInfoByNode()
777 } else if (!strncmp(tokens[0], "roi_merge", strlen("roi_merge"))) { in GetHWPanelInfoByNode()
779 } else if (!strncmp(tokens[0], "dyn_fps_en", strlen("dyn_fps_en"))) { in GetHWPanelInfoByNode()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
Dmdp_version.cpp144 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
147 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
150 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
153 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
174 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
180 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
184 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
188 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
192 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
196 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dx86.c51 if (strncmp(line, "GalileoGen2", 11) == 0) { in mraa_x86_platform()
54 } else if (strncmp(line, "BODEGA BAY", 10) == 0) { in mraa_x86_platform()
57 } else if (strncmp(line, "SALT BAY", 8) == 0) { in mraa_x86_platform()
60 } else if (strncmp(line, "DE3815", 6) == 0) { in mraa_x86_platform()
63 … } else if (strncmp(line, "NUC5i5MYBE", 10) == 0 || strncmp(line, "NUC5i3MYBE", 10) == 0) { in mraa_x86_platform()
66 } else if (strncmp(line, "NOTEBOOK", 8) == 0) { in mraa_x86_platform()
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp284 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setHardwareParams()
285 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setHardwareParams()
360 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setSoftwareParams()
361 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setSoftwareParams()
415 …if (!strncmp(curRxUCMDevice, SND_USE_CASE_DEV_SPEAKER, MAX_LEN(curRxUCMDevice, SND_USE_CASE_DEV_SP… in switchDevice()
456 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in switchDevice()
457 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in switchDevice()
468 if (((strncmp(rxDevice, curRxUCMDevice, MAX_STR_LEN)) || in switchDevice()
469 (strncmp(txDevice, curTxUCMDevice, MAX_STR_LEN))) && in switchDevice()
492 if ((strncmp(curRxUCMDevice, "None", 4)) && in switchDevice()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c125 if (!strncmp(identifier, "_verbs", 6)) { in snd_use_case_get_list()
126 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], in snd_use_case_get_list()
135 } else if (!strncmp(identifier, "_devices", 8)) { in snd_use_case_get_list()
136 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
143 while(strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
150 while(strncmp(verb_list[verb_index].device_list[index], in snd_use_case_get_list()
159 } else if (!strncmp(identifier, "_modifiers", 10)) { in snd_use_case_get_list()
160 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
167 while(strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
174 while(strncmp(verb_list[verb_index].modifier_list[index], in snd_use_case_get_list()
[all …]
/hardware/akm/AK8975_FS/akmdfs/
DAKFS_Disp.c80 if (!strncmp(msg, "1", 1)) { in Menu_Main()
82 } else if (!strncmp(msg, "2", 1)) { in Menu_Main()
84 } else if (strncmp(msg, "Q", 1) == 0 || strncmp(msg, "q", 1) == 0) { in Menu_Main()
DAKFS_FileIO.c61 if (strncmp(buf, "HO.x", sizeof(buf)) != 0) { in AKFS_LoadParameters()
68 if (strncmp(buf, "HO.y", sizeof(buf)) != 0) { in AKFS_LoadParameters()
75 if (strncmp(buf, "HO.z", sizeof(buf)) != 0) { in AKFS_LoadParameters()
/hardware/qcom/display/msm8960/libqdutils/
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
Dmdp_version.cpp57 if(!strncmp(fb_finfo.id, "msmfb", 5)) { in MDPVersion()
72 } else if (!strncmp(fb_finfo.id, "mdssfb", 6)) { in MDPVersion()
/hardware/qcom/power/
Dpower.c126 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) { in process_video_encode_hint()
130 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) { in process_video_encode_hint()
134 } else if (!strncmp(metadata, STATE_HDR_ON, sizeof(STATE_HDR_ON))) { in process_video_encode_hint()
136 } else if (!strncmp(metadata, STATE_HDR_OFF, sizeof(STATE_HDR_OFF))) { in process_video_encode_hint()
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c599 if (!strncmp(snd_card_name, "msm8939-tapan-snd-card", in update_codec_type()
601 !strncmp(snd_card_name, "msm8939-tapan9302-snd-card", in update_codec_type()
603 !strncmp(snd_card_name, "msm8939-tomtom9330-snd-card", in update_codec_type()
605 !strncmp(snd_card_name, "msm8x09-tasha9326-snd-card", in update_codec_type()
615 if (!strncmp(snd_card_name, "msm8x16-snd-card-mtp", in query_platform()
624 } else if (!strncmp(snd_card_name, "msm8x16-snd-card-sbc", in query_platform()
633 } else if (!strncmp(snd_card_name, "msm8x16-skuh-snd-card", in query_platform()
642 } else if (!strncmp(snd_card_name, "msm8x16-skui-snd-card", in query_platform()
651 } else if (!strncmp(snd_card_name, "msm8x16-skuhf-snd-card", in query_platform()
660 } else if (!strncmp(snd_card_name, "msm8939-snd-card-mtp", in query_platform()
[all …]
/hardware/qcom/display/msm8996/libqdutils/
Dqd_utils.cpp85 if (strncmp(tokens[0], "features", strlen("features"))) { in querySDEInfo()
90 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfo()
114 if(strncmp(fbType, "dtv panel", strlen("dtv panel")) == 0) { in getHDMINode()
/hardware/qcom/audio/hal/msm8974/
Dhw_info.c74 if (!strncmp(tmp_handle->form_factor, "fluid", sizeof("fluid"))) { in update_hardware_info_8996()
77 } else if (!strncmp(tmp_handle->form_factor, "liquid", sizeof("liquid"))) { in update_hardware_info_8996()
80 } else if (!strncmp(tmp_handle->form_factor, "db", sizeof("db"))) { in update_hardware_info_8996()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp206 if (!strncmp((char *)m_nkind,"OMX.qcom.video.encoder.mpeg4",\ in component_init()
211 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in component_init()
215 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in component_init()
219 } else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc.secure",\ in component_init()
226 else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.vp8", \ in component_init()
232 else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.hevc", \ in component_init()
236 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.hevc.secure", \ in component_init()
955 if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.mpeg4",\ in set_parameter()
961 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in set_parameter()
967 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in set_parameter()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp133 if (!strncmp((char *)m_nkind,"OMX.qcom.video.encoder.mpeg4",\ in component_init()
138 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in component_init()
142 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in component_init()
146 } else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc.secure",\ in component_init()
153 else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.vp8", \ in component_init()
159 else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.hevc", \ in component_init()
163 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.hevc.secure", \ in component_init()
920 if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.mpeg4",\ in set_parameter()
926 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in set_parameter()
932 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in set_parameter()
[all …]
/hardware/qcom/gps/msm8909/core/
Dgps_extended.h79 !strncmp(anotherMode.credentials, credentials, sizeof(credentials)-1) && in equals()
80 !strncmp(anotherMode.provider, provider, sizeof(provider)-1); in equals()
/hardware/qcom/gps/core/
Dgps_extended.h79 !strncmp(anotherMode.credentials, credentials, sizeof(credentials)-1) && in equals()
80 !strncmp(anotherMode.provider, provider, sizeof(provider)-1); in equals()

123456789