Home
last modified time | relevance | path

Searched refs:strdup (Results 1 – 25 of 44) sorted by relevance

12

/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp1325 return strdup(SND_USE_CASE_DEV_TTY_HEADSET_RX); in getUCMDevice()
1327 return strdup(SND_USE_CASE_DEV_TTY_FULL_RX); in getUCMDevice()
1329 return strdup(SND_USE_CASE_DEV_TTY_HANDSET_RX); /* HANDSET RX */ in getUCMDevice()
1333 return strdup(SND_USE_CASE_DEV_PROXY_RX); /* PROXY RX */ in getUCMDevice()
1338 … return strdup(SND_USE_CASE_DEV_SPEAKER_ANC_HEADSET); /* COMBO SPEAKER+ANC HEADSET RX */ in getUCMDevice()
1340 return strdup(SND_USE_CASE_DEV_SPEAKER_HEADSET); /* COMBO SPEAKER+HEADSET RX */ in getUCMDevice()
1344 return strdup(SND_USE_CASE_DEV_HDMI_SPEAKER); in getUCMDevice()
1349 return strdup(SND_USE_CASE_DEV_SPEAKER_ANC_HEADSET); /* COMBO SPEAKER+ANC HEADSET RX */ in getUCMDevice()
1352 return strdup(SND_USE_CASE_DEV_SPEAKER_FM_TX); /* COMBO SPEAKER+FM_TX RX */ in getUCMDevice()
1357 … return strdup(SND_USE_CASE_DEV_VOC_EARPIECE_TMUS); /* Voice HANDSET RX for TMUS */ in getUCMDevice()
[all …]
Daudio_hw_hal.cpp239 return strdup(s8.string()); in out_get_parameters()
389 return strdup(s8.string()); in in_get_parameters()
503 return strdup(s8.string()); in adev_get_parameters()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1331 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC] = strdup("bt-sco"); in set_platform_defaults()
1332 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC_NREC] = strdup("bt-sco"); in set_platform_defaults()
1333 backend_tag_table[SND_DEVICE_OUT_BT_SCO] = strdup("bt-sco"); in set_platform_defaults()
1334 backend_tag_table[SND_DEVICE_OUT_HDMI] = strdup("hdmi"); in set_platform_defaults()
1335 backend_tag_table[SND_DEVICE_OUT_SPEAKER_AND_HDMI] = strdup("speaker-and-hdmi"); in set_platform_defaults()
1336 backend_tag_table[SND_DEVICE_OUT_BT_SCO_WB] = strdup("bt-sco-wb"); in set_platform_defaults()
1337 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC_WB] = strdup("bt-sco-wb"); in set_platform_defaults()
1338 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC_WB_NREC] = strdup("bt-sco-wb"); in set_platform_defaults()
1339 backend_tag_table[SND_DEVICE_OUT_VOICE_TX] = strdup("afe-proxy"); in set_platform_defaults()
1340 backend_tag_table[SND_DEVICE_IN_VOICE_RX] = strdup("afe-proxy"); in set_platform_defaults()
[all …]
/hardware/qcom/audio/hal/msm8916/
Dplatform.c731 backend_table[SND_DEVICE_IN_BT_SCO_MIC] = strdup("bt-sco"); in set_platform_defaults()
732 backend_table[SND_DEVICE_IN_BT_SCO_MIC_WB] = strdup("bt-sco-wb"); in set_platform_defaults()
733 backend_table[SND_DEVICE_IN_BT_SCO_MIC_NREC] = strdup("bt-sco"); in set_platform_defaults()
734 backend_table[SND_DEVICE_IN_BT_SCO_MIC_WB_NREC] = strdup("bt-sco-wb"); in set_platform_defaults()
735 backend_table[SND_DEVICE_OUT_BT_SCO] = strdup("bt-sco"); in set_platform_defaults()
736 backend_table[SND_DEVICE_OUT_BT_SCO_WB] = strdup("bt-sco-wb"); in set_platform_defaults()
737 backend_table[SND_DEVICE_OUT_BT_A2DP] = strdup("bt-a2dp"); in set_platform_defaults()
738 backend_table[SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP] = strdup("speaker-and-bt-a2dp"); in set_platform_defaults()
740 strdup("speaker-safe-and-bt-a2dp"); in set_platform_defaults()
741 backend_table[SND_DEVICE_OUT_HDMI] = strdup("hdmi"); in set_platform_defaults()
[all …]
/hardware/qcom/audio/hal/
Dacdb.c118 snd_card_name = strdup(mixer_get_name(mixer)); in acdb_init()
171 my_data->snd_card_name = strdup(value); in acdb_set_parameters()
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp48 dst->name = strdup(src.name.c_str()); in convertToSensor()
49 dst->vendor = strdup(src.vendor.c_str()); in convertToSensor()
59 dst->stringType = strdup(src.typeAsString.c_str()); in convertToSensor()
60 dst->requiredPermission = strdup(src.requiredPermission.c_str()); in convertToSensor()
/hardware/qcom/msm8998/json-c/
Djson_object.c34 # define strdup _strdup macro
36 # error You do not have strdup on your system.
409 lh_table_insert(jso->o.c_object, strdup(key), val); in json_object_object_add()
649 char *new_ds = strdup(ds); in json_object_new_double_s()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
Djson_tokener.c42 # define strdup _strdup macro
44 # error You do not have strdup on your system.
241 if (tmplocale) oldlocale = strdup(tmplocale); in json_tokener_parse_ex()
785 obj_field_name = strdup(tok->pb->buf); in json_tokener_parse_ex()
Dconfigure.ac45 AC_CHECK_FUNCS(strcasecmp strdup strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp set…
/hardware/qcom/sdm845/gps/msm8998/android/
DAGnss.cpp125 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
/hardware/qcom/audio/hal/audio_extn/
Daudio_extn.c49 char *snd_card_name = strdup(in_snd_card_name); in audio_extn_set_snd_card_split()
/hardware/qcom/gps/msm8998/android/
DAGnss.cpp125 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
/hardware/qcom/gps/msm8909w_3100/android/
DAGnss.cpp126 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
/hardware/ril/reference-ril/
Datchannel.c127 p_new->line = strdup(line); in addIntermediate()
222 sp_response->finalResponse = strdup(line); in handleFinalResponse()
448 line1 = strdup(line); in readerLoop()
/hardware/libhardware/modules/audio/
Daudio_hw.c140 return strdup(""); in out_get_parameters()
289 return strdup(""); in in_get_parameters()
422 return strdup(""); in adev_get_parameters()
/hardware/qcom/sdm845/gps/sdm845/android/
DAGnss.cpp179 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
/hardware/qcom/sm8150/gps/android/1.0/
DAGnss.cpp194 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Dlibse-gto.c156 ctx->gtodev = strdup(gtodev); in se_gto_set_gtodev()
/hardware/qcom/sm8150/gps/android/1.1/
DAGnss.cpp194 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
/hardware/qcom/sm8150/gps/android/2.0/
DAGnss.cpp200 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp219 return strdup(s8.string()); in out_get_parameters()
370 return strdup(s8.string()); in in_get_parameters()
477 return strdup(s8.string()); in adev_get_parameters()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h38 current = strdup(full_name); in iioutils_break_up_name()
51 *generic_name = strdup(working); in iioutils_break_up_name()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h38 current = strdup(full_name); in iioutils_break_up_name()
51 *generic_name = strdup(working); in iioutils_break_up_name()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h36 current = strdup(full_name); in iioutils_break_up_name()
49 *generic_name = strdup(working); in iioutils_break_up_name()
/hardware/ti/am57x/bootctrl/
Dboot_control.cc128 bootctrl_module->misc_device = strdup(device.c_str()); in BootControlInit()

12