/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioStreamOutALSA.cpp | 87 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER) || 88 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA)) { 91 mHandle->module->setLpaVolume(vol); 94 else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_TUNNEL) || 95 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_TUNNEL)) { 98 mHandle->module->setCompressedVolume(vol); 101 else if(!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, 102 sizeof(mHandle->useCase)) || !strncmp(mHandle->useCase, 103 SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle [all...] |
H A D | ALSAControl.cpp | 45 mHandle = mixer_open(device); 46 ALOGV("ALSAControl: ctor mixer %p", mHandle); 51 if (mHandle) mixer_close(mHandle); 58 if (!mHandle) { 63 ctl = mixer_get_control(mHandle, name, index); 76 if (!mHandle) { 82 ctl = mixer_get_control(mHandle, name, 0); 97 if (!mHandle) { 102 ctl = mixer_get_control(mHandle, nam [all...] |
H A D | AudioStreamInALSA.cpp | 138 if((mHandle->handle == NULL) && (mHandle->rxHandle == NULL) && 139 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && 140 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { 142 snd_use_case_get(mHandle->ucMgr, "_verb", (const char **)&use_case); 144 if ((mHandle->devices == AudioSystem::DEVICE_IN_VOICE_CALL) && 152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, 153 sizeof(mHandle->useCase)); 158 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL, 159 sizeof(mHandle [all...] |
H A D | ALSAStreamOps.cpp | 50 mHandle(handle) 58 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || 59 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { 74 if (mHandle == &(*it)) { 101 if (mHandle->channels != popCount(*channels)) 104 if (mHandle->devices & AudioSystem::DEVICE_OUT_ALL) { 135 if (mHandle->sampleRate != *rate) 138 *rate = mHandle->sampleRate; 141 snd_pcm_format_t iformat = mHandle->format; 170 if (mHandle [all...] |
H A D | AudioHardwareALSA.h | 260 struct mixer* mHandle; member in class:android_audio_legacy::ALSAControl 286 alsa_handle_t * mHandle; member in class:android_audio_legacy::ALSAStreamOps
|
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCameraThermalAdapter.cpp | 52 mHandle(NULL), 66 mHandle = dlopen("/vendor/lib/libthermalclient.so", RTLD_NOW); 67 if (!mHandle) { 74 *(void **)&mRegister = dlsym(mHandle, "thermal_client_register_callback"); 82 *(void **)&mUnregister = dlsym(mHandle, "thermal_client_unregister_callback"); 116 dlclose(mHandle); 117 mHandle = NULL; 136 if (mHandle) 137 dlclose(mHandle); 139 mHandle [all...] |
H A D | QCameraStream.cpp | 164 mHandle(0), 200 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, 0, -1); 210 if (mHandle > 0) { 211 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle); 212 mHandle = 0; 238 mHandle = mCamOps->add_stream(mCamHandle, mChannelHandle); 239 if (!mHandle) { 251 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, 265 mChannelHandle, mHandle, &stream_config); 277 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INF [all...] |
H A D | QCameraThermalAdapter.h | 70 void *mHandle; member in class:qcamera::QCameraThermalAdapter
|
H A D | QCameraStream.h | 72 uint32_t getMyHandle() const {return mHandle;} 91 uint32_t mHandle; // stream handle from mm-camera-interface member in class:qcamera::QCameraStream
|
/hardware/qcom/camera/QCamera2/HAL3/ |
H A D | QCamera3Stream.cpp | 169 mHandle(0), 201 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, 0, -1); 211 if (mHandle > 0) { 212 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle); 213 mHandle = 0; 242 mHandle = mCamOps->add_stream(mCamHandle, mChannelHandle); 243 if (!mHandle) { 284 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, 299 mChannelHandle, mHandle, &stream_config); 311 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INF [all...] |
H A D | QCamera3Stream.h | 73 uint32_t getMyHandle() const {return mHandle;} 90 uint32_t mHandle; // stream handle from mm-camera-interface member in class:qcamera::QCamera3Stream
|
/hardware/libhardware_legacy/audio/ |
H A D | AudioPolicyManagerBase.cpp | 503 if (mHwModules[i]->mHandle == 0) { 632 output = mpClientInterface->openOutput(profile->mModule->mHandle, 944 if (profile->mModule->mHandle == 0) { 957 input = mpClientInterface->openInput(profile->mModule->mHandle, 1560 mHwModules[i]->mHandle = mpClientInterface->loadHwModule(mHwModules[i]->mName); 1561 if (mHwModules[i]->mHandle == 0) { 1578 outProfile->mModule->mHandle, 1759 audio_module_handle_t moduleHandle = outputDesc->mModule->mHandle; 1838 if (mHwModules[i]->mHandle == 0) { 1880 audio_io_handle_t output = mpClientInterface->openOutput(profile->mModule->mHandle, [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | AudioPolicyManagerBase.h | 194 audio_module_handle_t mHandle; member in class:android_audio_legacy::AudioPolicyManagerBase::HwModule
|