/frameworks/av/camera/ |
H A D | Camera.cpp | 235 void Camera::releaseRecordingFrameHandle(native_handle_t* handle) argument 240 c->releaseRecordingFrameHandle(handle); 392 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument 403 proxylistener->recordingFrameHandleCallbackTimestamp(timestamp, handle); 414 listener->postRecordingFrameHandleTimestamp(timestamp, handle); 417 releaseRecordingFrameHandle(handle); 446 void Camera::RecordingProxy::releaseRecordingFrameHandle(native_handle_t* handle) { argument 448 mCamera->releaseRecordingFrameHandle(handle);
|
H A D | ICamera.cpp | 162 void releaseRecordingFrameHandle(native_handle_t *handle) { argument 166 data.writeNativeHandle(handle); 170 // Close the native handle because camera received a dup copy. 171 native_handle_close(handle); 172 native_handle_delete(handle); 377 // releaseRecordingFrameHandle will be responsble to close the native handle.
|
H A D | ICameraClient.cpp | 85 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument 90 data.writeNativeHandle(handle); 147 native_handle_t* handle = data.readNativeHandle(); local 148 if (handle == nullptr) { 149 ALOGE("%s: Received a null native handle", __FUNCTION__); 153 // The native handle will be freed in BpCamera::releaseRecordingFrameHandle. 154 recordingFrameHandleCallbackTimestamp(timestamp, handle);
|
H A D | ICameraRecordingProxy.cpp | 73 void releaseRecordingFrameHandle(native_handle_t *handle) { argument 77 data.writeNativeHandle(handle); 81 // Close the native handle because camera received a dup copy. 82 native_handle_close(handle); 83 native_handle_delete(handle); 120 // releaseRecordingFrameHandle will be responsble to close the native handle.
|
H A D | ICameraRecordingProxyListener.cpp | 52 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument 57 data.writeNativeHandle(handle); 61 // The native handle is dupped in ICameraClient so we need to free it here. 62 native_handle_close(handle); 63 native_handle_delete(handle); 94 native_handle_t* handle = data.readNativeHandle(); local 95 if (handle == nullptr) { 96 ALOGE("%s: Received a null native handle", __FUNCTION__); 99 // The native handle will be freed in 101 recordingFrameHandleCallbackTimestamp(timestamp, handle); [all...] |
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 42 const DecryptHandle* handle, Parcel* data) { 43 data->writeInt32(handle->decryptId); 44 data->writeString8(handle->mimeType); 45 data->writeInt32(handle->decryptApiType); 46 data->writeInt32(handle->status); 48 int size = handle->copyControlVector.size(); 51 data->writeInt32(handle->copyControlVector.keyAt(i)); 52 data->writeInt32(handle->copyControlVector.valueAt(i)); 55 size = handle->extendedData.size(); 58 data->writeString8(handle 41 writeDecryptHandleToParcelData( const DecryptHandle* handle, Parcel* data) argument 69 readDecryptHandleFromParcelData( DecryptHandle* handle, const Parcel& data) argument 102 clearDecryptHandle(DecryptHandle* handle) argument 624 DecryptHandle* handle = NULL; local 649 DecryptHandle* handle = NULL; local 676 DecryptHandle* handle = NULL; local 1131 DecryptHandle handle; local 1151 DecryptHandle handle; local 1332 DecryptHandle* handle local 1352 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local 1376 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local 1396 DecryptHandle* handle = new DecryptHandle(); local 1411 DecryptHandle handle; local 1442 DecryptHandle handle; local 1498 DecryptHandle handle; local 1515 DecryptHandle handle; local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 411 DecryptHandle* handle = new DecryptHandle(); local 412 if (NULL != handle) { 413 handle->decryptId = mDecryptSessionId + 1; 418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 428 delete handle; handle = NULL; 430 return handle; 439 DecryptHandle* handle = new DecryptHandle(); local 440 if (NULL != handle) { 441 handle 468 DecryptHandle* handle = new DecryptHandle(); local [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 270 DecryptHandle* handle = NULL; local 272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime); 274 return handle;
|
/frameworks/av/include/media/stagefright/ |
H A D | DataSource.h | 120 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) {}; argument
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 249 int32_t DownmixLib_Release(effect_handle_t handle) { argument 250 downmix_module_t *pDwmModule = (downmix_module_t *)handle; 252 ALOGV("DownmixLib_Release() %p", handle); 253 if (handle == NULL) { 707 * pDownmixer handle to instance data 761 * pDownmixer handle to instance data
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 342 int EffectRelease(effect_handle_t handle) argument 358 if (e1->object == handle) { 378 ALOGW("EffectRelease() fx %p library already unloaded", handle); 564 l->handle = hdl;
|
H A D | EffectsFactory.h | 49 void *handle; member in struct:lib_entry_s
|
/frameworks/av/media/libeffects/loudness/ |
H A D | EffectLoudnessEnhancer.cpp | 230 int LELib_Release(effect_handle_t handle) { argument 231 LoudnessEnhancerContext * pContext = (LoudnessEnhancerContext *)handle; 233 ALOGV("LELib_Release %p", handle);
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 351 extern "C" int EffectRelease(effect_handle_t handle){ argument 352 ALOGV("\n\tEffectRelease start %p", handle); 353 EffectContext * pContext = (EffectContext *)handle; 355 ALOGV("\tEffectRelease start handle: %p, context %p", handle, pContext->pBundledContext); 601 /* Init sets the instance handle */ 751 LvmStatus = LVM_Process(pContext->pBundledContext->hInstance, /* Instance handle */ 1989 // pBassBoost - handle to instance data 2068 // pBassBoost - handle to instance data 2107 // pVirtualizer - handle t [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 279 extern "C" int EffectRelease(effect_handle_t handle){ argument 280 ReverbContext * pContext = (ReverbContext *)handle; 282 ALOGV("\tEffectRelease %p", handle); 472 LvmStatus = LVREV_Process(pContext->hInstance, /* Instance handle */ 809 /* Init sets the instance handle */ 1486 // pContext - handle to instance data 1524 // pContext - handle to instance data 1747 // pContext - handle to instance data
|
/frameworks/av/media/libeffects/proxy/ |
H A D | EffectProxy.cpp | 147 int EffectProxyRelease(effect_handle_t handle) { argument 148 EffectContext * pContext = (EffectContext *)handle; 263 // The DSP wrapper needs to handle this CMD
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 166 extern "C" int EffectRelease(effect_handle_t handle) { argument 167 EqualizerContext * pContext = (EqualizerContext *)handle; 169 ALOGV("EffectLibReleaseEffect %p", handle); 349 // pEqualizer - handle to instance data 521 // pEqualizer - handle to instance data
|
H A D | EffectReverb.c | 154 int EffectRelease(effect_handle_t handle) { argument 155 reverb_module_t *pRvbModule = (reverb_module_t *)handle; 157 ALOGV("EffectLibReleaseEffect %p", handle); 158 if (handle == NULL) { 739 * pReverb - handle to instance data 1024 * pReverb - handle to instance data
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 267 int VisualizerLib_Release(effect_handle_t handle) { argument 268 VisualizerContext * pContext = (VisualizerContext *)handle; 270 ALOGV("VisualizerLib_Release %p", handle);
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 1045 audio_patch_handle_t *handle) 1049 return aps->createAudioPatch(patch, handle); 1052 status_t AudioSystem::releaseAudioPatch(audio_patch_handle_t handle) argument 1056 return aps->releaseAudioPatch(handle); 1178 audio_io_handle_t *handle) 1182 return aps->startAudioSource(source, attributes, handle); 1185 status_t AudioSystem::stopAudioSource(audio_io_handle_t handle) argument 1189 return aps->stopAudioSource(handle); 1044 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 1176 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle) argument
|
H A D | IAudioFlinger.cpp | 844 audio_patch_handle_t *handle) 846 if (patch == NULL || handle == NULL) { 852 data.write(handle, sizeof(audio_patch_handle_t)); 858 reply.read(handle, sizeof(audio_patch_handle_t)); 861 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument 865 data.write(&handle, sizeof(audio_patch_handle_t)); 1383 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local 1384 if (data.read(&handle, sizeof(audio_patch_handle_t)) != NO_ERROR) { 1387 status_t status = createAudioPatch(&patch, &handle); 1390 reply->write(&handle, sizeo 843 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 1396 audio_patch_handle_t handle; local [all...] |
H A D | IAudioPolicyService.cpp | 572 audio_patch_handle_t *handle) 574 if (patch == NULL || handle == NULL) { 580 data.write(handle, sizeof(audio_patch_handle_t)); 586 reply.read(handle, sizeof(audio_patch_handle_t)); 590 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument 594 data.write(&handle, sizeof(audio_patch_handle_t)); 741 audio_io_handle_t *handle) 745 if (source == NULL || attributes == NULL || handle == NULL) { 758 *handle = (audio_io_handle_t)reply.readInt32(); 762 virtual status_t stopAudioSource(audio_io_handle_t handle) argument 571 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 739 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle) argument 1203 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local 1217 audio_patch_handle_t handle; local 1335 audio_io_handle_t handle = {}; local 1344 audio_io_handle_t handle = (audio_io_handle_t)data.readInt32(); local [all...] |
H A D | IDataSource.cpp | 100 sp<DecryptHandle> handle; local 102 handle = new DecryptHandle(); 103 handle->decryptId = reply.readInt32(); 104 handle->mimeType = reply.readString8(); 105 handle->decryptApiType = reply.readInt32(); 106 handle->status = reply.readInt32(); 110 handle->decryptInfo = new DecryptInfo(); 111 handle->decryptInfo->decryptBufferLength = bufferLength; 118 handle->copyControlVector.add(key, value); 125 handle 179 sp<DecryptHandle> handle = DrmInitialization(mime); local [all...] |
H A D | IOMX.cpp | 327 data.writeNativeHandle(nativeHandle->handle()); 940 native_handle *handle = NULL; local 942 handle = data.readNativeHandle(); 947 node, port_index, NativeHandle::create(handle, true /* ownshandle */), buffer); 1117 reply->writeNativeHandle(native_handle == NULL ? NULL : native_handle->handle());
|
H A D | MidiIoWrapper.cpp | 27 static int readAt(void *handle, void *buffer, int pos, int size) { argument 28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size); 30 static int size(void *handle) { argument 31 return ((android::MidiIoWrapper*)handle)->size(); 92 mEasFile.handle = this;
|