/hardware/qcom/audio/legacy/alsa_sound/ |
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->useCase))) [all...] |
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->useCase)) [all...] |
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, name, 0) [all...] |
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->format != iformat [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
IngestObjectInfo.java | 14 private int mHandle; 20 mHandle = mtpObjectInfo.getObjectHandle(); 27 mHandle = handle; 46 return mHandle; 51 MtpObjectInfo info = device.getObjectInfo(mHandle); 73 return "IngestObjectInfo [mHandle=" + mHandle + ", mDateCreated=" + mDateCreated 84 result = prime * result + mHandle; 109 if (mHandle != other.mHandle) { [all...] |
/frameworks/base/opengl/java/android/opengl/ |
EGLObjectHandle.java | 25 private final long mHandle; 33 mHandle = handle; 36 mHandle = handle; 44 if ((mHandle & 0xffffffffL) != mHandle) { 47 return (int)mHandle; 58 return mHandle; 67 result = 31 * result + (int) (mHandle ^ (mHandle >>> 32));
|
/frameworks/native/opengl/tools/glgen/static/egl/ |
EGLObjectHandle.java | 25 private final long mHandle; 33 mHandle = handle; 36 mHandle = handle; 44 if ((mHandle & 0xffffffffL) != mHandle) { 47 return (int)mHandle; 58 return mHandle; 67 result = 31 * result + (int) (mHandle ^ (mHandle >>> 32));
|
/frameworks/native/libs/gui/ |
SurfaceControl.cpp | 52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) 64 mClient->destroySurface(mHandle); 69 mHandle.clear(); 97 return lhs->mHandle == rhs->mHandle; 103 return mClient->setLayerStack(mHandle, layerStack); 108 return mClient->setLayer(mHandle, layer); 113 return mClient->setPosition(mHandle, x, y); 118 return mClient->setGeometryAppliesWithResize(mHandle); 123 return mClient->setSize(mHandle, w, h) [all...] |
/system/core/libutils/ |
NativeHandle.cpp | 28 : mHandle(handle), mOwnsHandle(ownsHandle) 33 native_handle_close(mHandle); 34 native_handle_delete(mHandle);
|
/external/curl/tests/libtest/ |
lib1501.c | 54 CURLM *mhandle = NULL; local 67 multi_init(mhandle); 69 multi_add_handle(mhandle, handle); 71 multi_perform(mhandle, &still_running); 92 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd); 103 multi_perform(mhandle, &still_running); 121 curl_multi_cleanup(mhandle);
|
lib575.c | 42 CURLM *mhandle = NULL; local 70 multi_init(mhandle); 72 multi_add_handle(mhandle, handle); 74 multi_perform(mhandle, &still_running); 92 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd); 100 multi_perform(mhandle, &still_running); 109 curl_multi_cleanup(mhandle);
|
/device/huawei/angler/camera/QCamera2/HAL/ |
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"); 117 dlclose(mHandle); 118 mHandle = NULL; 137 if (mHandle) 138 dlclose(mHandle); 140 mHandle = NULL [all...] |
/device/lge/bullhead/camera/QCamera2/HAL/ |
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"); 117 dlclose(mHandle); 118 mHandle = NULL; 137 if (mHandle) 138 dlclose(mHandle); 140 mHandle = NULL [all...] |
/device/moto/shamu/camera/QCamera2/HAL/ |
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"); 117 dlclose(mHandle); 118 mHandle = NULL; 137 if (mHandle) 138 dlclose(mHandle); 140 mHandle = NULL [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCameraThermalAdapter.cpp | 57 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 = NULL [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/HAL/ |
QCameraThermalAdapter.cpp | 57 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 = NULL [all...] |
/frameworks/base/media/java/android/media/ |
AudioPatch.java | 32 private final AudioHandle mHandle; 37 mHandle = patchHandle; 60 return mHandle.id(); 66 s.append("mHandle: "); 67 s.append(mHandle.toString());
|
AudioPort.java | 69 AudioHandle mHandle; 83 mHandle = handle; 94 return mHandle; 101 return mHandle.id(); 200 return mHandle.equals(ap.handle()); 205 return mHandle.hashCode(); 222 return "{mHandle: " + mHandle
|
/frameworks/native/libs/binder/ |
BpBinder.cpp | 91 : mHandle(handle) 96 ALOGV("Creating BpBinder %p handle %d\n", this, mHandle); 166 mHandle, code, data, reply, flags); 194 ALOGV("Requesting death notification: %p handle %d\n", this, mHandle); 197 self->requestDeathNotification(mHandle, this); 229 ALOGV("Clearing death notification: %p handle %d\n", this, mHandle); 231 self->clearDeathNotification(mHandle, this); 246 this, mHandle, mObitsSent ? "true" : "false"); 254 ALOGV("Clearing sent death notification: %p handle %d\n", this, mHandle); 256 self->clearDeathNotification(mHandle, this) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
SoftMPEG4.cpp | 65 mHandle(new tagvideoDecControls), 83 PVCleanUpVideoDecoder(mHandle); 86 delete mHandle; 87 mHandle = NULL; 91 memset(mHandle, 0, sizeof(tagvideoDecControls)); 148 PVCleanUpVideoDecoder(mHandle); 167 mHandle, vol_data, &vol_size, 1, 178 MP4DecodingMode actualMode = PVGetDecBitstreamMode(mHandle); 185 PVSetPostProcType((VideoDecControls *) mHandle, 0); 213 OMX_U32 yFrameSize = sizeof(uint8) * mHandle->size [all...] |
/frameworks/base/tools/aapt2/io/ |
ZipArchive.cpp | 73 ZipFileCollection::ZipFileCollection() : mHandle(nullptr) { 83 int32_t result = OpenArchive(path.data(), &collection->mHandle); 96 result = StartIteration(collection->mHandle, &cookie, nullptr, nullptr); 111 collection->mFiles[zipEntryPath] = util::make_unique<ZipFile>(collection->mHandle, 136 if (mHandle) { 137 CloseArchive(mHandle);
|
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/ |
BluetoothMapEventReport.java | 55 private String mHandle; 93 out.writeString(mHandle); 100 mHandle = in.readString(); 123 mHandle = handle; 127 return mHandle; 147 return "Type: " + getType() + " return code: " + getReturnCode() + "Handle: " + mHandle;
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/ |
hiddevice.cpp | 25 cHIDDevice::cHIDDevice() : mConnected(false), mHandle(NULL), mEvent(NULL) 43 retval = (CloseHandle(mHandle) == TRUE && CloseHandle(mEvent) == TRUE); 85 mHandle=NULL; 107 mHandle=CreateFile(detailData->DevicePath, 0, FILE_SHARE_READ|FILE_SHARE_WRITE, (LPSECURITY_ATTRIBUTES)NULL,OPEN_EXISTING, 0, NULL); 110 Result = HidD_GetAttributes(mHandle, &Attributes); 138 CloseHandle(mHandle); 144 CloseHandle(mHandle); 179 HidD_GetPreparsedData(mHandle, &PreparsedData); 199 CancelIo(mHandle);
|
/frameworks/av/media/libmediaplayerservice/ |
TestPlayerStub.cpp | 64 mHandle(NULL), mNewPlayer(NULL), mDeletePlayer(NULL), 119 if (!isTestUrl(url) || NULL != mHandle) { 137 mHandle = ::dlopen(mFilename, RTLD_NOW | RTLD_GLOBAL); 138 if (!mHandle) { 146 mNewPlayer = reinterpret_cast<NEW_PLAYER>(dlsym(mHandle, 157 mDeletePlayer = reinterpret_cast<DELETE_PLAYER>(dlsym(mHandle, 186 if (mHandle) { 187 ::dlclose(mHandle); 188 mHandle = NULL;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
SoftAVCEncoder.cpp | 171 mHandle(new tagAVCHandle), 196 CHECK(mHandle != NULL); 197 memset(mHandle, 0, sizeof(tagAVCHandle)); 198 mHandle->AVCObject = NULL; 199 mHandle->userData = this; 200 mHandle->CBAVC_DPBAlloc = DpbAllocWrapper; 201 mHandle->CBAVC_FrameBind = BindFrameWrapper; 202 mHandle->CBAVC_FrameUnbind = UnbindFrameWrapper; 203 mHandle->CBAVC_Malloc = MallocWrapper; 204 mHandle->CBAVC_Free = FreeWrapper [all...] |