/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioStreamInALSA.cpp | 152 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() 179 … strlcpy(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() 187 … strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_LOWLATENCY_MUSIC, sizeof(mHandle->useCase)); in read() 189 … strlcpy(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 …]
|
D | AudioHardwareALSA.cpp | 791 … strlcpy(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() 938 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream() 945 …strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream() 947 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream() 1031 … strlcpy(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 …]
|
D | AudioStreamOutALSA.cpp | 132 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()
|
D | alsa_default.cpp | 172 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/ |
D | alsa_ucm.c | 39 #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 …]
|
D | alsa_pcm.c | 26 #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()
|
D | arec.c | 42 #define strlcpy g_strlcpy macro 600 strlcpy(filename, argv[optind++], 30); in main()
|
D | aplay.c | 34 #define strlcpy g_strlcpy macro 653 strlcpy(filename, argv[optind++], 30); in main()
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
D | omx_video_encoder.cpp | 40 #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()
|
D | omx_video_base.cpp | 54 #define strlcpy g_strlcpy macro 1696 strlcpy((char*)comp_role->cRole,(const char*)m_cRole,OMX_MAX_STRINGNAME_SIZE); in get_parameter() 3669 strlcpy((char *)role, "video_decoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3681 strlcpy((char *)role, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3694 strlcpy((char *)role, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3707 strlcpy((char *)role, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3720 strlcpy((char *)role, "video_encoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3732 strlcpy((char *)role, "video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3745 strlcpy((char *)role, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 40 #define strlcpy g_strlcpy macro 110 strlcpy((char *)m_nkind,role,OMX_MAX_STRINGNAME_SIZE); in component_init() 114 strlcpy((char *)m_cRole, "video_encoder.mpeg4",\ in component_init() 119 strlcpy((char *)m_cRole, "video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init() 123 strlcpy((char *)m_cRole, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init() 129 strlcpy((char *)m_cRole, "video_encoder.vp8",OMX_MAX_STRINGNAME_SIZE); in component_init() 813 strlcpy((char*)m_cRole,"video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in set_parameter() 820 strlcpy((char*)m_cRole,"video_encoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in set_parameter() 827 strlcpy((char*)m_cRole,"video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in set_parameter() 836 strlcpy((char*)m_cRole,"video_encoder.vp8",OMX_MAX_STRINGNAME_SIZE); in set_parameter()
|
D | omx_video_base.cpp | 54 #define strlcpy g_strlcpy macro 1575 strlcpy((char*)comp_role->cRole,(const char*)m_cRole,OMX_MAX_STRINGNAME_SIZE); in get_parameter() 3442 strlcpy((char *)role, "video_decoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3449 strlcpy((char *)role, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3457 strlcpy((char *)role, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3465 strlcpy((char *)role, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3474 strlcpy((char *)role, "video_encoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3481 strlcpy((char *)role, "video_encoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3489 strlcpy((char *)role, "video_encoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_role_enum() 3499 strlcpy((char *)role, "video_encoder.vp8",OMX_MAX_STRINGNAME_SIZE); in component_role_enum()
|
/hardware/qcom/media/mm-core/omxcore/src/common/ |
D | qc_omx_core.c | 628 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/ |
D | qc_omx_core.c | 611 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/libhardware/ |
D | hardware.c | 133 strlcpy(name, class_id, PATH_MAX); in hw_get_module_by_class()
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 72 #define strlcpy g_strlcpy macro 1243 strlcpy(in_filename, argv[1], strlen(argv[1])+1); in main() 1245 strlcpy(crclogname, argv[1], strlen(argv[1])+1); in main() 1255 strlcpy(seq_file_name, argv[next_arg],strlen(argv[next_arg]) + 1); in main() 1779 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.avc", 27); in Init_Decoder() 1782 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.mpeg4", 29); in Init_Decoder() 1784 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.h263", 28); in Init_Decoder() 1786 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.vc1", 27); in Init_Decoder() 1788 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.mpeg2", 29); in Init_Decoder() 1790 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.wmv", 27); in Init_Decoder() [all …]
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 70 #define strlcpy g_strlcpy macro 1109 strlcpy(in_filename, argv[1], strlen(argv[1])+1); in main() 1120 strlcpy(seq_file_name, argv[next_arg],strlen(argv[next_arg]) + 1); in main() 1664 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.avc", 27); in Init_Decoder() 1669 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.mpeg4", 29); in Init_Decoder() 1673 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.h263", 28); in Init_Decoder() 1677 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.vc1", 27); in Init_Decoder() 1681 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.mpeg2", 29); in Init_Decoder() 1685 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.wmv", 27); in Init_Decoder() 1689 strlcpy(vdecCompNames, "OMX.qcom.video.decoder.divx", 28); in Init_Decoder() [all …]
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 1268 strlcpy(drv_ctx.kind,role,128); in component_init() 1272 strlcpy((char *)m_cRole, "video_decoder.mpeg4",\ in component_init() 1286 strlcpy((char *)m_cRole, "video_decoder.mpeg2",\ in component_init() 1299 strlcpy((char *)m_cRole, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init() 1311 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1326 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1342 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1359 strlcpy((char *)m_cRole, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init() 1371 strlcpy((char *)m_cRole, "video_decoder.hevc",OMX_MAX_STRINGNAME_SIZE); in component_init() 1383 strlcpy((char *)m_cRole, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_init() [all …]
|
D | omx_vdec.cpp | 158 #define strlcpy g_strlcpy macro 1239 strlcpy(drv_ctx.kind,role,128); in component_init() 1243 strlcpy((char *)m_cRole, "video_decoder.mpeg4",\ in component_init() 1256 strlcpy((char *)m_cRole, "video_decoder.mpeg2",\ in component_init() 1268 strlcpy((char *)m_cRole, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init() 1282 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1300 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1318 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1340 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1362 strlcpy((char *)m_cRole, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init() [all …]
|
D | omx_vdec_msm8974.cpp | 1387 strlcpy(drv_ctx.kind,role,128); in component_init() 1391 strlcpy((char *)m_cRole, "video_decoder.mpeg4",\ in component_init() 1405 strlcpy((char *)m_cRole, "video_decoder.mpeg2",\ in component_init() 1418 strlcpy((char *)m_cRole, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init() 1430 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1445 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1461 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1478 strlcpy((char *)m_cRole, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init() 1490 strlcpy((char *)m_cRole, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_init() 1501 strlcpy((char *)m_cRole, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_init() [all …]
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 1227 strlcpy(drv_ctx.kind,role,128); in component_init() 1231 strlcpy((char *)m_cRole, "video_decoder.mpeg4",\ in component_init() 1246 strlcpy((char *)m_cRole, "video_decoder.mpeg2",\ in component_init() 1260 strlcpy((char *)m_cRole, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init() 1273 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1285 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1298 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1311 strlcpy((char *)m_cRole, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init() 1325 strlcpy((char *)m_cRole, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_init() 1337 strlcpy((char *)m_cRole, "video_decoder.vc1",OMX_MAX_STRINGNAME_SIZE); in component_init() [all …]
|
D | omx_vdec.cpp | 144 #define strlcpy g_strlcpy macro 1243 strlcpy(drv_ctx.kind,role,128); in component_init() 1247 strlcpy((char *)m_cRole, "video_decoder.mpeg4",\ in component_init() 1262 strlcpy((char *)m_cRole, "video_decoder.mpeg2",\ in component_init() 1276 strlcpy((char *)m_cRole, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); in component_init() 1290 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1308 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1326 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1346 strlcpy((char *)m_cRole, "video_decoder.divx",OMX_MAX_STRINGNAME_SIZE); in component_init() 1366 strlcpy((char *)m_cRole, "video_decoder.avc",OMX_MAX_STRINGNAME_SIZE); in component_init() [all …]
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
D | hwc.cpp | 587 strlcpy(buff, aBuf.string(), buff_len); in hwc_dump()
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc.cpp | 586 strlcpy(buff, aBuf.string(), buff_len); in hwc_dump()
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc.cpp | 687 strlcpy(buff, aBuf.string(), buff_len); in hwc_dump()
|