Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 25 of 73) sorted by relevance

123

/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_dump_layers.cpp70 strlcpy(mDisplayName, "external", sizeof(mDisplayName)); in HwcDebug()
72 strlcpy(mDisplayName, "primary", sizeof(mDisplayName)); in HwcDebug()
123 strlcpy(mDumpPropStrPng, dumpPropStr, sizeof(mDumpPropStrPng)); in needToDumpLayers()
153 strlcpy(mDumpPropStrRaw, dumpPropStr, sizeof(mDumpPropStrRaw)); in needToDumpLayers()
388 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
391 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
394 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
397 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr)); in getHalPixelFormatStr()
400 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
403 strlcpy(pixFormatStr, "RGBA_5551", sizeof(pixFormatStr)); in getHalPixelFormatStr()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_dump_layers.cpp66 strlcpy(mDisplayName, "external", sizeof(mDisplayName)); in HwcDebug()
68 strlcpy(mDisplayName, "primary", sizeof(mDisplayName)); in HwcDebug()
119 strlcpy(mDumpPropStrPng, dumpPropStr, sizeof(mDumpPropStrPng)); in needToDumpLayers()
149 strlcpy(mDumpPropStrRaw, dumpPropStr, sizeof(mDumpPropStrRaw)); in needToDumpLayers()
379 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
382 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
385 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
388 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr)); in getHalPixelFormatStr()
391 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
394 strlcpy(pixFormatStr, "YV12", sizeof(pixFormatStr)); in getHalPixelFormatStr()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_dump_layers.cpp66 strlcpy(mDisplayName, "external", sizeof(mDisplayName)); in HwcDebug()
68 strlcpy(mDisplayName, "primary", sizeof(mDisplayName)); in HwcDebug()
119 strlcpy(mDumpPropStrPng, dumpPropStr, sizeof(mDumpPropStrPng)); in needToDumpLayers()
149 strlcpy(mDumpPropStrRaw, dumpPropStr, sizeof(mDumpPropStrRaw)); in needToDumpLayers()
379 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
382 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
385 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
388 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr)); in getHalPixelFormatStr()
391 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr)); in getHalPixelFormatStr()
394 strlcpy(pixFormatStr, "YV12", sizeof(pixFormatStr)); in getHalPixelFormatStr()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read()
158 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL, in read()
165 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read()
171 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_DL, in read()
177 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_FM, sizeof(mHandle->useCase)); in read()
179strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_A2DP_FM, sizeof(mHandle->useCase)); in read()
182 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase)); in read()
187strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_LOWLATENCY_MUSIC, sizeof(mHandle->useCase)); in read()
189strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, sizeof(mHandle->useCase)); in read()
201 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_INCALL_REC, in read()
[all …]
DAudioHardwareALSA.cpp791strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase)); in openOutputStream()
793 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(alsa_handle.useCase)); in openOutputStream()
882 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI2 , sizeof(alsa_handle.useCase)); in openOutputStream()
884 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC2, sizeof(alsa_handle.useCase)); in openOutputStream()
936 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI, sizeof(alsa_handle.useCase)); in openOutputStream()
938strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
945strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
947strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
1031strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_TUNNEL, sizeof(alsa_handle.useCase)); in openOutputSession()
1033 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_TUNNEL, sizeof(alsa_handle.useCase)); in openOutputSession()
[all …]
DAudioStreamOutALSA.cpp132 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, in write()
135 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI2, in write()
138 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI, in write()
141 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, in write()
146 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, in write()
149 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_MUSIC2, in write()
152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_MUSIC, in write()
155 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC, in write()
Dalsa_default.cpp172 strlcpy(mic_type, value, sizeof(mic_type)); in s_device_open()
179 strlcpy(curRxUCMDevice, "None", sizeof(curRxUCMDevice)); in s_device_open()
180 strlcpy(curTxUCMDevice, "None", sizeof(curTxUCMDevice)); in s_device_open()
222 strlcpy(ident, "CapturePCM/", sizeof(ident)); in deviceName()
224 strlcpy(ident, "PlaybackPCM/", sizeof(ident)); in deviceName()
499 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN); in switchDevice()
509 strlcpy(useCaseNode.useCase, mods_list[index], MAX_STR_LEN); in switchDevice()
526 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN); in switchDevice()
536 strlcpy(useCaseNode.useCase, mods_list[index], MAX_STR_LEN); in switchDevice()
549 strlcpy(curRxUCMDevice, rxDevice, sizeof(curRxUCMDevice)); in switchDevice()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c39 #define strlcpy g_strlcpy macro
300 strlcpy(ident, identifier, sizeof(ident)); in snd_use_case_get()
479 strlcpy(ident, identifier, sizeof(ident)); in snd_use_case_geti()
1011 strlcpy(use_case, ident, sizeof(use_case)); in set_controls_of_usecase_for_all_devices()
1079 strlcpy(use_case, ident, sizeof(use_case)); in set_controls_of_usecase_for_device()
1134 strlcpy(use_case, uc_mgr->card_ctxt_ptr->current_verb, in set_controls_of_device_for_all_usecases()
1176 strlcpy(use_case, uc_mgr->card_ctxt_ptr->current_verb, in set_controls_of_device_for_all_usecases()
1206 strlcpy(use_case, ident_value, sizeof(use_case)); in set_controls_of_device_for_all_usecases()
1248 strlcpy(use_case, ident_value, sizeof(use_case)); in set_controls_of_device_for_all_usecases()
1324 strlcpy(use_case, usecase, sizeof(use_case)); in set_controls_of_device_for_usecase()
[all …]
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp557 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
561 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
565 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
569 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
616 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
685 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
689 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
693 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
697 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
Dloc_eng_agps.h365 strlcpy(mSSID, ssid, SSID_BUF_SIZE); in WIFISubscriber()
367 strlcpy(mPassword, password, SSID_BUF_SIZE); in WIFISubscriber()
378 strlcpy(ssid, mSSID, SSID_BUF_SIZE); in setWifiInfo()
382 strlcpy(password, mPassword, SSID_BUF_SIZE); in setWifiInfo()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp564 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
568 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
572 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
576 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
644 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
722 strlcpy(sentence, "$GLGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
796 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
800 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
804 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
808 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
Dloc_eng_agps.h372 strlcpy(mSSID, ssid, SSID_BUF_SIZE); in WIFISubscriber()
374 strlcpy(mPassword, password, SSID_BUF_SIZE); in WIFISubscriber()
388 strlcpy(ssid, mSSID, SSID_BUF_SIZE); in setWifiInfo()
392 strlcpy(password, mPassword, SSID_BUF_SIZE); in setWifiInfo()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp561 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
565 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
569 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
573 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
641 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
719 strlcpy(sentence, "$GLGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
793 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
797 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
801 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
805 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
Dloc_eng_agps.h373 strlcpy(mSSID, ssid, SSID_BUF_SIZE); in WIFISubscriber()
375 strlcpy(mPassword, password, SSID_BUF_SIZE); in WIFISubscriber()
389 strlcpy(ssid, mSSID, SSID_BUF_SIZE); in setWifiInfo()
393 strlcpy(password, mPassword, SSID_BUF_SIZE); in setWifiInfo()
/hardware/qcom/gps/msm8974/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp561 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
565 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
569 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_pos()
573 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos()
641 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
719 strlcpy(sentence, "$GLGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
793 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
797 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
801 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_sv()
805 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
Dloc_eng_agps.h373 strlcpy(mSSID, ssid, SSID_BUF_SIZE); in WIFISubscriber()
375 strlcpy(mPassword, password, SSID_BUF_SIZE); in WIFISubscriber()
389 strlcpy(ssid, mSSID, SSID_BUF_SIZE); in setWifiInfo()
393 strlcpy(password, mPassword, SSID_BUF_SIZE); in setWifiInfo()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Drb_wrapper.cpp49 strlcpy(rb_info->name, name, MAX_RB_NAME_SIZE); in rb_init()
71 strlcpy((char *)rbs->name, rb_info->name, MAX_RB_NAME_SIZE); in get_rb_status()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp39 #define strlcpy g_strlcpy macro
130 strlcpy((char *)m_nkind,role,OMX_MAX_STRINGNAME_SIZE); in component_init()
135 strlcpy((char *)m_cRole, "video_encoder.mpeg4",\ in component_init()
140 strlcpy((char *)m_cRole, "video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init()
144 strlcpy((char *)m_cRole, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init()
148 strlcpy((char *)m_cRole, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init()
155 strlcpy((char *)m_cRole, "video_encoder.vp8",OMX_MAX_STRINGNAME_SIZE); in component_init()
161 strlcpy((char *)m_cRole, "video_encoder.hevc", OMX_MAX_STRINGNAME_SIZE); in component_init()
165 strlcpy((char *)m_cRole, "video_encoder.hevc", OMX_MAX_STRINGNAME_SIZE); in component_init()
975 strlcpy((char*)m_cRole,"video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp40 #define strlcpy g_strlcpy macro
108 strlcpy((char *)m_nkind,role,OMX_MAX_STRINGNAME_SIZE); in component_init()
113 strlcpy((char *)m_cRole, "video_encoder.mpeg4",\ in component_init()
120 strlcpy((char *)m_cRole, "video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init()
126 strlcpy((char *)m_cRole, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init()
132 strlcpy((char *)m_cRole, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init()
831 strlcpy((char*)m_cRole,"video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
843 strlcpy((char*)m_cRole,"video_encoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
855 strlcpy((char*)m_cRole,"video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
/hardware/qcom/gps/msm8974/platform_lib_abstractions/
Dplatform_lib_macros.h50 #define strlcpy g_strlcpy macro
/hardware/qcom/gps/msm8960/platform_lib_abstractions/
Dplatform_lib_macros.h50 #define strlcpy g_strlcpy macro
/hardware/qcom/gps/msm8084/platform_lib_abstractions/
Dplatform_lib_macros.h50 #define strlcpy g_strlcpy macro
/hardware/qcom/gps/platform_lib_abstractions/
Dplatform_lib_macros.h50 #define strlcpy g_strlcpy macro
/hardware/qcom/media/mm-core/omxcore/src/common/
Dqc_omx_core.c628 strlcpy(componentName, core[index].name,nameLen); in OMX_ComponentNameEnum()
706 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); in OMX_GetComponentsOfRole()
794 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent()
/hardware/qcom/media/mm-core/src/common/
Dqc_omx_core.c613 strlcpy(componentName, core[index].name,nameLen); in OMX_ComponentNameEnum()
691 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); in OMX_GetComponentsOfRole()
779 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent()

123