Lines Matching defs:path
45 char path[100];
50 snprintf(path, sizeof(path), "/dev/snd/controlC%d", card);
55 while ((fd = open(path, O_RDWR)) < 0) {
57 ALOGE("timed out after %d tries, could not open %s", retryCounter, path);
60 ALOGW("attempt #%d, could not open %s", retryCounter, path);
75 ALOGE("SNDRV_CTL_IOCTL_RAWMIDI_INFO failed, errno: %d path: %s", errno, path);
87 char path[100];
89 snprintf(path, sizeof(path), "/dev/snd/midiC%dD%d", card, device);
99 int fd = open(path, O_RDWR);
101 ALOGE("open failed on %s for index %d", path, i);