Home
last modified time | relevance | path

Searched refs:strdup (Results 1 – 25 of 39) 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/msm8916/
Dplatform.c696 backend_table[SND_DEVICE_IN_BT_SCO_MIC] = strdup("bt-sco"); in set_platform_defaults()
697 backend_table[SND_DEVICE_IN_BT_SCO_MIC_WB] = strdup("bt-sco-wb"); in set_platform_defaults()
698 backend_table[SND_DEVICE_IN_BT_SCO_MIC_NREC] = strdup("bt-sco"); in set_platform_defaults()
699 backend_table[SND_DEVICE_IN_BT_SCO_MIC_WB_NREC] = strdup("bt-sco-wb"); in set_platform_defaults()
700 backend_table[SND_DEVICE_OUT_BT_SCO] = strdup("bt-sco"); in set_platform_defaults()
701 backend_table[SND_DEVICE_OUT_BT_SCO_WB] = strdup("bt-sco-wb"); in set_platform_defaults()
702 backend_table[SND_DEVICE_OUT_BT_A2DP] = strdup("bt-a2dp"); in set_platform_defaults()
703 backend_table[SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP] = strdup("speaker-and-bt-a2dp"); in set_platform_defaults()
705 strdup("speaker-safe-and-bt-a2dp"); in set_platform_defaults()
706 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/intel/common/libva/va/drm/
Dva_drm_utils.c73 driver_name = strdup(m->name); in VA_DRM_GetDriverName()
/hardware/intel/common/wrs_omxil_core/utils/src/
Dmodule.c113 g_module_err = strdup(dlerr); in module_set_error()
168 new->name = strdup(file); in module_open()
/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/gps/msm8998/android/
DAGnss.cpp122 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
DGnss.cpp163 strdup(gnssConfig.assistanceServer.hostName); in updateConfiguration()
/hardware/intel/common/libva/va/
Dva_fool.c131 fool_ctx->fn_enc = strdup(env_value); in va_FoolInit()
137 fool_ctx->fn_jpg = strdup(env_value); in va_FoolInit()
/hardware/intel/common/libva/va/wayland/
Dva_wayland_emgd.c58 *driver_name_ptr = strdup("emgd"); in va_DisplayContextGetDriverName()
/hardware/qcom/gps/msm8909w_3100/android/
DAGnss.cpp126 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
DGnss.cpp163 strdup(gnssConfig.assistanceServer.hostName); in updateConfiguration()
/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/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/intel/common/libva/va/android/
Dva_android.cpp124 *driver_name = strdup((char *)ctx->native_dpy + 18); in va_DisplayContextGetDriverName()
/hardware/intel/common/libva/va/x11/
Dva_fglrx.c230 *clientDriverName = strdup("fglrx"); in VA_FGLRXGetClientDriverName()
/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/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/intel/common/libva/test/encode/
Dh264encode.c770 coded_fn = strdup(optarg); in process_cmdline()
801 srcyuv_fn = strdup(optarg); in process_cmdline()
804 recyuv_fn = strdup(optarg); in process_cmdline()
890 coded_fn = strdup("/tmp/test.264"); in process_cmdline()
892 coded_fn = strdup("/sdcard/test.264"); in process_cmdline()
894 coded_fn = strdup("./test.264"); in process_cmdline()

12