Searched refs:curIdx (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/audio/hal/ |
D | platform_info.c | 461 uint32_t curIdx = 0; in process_microphone_characteristic() local 463 if (strcmp(attr[curIdx++], "valid_mask")) { in process_microphone_characteristic() 467 uint32_t valid_mask = atoi(attr[curIdx++]); in process_microphone_characteristic() 469 if (strcmp(attr[curIdx++], "device_id")) { in process_microphone_characteristic() 473 if (strlen(attr[curIdx]) > AUDIO_MICROPHONE_ID_MAX_LEN) { in process_microphone_characteristic() 474 ALOGE("%s: device_id %s is too long", __func__, attr[curIdx]); in process_microphone_characteristic() 477 strcpy(microphone.device_id, attr[curIdx++]); in process_microphone_characteristic() 479 if (strcmp(attr[curIdx++], "type")) { in process_microphone_characteristic() 483 if (!find_enum_by_string(device_in_types, (char*)attr[curIdx++], in process_microphone_characteristic() 486 __func__, attr[--curIdx], PLATFORM_INFO_XML_PATH); in process_microphone_characteristic() [all …]
|