Home
last modified time | relevance | path

Searched refs:mHandle (Results 1 – 25 of 25) 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/qcom/camera/QCamera2/HAL/
DQCameraThermalAdapter.cpp52 mHandle(NULL), in QCameraThermalAdapter()
66 mHandle = dlopen("/vendor/lib/libthermalclient.so", RTLD_NOW); in init()
67 if (!mHandle) { in init()
74 *(void **)&mRegister = dlsym(mHandle, "thermal_client_register_callback"); in init()
82 *(void **)&mUnregister = dlsym(mHandle, "thermal_client_unregister_callback"); in init()
117 dlclose(mHandle); in init()
118 mHandle = NULL; in init()
137 if (mHandle) in deinit()
138 dlclose(mHandle); in deinit()
140 mHandle = NULL; in deinit()
DQCameraStream.cpp280 mHandle(0), in QCameraStream()
352 if (mHandle > 0) { in ~QCameraStream()
353 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle); in ~QCameraStream()
354 mHandle = 0; in ~QCameraStream()
376 mHandle, in unmapStreamInfoBuf()
448 if (mHandle > 0) { in deleteStream()
452 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle); in deleteStream()
483 rc = mCamOps->unmap_stream_buf(mCamHandle, mChannelHandle, mHandle, in unMapBuf()
529 rc = mCamOps->map_stream_buf(mCamHandle, mChannelHandle, mHandle, in mapBuf()
554 rc = mCamOps->unmap_stream_buf(mCamHandle, mChannelHandle, mHandle, in mapBuf()
[all …]
DQCameraThermalAdapter.h75 void *mHandle; variable
DQCameraStream.h78 uint32_t getMyHandle() const {return mHandle;} in getMyHandle()
124 uint32_t mHandle; // stream handle from mm-camera-interface 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/merrifield/common/base/
DHwcLayer.cpp66 mHandle(0), in HwcLayer()
223 return mHandle; in getHandle()
266 if (mLastHandle != mHandle) { in update()
267 mLastHandle = mHandle; in update()
301 mHandle = 0; in update()
351 mHandle != mLayer->handle || in setupAttributes()
367 mHandle = mLayer->handle; in setupAttributes()
DHwcLayer.h112 buffer_handle_t mHandle; variable
/hardware/intel/img/hwcomposer/merrifield/include/
DDataBuffer.h62 buffer_handle_t getHandle() const { return mHandle; } in getHandle()
87 mHandle = handle; in initBuffer()
96 buffer_handle_t mHandle;
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DDataBuffer.h62 uint32_t getHandle() const { return mHandle; } in getHandle()
87 mHandle = handle; in initBuffer()
96 uint32_t mHandle;
/hardware/intel/img/hwcomposer/moorefield_hdmi/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/qcom/camera/QCamera2/HAL3/
DQCamera3Stream.cpp225 mHandle(0), in QCamera3Stream()
267 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, 0, -1); in ~QCamera3Stream()
276 if (mHandle > 0) { in ~QCamera3Stream()
277 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle); in ~QCamera3Stream()
278 mHandle = 0; in ~QCamera3Stream()
321 mHandle = mCamOps->add_stream(mCamHandle, mChannelHandle); in init()
322 if (!mHandle) { in init()
358 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, in init()
405 mChannelHandle, mHandle, &stream_config); in init()
418 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, 0, -1); in init()
[all …]
DQCamera3Stream.h81 uint32_t getMyHandle() const {return mHandle;} in getMyHandle()
99 uint32_t mHandle; // stream handle from mm-camera-interface variable
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
DTngGrallocBufferMapper.cpp33 const native_handle_t *h = (native_handle_t *)mHandle; in TngGrallocBufferMapper()
212 int ret = psbWsbmWrapTTMBuffer2(mHandle, &wsbmBufferObject); in mapKhandle()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngGrallocBufferMapper.cpp33 const native_handle_t *h = (native_handle_t *)mHandle; in TngGrallocBufferMapper()
209 int ret = psbWsbmWrapTTMBuffer2((uint64_t)mHandle, &wsbmBufferObject); in mapKhandle()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Difaceeventhandler.h86 wifi_interface_handle mHandle;
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp510 if (mHwModules[i]->mHandle == 0) { in getProfileForDirectOutput()
639 output = mpClientInterface->openOutput(profile->mModule->mHandle, in getOutput()
951 if (profile->mModule->mHandle == 0) { in getInput()
965 input = mpClientInterface->openInput(profile->mModule->mHandle, in getInput()
1577 mHwModules[i]->mHandle = mpClientInterface->loadHwModule(mHwModules[i]->mName); in AudioPolicyManagerBase()
1578 if (mHwModules[i]->mHandle == 0) { in AudioPolicyManagerBase()
1595 outProfile->mModule->mHandle, in AudioPolicyManagerBase()
1776 audio_module_handle_t moduleHandle = outputDesc->mModule->mHandle; in threadLoop()
1861 if (mHwModules[i]->mHandle == 0) { in checkOutputsForDevice()
1903 audio_io_handle_t output = mpClientInterface->openOutput(profile->mModule->mHandle, in checkOutputsForDevice()
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DVirtualDevice.cpp537 mHandle(handle), in HeldBuffer()
544 VTRACE("Returning %s buffer %p (%ux%u) to list", mList.mName, mHandle, mWidth, mHeight); in ~HeldBuffer()
545 mList.mAvailableBuffers.push_back(mHandle); in ~HeldBuffer()
547 VTRACE("Deleting %s buffer %p (%ux%u)", mList.mName, mHandle, mWidth, mHeight); in ~HeldBuffer()
549 mgr->freeGrallocBuffer((mHandle)); in ~HeldBuffer()
556 buffer_handle_t mHandle; member
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h194 audio_module_handle_t mHandle; variable