Lines Matching refs:mFd
46 : mOutput(0), mInput(0), mFd(-1), mMicMute(false) in AudioHardwareGeneric()
48 mFd = ::open(kAudioDeviceName, O_RDWR); in AudioHardwareGeneric()
53 if (mFd >= 0) ::close(mFd); in ~AudioHardwareGeneric()
60 if (mFd >= 0) { in initCheck()
82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); in openOutputStream()
122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); in openInputStream()
172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); in dumpInternals()
224 mFd = fd; in set()
236 return ssize_t(::write(mFd, buffer, bytes)); in write()
264 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd); in dump()
334 mFd = fd; in set()
346 if (mFd < 0) { in read()
350 return ::read(mFd, buffer, bytes); in read()
372 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd); in dump()