Lines Matching refs:rd_buf
219 char rd_buf[9]; in threadLoop() local
286 if (!read(pfd[i].fd, (void *)rd_buf, 8)) { in threadLoop()
290 rd_buf[8] = '\0'; in threadLoop()
295 mSndCardFd[i].first - CPE_MAGIC_NUM, rd_buf); in threadLoop()
296 if (strstr(rd_buf, "OFFLINE")) { in threadLoop()
299 } else if (strstr(rd_buf, "ONLINE")){ in threadLoop()
303 ALOGE("ERROR CPE rd_buf %s", rd_buf); in threadLoop()
312 ALOGD("sound card state file content: %s before while",rd_buf); in threadLoop()
313 if (strstr(rd_buf, "OFFLINE")) { in threadLoop()
316 } else if (strstr(rd_buf, "ONLINE")){ in threadLoop()
320 ALOGE("ERROR rd_buf %s", rd_buf); in threadLoop()
349 if (!read(pfd[i].fd, (void *)rd_buf, 8)) { in threadLoop()
354 rd_buf[8] = '\0'; in threadLoop()
358 if (strstr(rd_buf, "OFFLINE")) in threadLoop()
360 else if (strstr(rd_buf, "ONLINE")) in threadLoop()
363 ALOGE("ERROR CPE rd_buf %s", rd_buf); in threadLoop()
376 … ALOGV("sound card state file content: %s, bootup_complete=%d",rd_buf, bootup_complete); in threadLoop()
377 if (strstr(rd_buf, "OFFLINE")) { in threadLoop()
379 } else if (strstr(rd_buf, "ONLINE")){ in threadLoop()