Home
last modified time | relevance | path

Searched refs:mFd (Results 1 – 14 of 14) sorted by relevance

/hardware/msm7k/libaudio-qdsp5v2/
DAudioHardware.cpp168 mHardware(0), mFd(-1), mStartCount(0), mRetryCount(0), mStandby(true), in AudioStreamOutQ5V2()
229 mFd = status; in write()
234 status = ioctl(mFd, AUDIO_GET_CONFIG, &config); in write()
246 status = ioctl(mFd, AUDIO_SET_CONFIG, &config); in write()
258 status = ioctl(mFd, AUDIO_START, &acdb_id); in write()
264 status = ioctl(mFd, AUDIO_SET_VOLUME, &stream_volume); in write()
274 ssize_t written = ::write(mFd, p, count); in write()
288 if (mFd >= 0) { in write()
289 ::close(mFd); in write()
290 mFd = -1; in write()
[all …]
DAudioHardware.h124 int mFd; variable
/hardware/libhardware_legacy/audio/
DAudioHardwareGeneric.cpp46 : 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()
[all …]
DAudioHardwareGeneric.h39 AudioStreamOutGeneric() : mAudioHardware(0), mFd(-1) {} in AudioStreamOutGeneric()
44 int mFd,
66 int mFd; variable
72 AudioStreamInGeneric() : mAudioHardware(0), mFd(-1) {} in AudioStreamInGeneric()
77 int mFd,
99 int mFd; variable
146 int mFd; variable
DA2dpAudioInterface.h110 int mFd;
DA2dpAudioInterface.cpp225 mFd(-1), mStandby(true), mStartCount(0), mRetryCount(0), mData(NULL), in A2dpAudioStreamOut()
/hardware/msm7k/libaudio/
DAudioHardware.cpp661 mHardware(0), mFd(-1), mStartCount(0), mRetryCount(0), mStandby(true), mDevices(0) in AudioStreamOutMSM72xx()
700 if (mFd >= 0) close(mFd); in ~AudioStreamOutMSM72xx()
719 mFd = status; in write()
724 status = ioctl(mFd, AUDIO_GET_CONFIG, &config); in write()
736 status = ioctl(mFd, AUDIO_SET_CONFIG, &config); in write()
753 ssize_t written = ::write(mFd, p, count); in write()
767 ioctl(mFd, AUDIO_START, 0); in write()
773 if (mFd >= 0) { in write()
774 ::close(mFd); in write()
775 mFd = -1; in write()
[all …]
DAudioHardware.h186 int mFd; variable
225 int mFd; variable
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp1536 mHardware(0), mFd(-1), mStartCount(0), mRetryCount(0), mStandby(true), in AudioStreamOutMSM72xx()
1605 mFd = status; in write()
1611 status = ioctl(mFd, AUDIO_GET_CONFIG, &config); in write()
1623 status = ioctl(mFd, AUDIO_SET_CONFIG, &config); in write()
1635 status = ioctl(mFd, AUDIO_START, &acdb_id); in write()
1641 status = ioctl(mFd, AUDIO_SET_VOLUME, &stream_volume); in write()
1649 ssize_t written = ::write(mFd, p, count); in write()
1678 if (mFd >= 0) { in standby()
1679 ::close(mFd); in standby()
1680 mFd = -1; in standby()
[all …]
DAudioHardware.h263 int mFd; variable
299 int mFd; variable
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h265 mFd(0), in CameraFrame()
285 mFd(frame.mFd), in CameraFrame()
302 int mFd; variable
734 int mFd; member
/hardware/msm7k/libcamera/
DQualcommCameraHardware.h145 int mFd; member
DQualcommCameraHardware.cpp2074 mFd = mHeap->getHeapID(); in PmemPool()
2075 if (::ioctl(mFd, PMEM_GET_SIZE, &mSize)) { in PmemPool()
2108 mFd, in PreviewPmemPool()
2145 mFd, in RawPmemPool()
2150 mFd, in RawPmemPool()
2155 mFd, in RawPmemPool()
/hardware/ti/omap4xxx/camera/
DCameraHal.cpp1539 desc.mFd = mPreviewDataFd; in startPreview()
1553 desc.mFd = mPreviewFd; in startPreview()
2412 desc.mFd = mImageFd; in startImageBracketing()
2598 desc.mFd = mImageFd; in takePicture()