/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_dump_layers.cpp | 70 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/msm8084/libhwcomposer/ |
D | hwc_dump_layers.cpp | 66 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/msm8226/libhwcomposer/ |
D | hwc_dump_layers.cpp | 66 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/msm8909/libhwcomposer/ |
D | hwc_dump_layers.cpp | 71 strlcpy(mDisplayName, "external", sizeof(mDisplayName)); in HwcDebug() 73 strlcpy(mDisplayName, "primary", sizeof(mDisplayName)); in HwcDebug() 124 strlcpy(mDumpPropStrPng, dumpPropStr, sizeof(mDumpPropStrPng)); in needToDumpLayers() 154 strlcpy(mDumpPropStrRaw, dumpPropStr, sizeof(mDumpPropStrRaw)); in needToDumpLayers() 387 strlcpy(pixFormatStr, "RGBA_8888", arraySize); in getHalPixelFormatStr() 390 strlcpy(pixFormatStr, "RGBX_8888", arraySize); in getHalPixelFormatStr() 393 strlcpy(pixFormatStr, "RGB_888", arraySize); in getHalPixelFormatStr() 396 strlcpy(pixFormatStr, "RGB_565", arraySize); in getHalPixelFormatStr() 399 strlcpy(pixFormatStr, "BGRA_8888", arraySize); in getHalPixelFormatStr() 402 strlcpy(pixFormatStr, "YV12", arraySize); in getHalPixelFormatStr() [all …]
|
/hardware/qcom/audio/hal/msm8916/ |
D | hw_info.c | 46 strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); in update_hardware_info_8x16() 49 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); in update_hardware_info_8x16() 52 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16() 54 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16() 74 strlcpy(hw_info->type, "", sizeof(hw_info->type)); in hw_info_init() 75 strlcpy(hw_info->name, "", sizeof(hw_info->name)); in hw_info_init() 78 strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); in hw_info_init()
|
/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()
|
/hardware/qcom/audio/hal/msm8974/ |
D | hw_info.c | 70 strlcpy(hw_info->name, tmp_handle->device, sizeof(hw_info->name)); in update_hardware_info_8996() 112 strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); in hw_info_init() 113 strlcpy(hw_info->type, "", sizeof(hw_info->type)); in hw_info_init() 114 strlcpy(hw_info->name, "", sizeof(hw_info->name)); in hw_info_init()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | audio_extn.c | 65 strlcpy(cur_snd_card_split.device, device, HW_INFO_ARRAY_MAX_SIZE); in audio_extn_set_snd_card_split() 72 strlcpy(cur_snd_card_split.snd_card, snd_card, HW_INFO_ARRAY_MAX_SIZE); in audio_extn_set_snd_card_split() 79 strlcpy(cur_snd_card_split.form_factor, form_factor, HW_INFO_ARRAY_MAX_SIZE); in audio_extn_set_snd_card_split()
|
/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 …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 556 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos() 560 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_pos() 564 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_pos() 568 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos() 615 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 684 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 688 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_sv() 692 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_sv() 696 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
|
D | loc_eng_agps.h | 365 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/msm8998/utils/platform_lib_abstractions/loc_pla/include/ |
D | platform_lib_macros.h | 43 #define strlcpy g_strlcpy macro 46 #define strlcpy strncpy
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 563 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos() 567 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_pos() 571 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_pos() 575 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos() 643 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 721 strlcpy(sentence, "$GLGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 795 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 799 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_sv() 803 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_sv() 807 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
|
D | loc_eng_agps.h | 372 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/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 564 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()
|
D | loc_eng_agps.h | 372 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/ |
D | loc_eng_nmea.cpp | 560 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos() 564 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_pos() 568 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_pos() 572 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_pos() 640 strlcpy(sentence, "$GPGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 718 strlcpy(sentence, "$GLGSV,1,1,0,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 792 strlcpy(sentence, "$GPGSA,A,1,,,,,,,,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv() 796 strlcpy(sentence, "$GPVTG,,T,,M,,N,,K,N", sizeof(sentence)); in loc_eng_nmea_generate_sv() 800 strlcpy(sentence, "$GPRMC,,V,,,,,,,,,,N", sizeof(sentence)); in loc_eng_nmea_generate_sv() 804 strlcpy(sentence, "$GPGGA,,,,,,0,,,,,,,,", sizeof(sentence)); in loc_eng_nmea_generate_sv()
|
D | loc_eng_agps.h | 373 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/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 372 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/msm8998/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 376 strlcpy(mSSID, ssid, SSID_BUF_SIZE); in WIFISubscriber() 378 strlcpy(mPassword, password, SSID_BUF_SIZE); in WIFISubscriber() 392 strlcpy(ssid, mSSID, SSID_BUF_SIZE); in setWifiInfo() 396 strlcpy(password, mPassword, SSID_BUF_SIZE); in setWifiInfo()
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 372 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/media/msm8996/mm-core/src/common/ |
D | qc_omx_core.c | 418 strlcpy(optComponentName, componentName, OMX_MAX_STRINGNAME_SIZE); in OMX_GetHandle() 457 strlcpy(optComponentName, componentName, OMX_MAX_STRINGNAME_SIZE); in OMX_GetHandle() 711 strlcpy(componentName, core[index].name,nameLen); in OMX_ComponentNameEnum() 789 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); in OMX_GetComponentsOfRole() 877 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent()
|
/hardware/qcom/media/msm8998/mm-core/src/common/ |
D | qc_omx_core.c | 418 strlcpy(optComponentName, componentName, OMX_MAX_STRINGNAME_SIZE); in OMX_GetHandle() 457 strlcpy(optComponentName, componentName, OMX_MAX_STRINGNAME_SIZE); in OMX_GetHandle() 713 strlcpy(componentName, core[index].name,nameLen); in OMX_ComponentNameEnum() 791 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); in OMX_GetComponentsOfRole() 879 strlcpy((char *)roles[*numRoles],core[i].roles[j],OMX_MAX_STRINGNAME_SIZE); in OMX_GetRolesOfComponent()
|