Home
last modified time | relevance | path

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

12

/hardware/qcom/audio/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.cpp790strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase)); in openOutputStream()
792 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(alsa_handle.useCase)); in openOutputStream()
879 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI2 , sizeof(alsa_handle.useCase)); in openOutputStream()
881 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC2, sizeof(alsa_handle.useCase)); in openOutputStream()
932 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI, sizeof(alsa_handle.useCase)); in openOutputStream()
934strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
941strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
943strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
1026strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_TUNNEL, sizeof(alsa_handle.useCase)); in openOutputSession()
1028 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/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 …]
Dalsa_pcm.c26 #define strlcpy g_strlcpy macro
784 strlcpy(dname, "/dev/snd/pcmC", sizeof(dname)); in pcm_open()
798 strlcpy(dname, "/dev/snd/pcmC", sizeof(dname)); in pcm_open()
Darec.c42 #define strlcpy g_strlcpy macro
600 strlcpy(filename, argv[optind++], 30); in main()
Daplay.c34 #define strlcpy g_strlcpy macro
653 strlcpy(filename, argv[optind++], 30); in main()
/hardware/qcom/gps/loc_api/loc_api_v02/
Dloc_util_log.h68 #define strlcpy(X,Y,Z) strcpy(X,Y) macro
DLocApiV02Adapter.cpp852 strlcpy(set_server_req.urlAddr, url, sizeof(set_server_req.urlAddr)); in setServer()
1031 strlcpy(conn_status_req.apnProfile.apnName, apn, in atlOpenStatus()
1110 strlcpy(conn_status_req.apnProfile.apnName, apn, in atlOpenStatus()
/hardware/qcom/media/mm-video/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()
817 strlcpy((char*)m_cRole,"video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
829 strlcpy((char*)m_cRole,"video_encoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
841 strlcpy((char*)m_cRole,"video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
Domx_video_base.cpp54 #define strlcpy g_strlcpy macro
1692 strlcpy((char*)comp_role->cRole,(const char*)m_cRole,OMX_MAX_STRINGNAME_SIZE); in get_parameter()
3637 strlcpy((char *)role, "video_decoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
3649 strlcpy((char *)role, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
3662 strlcpy((char *)role, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
3675 strlcpy((char *)role, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
3688 strlcpy((char *)role, "video_encoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
3700 strlcpy((char *)role, "video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
3713 strlcpy((char *)role, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
/hardware/qcom/media/mm-core/src/common/
Dqc_omx_core.c611 strlcpy(componentName, core[index].name,nameLen); in OMX_ComponentNameEnum()
689 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); in OMX_GetComponentsOfRole()
777 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent()
/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/libhardware/
Dhardware.c133 strlcpy(name, class_id, PATH_MAX); in hw_get_module_by_class()
/hardware/qcom/gps/loc_api/libloc_api/
Dloc_eng_ni.cpp254 strlcpy(notif.text, "[text]", sizeof notif.text); // defaults in loc_ni_request_handler()
255 strlcpy(notif.requestor_id, "[requestor id]", sizeof notif.requestor_id); in loc_ni_request_handler()
/hardware/qcom/gps/utils/
Dloc_cfg.cpp244 strlcpy((char*) loc_parameter_table[i].param_ptr, in loc_read_gps_conf()
/hardware/qcom/media/mm-video/vidc/vdec/test/
Domx_vdec_test.cpp68 #define strlcpy g_strlcpy macro
1107 strlcpy(in_filename, argv[1], strlen(argv[1])+1); in main()
1118 strlcpy(seq_file_name, argv[next_arg],strlen(argv[next_arg]) + 1); in main()
1662 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.avc", 27); in Init_Decoder()
1667 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.mpeg4", 29); in Init_Decoder()
1671 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.h263", 28); in Init_Decoder()
1675 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.vc1", 27); in Init_Decoder()
1679 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.mpeg2", 29); in Init_Decoder()
1683 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.wmv", 27); in Init_Decoder()
1687 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.divx", 28); in Init_Decoder()
[all …]
/hardware/qcom/media/mm-video/vidc/vdec/src/
Domx_vdec_copper.cpp1234 strlcpy(drv_ctx.kind,role,128); in component_init()
1238 strlcpy((char *)m_cRole, "video_decoder.mpeg4",\ in component_init()
1253 strlcpy((char *)m_cRole, "video_decoder.mpeg2",\ in component_init()
1267 strlcpy((char *)m_cRole, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init()
1280 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init()
1292 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init()
1305 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init()
1318 strlcpy((char *)m_cRole, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init()
1332 strlcpy((char *)m_cRole, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_init()
1344 strlcpy((char *)m_cRole, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_init()
[all …]
Domx_vdec.cpp147 #define strlcpy g_strlcpy macro
1228 strlcpy(drv_ctx.kind,role,128); in component_init()
1232 strlcpy((char *)m_cRole, "video_decoder.mpeg4",\ in component_init()
1247 strlcpy((char *)m_cRole, "video_decoder.mpeg2",\ in component_init()
1261 strlcpy((char *)m_cRole, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init()
1275 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init()
1293 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init()
1311 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init()
1331 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init()
1351 strlcpy((char *)m_cRole, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpcAdapter.cpp520 strlcpy(server_info_ptr->addr_info.rpc_loc_server_addr_u_type_u.url.addr, url, in setServer()
902 strlcpy(conn_open_status_ptr->apn_name, apn, in atlOpenStatus()
921 strlcpy(conn_multi_open_status_ptr->apn_name, apn, in atlOpenStatus()
/hardware/libhardware_legacy/wifi/
Dwifi.c508 if (strlcpy(namep, entry.d_name, maxcopy) < maxcopy) { in wifi_wpa_ctrl_cleanup()
689 strlcpy(path, primary_iface, sizeof(path)); in wifi_connect_to_supplicant()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng.cpp1108 strlcpy(loc_eng_data.supl_host_buf, hostname, in loc_eng_set_server_proxy()
1114 strlcpy(loc_eng_data.c2k_host_buf, hostname, in loc_eng_set_server_proxy()
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp1879 strlcpy(buff, result.string(), buff_len); in exynos5_dump()
/hardware/qcom/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp3044 strlcpy(temp.values, str_val, MAX_EXP_BRACKETING_LENGTH); in setAEBracket()

12