Searched refs:str_start (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | usb.c | 325 char *str_start = NULL; in usb_get_capability() local 383 str_start = strstr(read_buf, ((type == USB_PLAYBACK) ? in usb_get_capability() 385 if (str_start == NULL) { in usb_get_capability() 394 if (str_end > str_start) in usb_get_capability() 397 ALOGV("%s: usb_config = %s, check %d\n", __func__, str_start, check); in usb_get_capability() 399 while (str_start != NULL) { in usb_get_capability() 400 str_start = strstr(str_start, "Altset"); in usb_get_capability() 401 if ((str_start == NULL) || (check && (str_start >= str_end))) { in usb_get_capability() 402 ALOGV("%s: done parsing %s\n", __func__, str_start); in usb_get_capability() 405 ALOGV("%s: remaining string %s\n", __func__, str_start); in usb_get_capability() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUsbALSA.cpp | 100 char *read_buf, *str_start, *channel_start, *ratesStr, *ratesStrForVal, in getCap() local 123 str_start = strstr(read_buf, type); in getCap() 124 if (str_start == NULL) { in getCap() 131 channel_start = strstr(str_start, "Channels:"); in getCap() 153 ratesStrStart = strstr(str_start, "Rates:"); in getCap()
|