Searched refs:mHandle (Results 1 - 25 of 39) sorted by relevance

12

/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioStreamOutALSA.cpp87 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 DALSAControl.cpp45 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 DAudioStreamInALSA.cpp138 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 DALSAStreamOps.cpp50 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...]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCameraThermalAdapter.cpp57 mHandle(NULL),
71 mHandle = dlopen("/vendor/lib/libthermalclient.so", RTLD_NOW);
72 if (!mHandle) {
79 *(void **)&mRegister = dlsym(mHandle, "thermal_client_register_callback");
87 *(void **)&mUnregister = dlsym(mHandle, "thermal_client_unregister_callback");
122 dlclose(mHandle);
123 mHandle = NULL;
142 if (mHandle)
143 dlclose(mHandle);
145 mHandle
[all...]
H A DQCameraThermalAdapter.h76 void *mHandle; member in class:qcamera::QCameraThermalAdapter
H A DQCameraStream.cpp354 mHandle(0),
460 if (mHandle > 0) {
461 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle);
462 mHandle = 0;
487 mHandle,
560 if (mHandle > 0) {
564 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle);
595 rc = mCamOps->unmap_stream_buf(mCamHandle, mChannelHandle, mHandle,
633 uint32_t activeHandle = mHandle;
647 activeHandle = get_aux_camera_handle(mHandle);
[all...]
/hardware/google/av/codec2/vndk/bufferpool/include/bufferpool/
H A DBufferPoolTypes.h67 const native_handle_t *mHandle; member in struct:android::hardware::media::bufferpool::V1_0::implementation::BufferPoolAllocation
70 return mHandle;
73 BufferPoolAllocation(const native_handle_t *handle) : mHandle(handle) {}
/hardware/qcom/camera/msm8998/QCamera2/util/
H A DQCameraPerf.cpp383 mHandle(0),
405 if (mHandle > 0) {
406 (*mPerfLockIntf->perfLockRel())(mHandle);
496 mHandle = 0;
501 mHandle = (*mPerfLockIntf->perfLockAcq())(
502 mHandle, timer,
506 if (mHandle > 0) {
510 mHandle, mRefCount, mPerfLockType);
561 if (mHandle > 0) {
563 mHandle, mRefCoun
[all...]
/hardware/intel/img/hwcomposer/merrifield/include/
H A DDataBuffer.h62 buffer_handle_t getHandle() const { return mHandle; }
87 mHandle = handle;
96 buffer_handle_t mHandle; member in class:android::intel::DataBuffer
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
H A DDataBuffer.h62 uint32_t getHandle() const { return mHandle; }
87 mHandle = handle;
96 uint32_t mHandle; member in class:android::intel::DataBuffer
/hardware/intel/img/hwcomposer/merrifield/common/base/
H A DHwcLayer.cpp66 mHandle(0),
223 return mHandle;
266 if (mLastHandle != mHandle) {
267 mLastHandle = mHandle;
301 mHandle = 0;
351 mHandle != mLayer->handle ||
367 mHandle = mLayer->handle;
H A DHwcLayer.h112 buffer_handle_t mHandle; member in class:android::intel::HwcLayer
/hardware/intel/common/libmix/videoencoder/
H A DPVSoftMPEG4Encoder.cpp98 mHandle(new tagvideoEncControls),
157 CHECK(mHandle != NULL);
158 memset(mHandle, 0, sizeof(tagvideoEncControls));
240 if (!PVInitVideoEncoder(mHandle, mEncParams)) {
264 PVCleanUpVideoEncoder(mHandle);
275 delete mHandle;
276 mHandle = NULL;
395 if (!PVGetVolHeader(mHandle, mVolHeader, &mVolHeaderLength, 0)) {
489 if (!PVEncodeVideoFrame(mHandle, &vin, &vout,
491 !PVGetHintTrack(mHandle,
[all...]
H A DPVSoftMPEG4Encoder.h70 tagvideoEncControls *mHandle; member in class:PVSoftMPEG4Encoder
/hardware/google/av/media/codecs/mpeg4_h263/
H A DC2SoftMpeg4Enc.cpp151 mHandle(nullptr),
168 if (!mHandle) {
169 mHandle = new tagvideoEncControls;
184 if (mHandle) {
185 (void)PVCleanUpVideoEncoder(mHandle);
204 if (mHandle) {
205 delete mHandle;
206 mHandle = nullptr;
227 if (mHandle) {
228 memset(mHandle,
[all...]
H A DC2SoftMpeg4Enc.h55 tagvideoEncControls *mHandle; member in struct:android::C2SoftMpeg4Enc
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
H A DHwcLayer.cpp65 mHandle(0),
203 return mHandle;
259 mHandle = 0;
294 mHandle != (uint32_t)mLayer->handle ||
305 mHandle = (uint32_t)mLayer->handle;
H A DHwcLayer.h105 uint32_t mHandle; member in class:android::intel::HwcLayer
/hardware/qcom/neuralnetworks/hvxservice/1.0/
H A DHexagonController.cpp80 mHandle = dlopen(kFilename, RTLD_LAZY | RTLD_LOCAL);
81 HEXAGON_SOFT_ASSERT_NE(mHandle, 0,
89 if (mHandle != nullptr) {
90 int err = dlclose(mHandle);
91 mHandle = nullptr;
H A DHexagonController.h45 void* fn = dlsym(mHandle, name);
120 void* mHandle; member in class:android::hardware::neuralnetworks::V1_0::implementation::hexagon::Controller
/hardware/interfaces/audio/effect/all-versions/default/include/effect/all-versions/default/
H A DEffect.impl.h137 : mIsClosed(false), mHandle(handle), mEfGroup(nullptr), mStopProcessThread(false) {}
153 int status = EffectRelease(mHandle);
154 ALOGW_IF(status, "Error releasing effect %p: %s", mHandle, strerror(-status));
155 EffectMap::getInstance().remove(mHandle);
156 mHandle = 0;
268 ALOGW("Effect %p %s %s %s: %s", mHandle, funcName, subFuncName, contextDescription,
293 (*mHandle)->command(mHandle, commandCode, 0, NULL, &halResultSize, &halConfig);
370 mProcessThread = new ProcessThread(&mStopProcessThread, mHandle, &mHalInBufferPtr,
410 status_t status = (*mHandle)
[all...]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
H A DQCamera3Stream.cpp285 mHandle(0),
334 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO, 0, -1);
343 if (mHandle > 0) {
344 mCamOps->delete_stream(mCamHandle, mChannelHandle, mHandle);
345 mHandle = 0;
390 mHandle = mCamOps->add_stream(mCamHandle, mChannelHandle);
391 if (!mHandle) {
438 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INFO,
487 mChannelHandle, mHandle, &stream_config);
500 mChannelHandle, mHandle, CAM_MAPPING_BUF_TYPE_STREAM_INF
[all...]
H A DQCamera3Stream.h86 uint32_t getMyHandle() const {return mHandle;}
106 uint32_t mHandle; // stream handle from mm-camera-interface member in class:qcamera::QCamera3Stream
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
H A DTngGrallocBufferMapper.cpp33 const native_handle_t *h = (native_handle_t *)mHandle;
209 int ret = psbWsbmWrapTTMBuffer2((uint64_t)mHandle, &wsbmBufferObject);

Completed in 1887 milliseconds

12