Home
last modified time | relevance | path

Searched refs:mHandle (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamOutALSA.cpp87 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER) || in setVolume()
88 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA)) { in setVolume()
91 mHandle->module->setLpaVolume(vol); in setVolume()
94 else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_TUNNEL) || in setVolume()
95 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_TUNNEL)) { in setVolume()
98 mHandle->module->setCompressedVolume(vol); in setVolume()
101 else if(!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, in setVolume()
102 sizeof(mHandle->useCase)) || !strncmp(mHandle->useCase, in setVolume()
103 SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase))) { in setVolume()
123 if((mHandle->handle == NULL) && (mHandle->rxHandle == NULL) && in write()
[all …]
DAudioStreamInALSA.cpp138 if((mHandle->handle == NULL) && (mHandle->rxHandle == NULL) && in read()
139 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && in read()
140 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in read()
142 snd_use_case_get(mHandle->ucMgr, "_verb", (const char **)&use_case); in read()
144 if ((mHandle->devices == AudioSystem::DEVICE_IN_VOICE_CALL) && in read()
152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read()
153 sizeof(mHandle->useCase)); in read()
158 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL, in read()
159 sizeof(mHandle->useCase)); in read()
165 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read()
[all …]
DALSAControl.cpp45 mHandle = mixer_open(device); in ALSAControl()
46 ALOGV("ALSAControl: ctor mixer %p", mHandle); in ALSAControl()
51 if (mHandle) mixer_close(mHandle); in ~ALSAControl()
58 if (!mHandle) { in get()
63 ctl = mixer_get_control(mHandle, name, index); in get()
76 if (!mHandle) { in set()
82 ctl = mixer_get_control(mHandle, name, 0); in set()
97 if (!mHandle) { in set()
102 ctl = mixer_get_control(mHandle, name, 0); in set()
116 if (!mHandle) { in setext()
[all …]
DALSAStreamOps.cpp50 mHandle(handle) in ALSAStreamOps()
58 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in ~ALSAStreamOps()
59 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in ~ALSAStreamOps()
74 if (mHandle == &(*it)) { in ~ALSAStreamOps()
101 if (mHandle->channels != popCount(*channels)) in set()
104 if (mHandle->devices & AudioSystem::DEVICE_OUT_ALL) { in set()
135 if (mHandle->sampleRate != *rate) in set()
138 *rate = mHandle->sampleRate; in set()
141 snd_pcm_format_t iformat = mHandle->format; in set()
170 if (mHandle->format != iformat) in set()
[all …]
DAudioHardwareALSA.h260 struct mixer* mHandle; variable
286 alsa_handle_t * mHandle; variable
/hardware/intel/common/libmix/videoencoder/
DPVSoftMPEG4Encoder.cpp98 mHandle(new tagvideoEncControls), in PVSoftMPEG4Encoder()
157 CHECK(mHandle != NULL); in initEncParams()
158 memset(mHandle, 0, sizeof(tagvideoEncControls)); in initEncParams()
240 if (!PVInitVideoEncoder(mHandle, mEncParams)) { in initEncoder()
264 PVCleanUpVideoEncoder(mHandle); in releaseEncoder()
275 delete mHandle; in releaseEncoder()
276 mHandle = NULL; in releaseEncoder()
395 if (!PVGetVolHeader(mHandle, mVolHeader, &mVolHeaderLength, 0)) { in encode()
489 if (!PVEncodeVideoFrame(mHandle, &vin, &vout, in getOutput()
491 !PVGetHintTrack(mHandle, &hintTrack)) { in getOutput()
[all …]
DPVSoftMPEG4Encoder.h70 tagvideoEncControls *mHandle; variable
/hardware/intel/img/hwcomposer/include/
DDataBuffer.h62 uint32_t getHandle() const { return mHandle; } in getHandle()
87 mHandle = handle; in initBuffer()
96 uint32_t mHandle;
/hardware/intel/img/hwcomposer/common/base/
DHwcLayer.cpp65 mHandle(0), in HwcLayer()
203 return mHandle; in getHandle()
259 mHandle = 0; in update()
294 mHandle != (uint32_t)mLayer->handle || in setupAttributes()
305 mHandle = (uint32_t)mLayer->handle; in setupAttributes()
DHwcLayer.h105 uint32_t mHandle; variable
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp501 if (mHwModules[i]->mHandle == 0) { in getProfileForDirectOutput()
630 output = mpClientInterface->openOutput(profile->mModule->mHandle, in getOutput()
942 if (profile->mModule->mHandle == 0) { in getInput()
956 input = mpClientInterface->openInput(profile->mModule->mHandle, in getInput()
1568 mHwModules[i]->mHandle = mpClientInterface->loadHwModule(mHwModules[i]->mName); in AudioPolicyManagerBase()
1569 if (mHwModules[i]->mHandle == 0) { in AudioPolicyManagerBase()
1586 outProfile->mModule->mHandle, in AudioPolicyManagerBase()
1767 audio_module_handle_t moduleHandle = outputDesc->mModule->mHandle; in threadLoop()
1852 if (mHwModules[i]->mHandle == 0) { in checkOutputsForDevice()
1894 audio_io_handle_t output = mpClientInterface->openOutput(profile->mModule->mHandle, in checkOutputsForDevice()
[all …]
/hardware/intel/img/hwcomposer/ips/tangier/
DTngGrallocBufferMapper.cpp191 int ret = psbWsbmWrapTTMBuffer2(mHandle, &wsbmBufferObject); in mapKhandle()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h194 audio_module_handle_t mHandle; variable