Searched refs:handle (Results 1 - 25 of 484) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCamera.cpp235 void Camera::releaseRecordingFrameHandle(native_handle_t* handle) argument
240 c->releaseRecordingFrameHandle(handle);
400 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument
411 proxylistener->recordingFrameHandleCallbackTimestamp(timestamp, handle);
422 listener->postRecordingFrameHandleTimestamp(timestamp, handle);
425 releaseRecordingFrameHandle(handle);
485 void Camera::RecordingProxy::releaseRecordingFrameHandle(native_handle_t* handle) { argument
487 mCamera->releaseRecordingFrameHandle(handle);
H A DICamera.cpp163 void releaseRecordingFrameHandle(native_handle_t *handle) { argument
167 data.writeNativeHandle(handle);
171 // Close the native handle because camera received a dup copy.
172 native_handle_close(handle);
173 native_handle_delete(handle);
182 for (auto& handle : handles) {
183 data.writeNativeHandle(handle);
187 // Close the native handle because camera received a dup copy.
188 for (auto& handle : handles) {
189 native_handle_close(handle);
[all...]
H A DICameraClient.cpp86 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
91 data.writeNativeHandle(handle);
112 for (auto& handle : handles) {
113 data.writeNativeHandle(handle);
171 native_handle_t* handle = data.readNativeHandle(); local
172 if (handle == nullptr) {
173 ALOGE("%s: Received a null native handle", __FUNCTION__);
177 // The native handle will be freed in BpCamera::releaseRecordingFrameHandle.
178 recordingFrameHandleCallbackTimestamp(timestamp, handle);
203 native_handle_t* handle local
[all...]
H A DICameraRecordingProxy.cpp74 void releaseRecordingFrameHandle(native_handle_t *handle) { argument
78 data.writeNativeHandle(handle);
82 // Close the native handle because camera received a dup copy.
83 native_handle_close(handle);
84 native_handle_delete(handle);
93 for (auto& handle : handles) {
94 data.writeNativeHandle(handle);
98 // Close the native handle because camera received a dup copy.
99 for (auto& handle : handles) {
100 native_handle_close(handle);
155 native_handle_t* handle = data.readNativeHandle(); local
[all...]
H A DICameraRecordingProxyListener.cpp53 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
58 data.writeNativeHandle(handle);
62 // The native handle is dupped in ICameraClient so we need to free it here.
63 native_handle_close(handle);
64 native_handle_delete(handle);
84 for (auto& handle : handles) {
85 data.writeNativeHandle(handle);
90 // The native handle is dupped in ICameraClient so we need to free it here.
91 for (auto& handle : handles) {
92 native_handle_close(handle);
125 native_handle_t* handle = data.readNativeHandle(); local
157 native_handle_t* handle = data.readNativeHandle(); local
[all...]
/frameworks/av/camera/include/camera/
H A DCamera.h46 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle) = 0;
121 // release a recording frame handle
122 void releaseRecordingFrameHandle(native_handle_t *handle);
175 virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle);
190 virtual void releaseRecordingFrameHandle(native_handle_t* handle);
H A DICameraRecordingProxy.h88 virtual void releaseRecordingFrameHandle(native_handle_t *handle) = 0;
H A DICameraRecordingProxyListener.h41 native_handle_t* handle) = 0;
/frameworks/av/camera/include/camera/android/hardware/
H A DICamera.h100 // Release a recording frame handle that was received via
102 virtual void releaseRecordingFrameHandle(native_handle_t *handle) = 0;
H A DICameraClient.h40 // Invoked to send a recording frame handle with a timestamp. Call
41 // ICamera::releaseRecordingFrameHandle to release the frame handle.
43 native_handle_t* handle) = 0;
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp42 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 DDrmManager.cpp406 DecryptHandle* handle = new DecryptHandle(); local
407 if (NULL != handle) {
408 handle->decryptId = mDecryptSessionId + 1;
413 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime);
423 delete handle; handle = NULL;
425 return handle;
434 DecryptHandle* handle = new DecryptHandle(); local
435 if (NULL != handle) {
436 handle
463 DecryptHandle* handle = new DecryptHandle(); local
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp270 DecryptHandle* handle = NULL; local
272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime);
274 return handle;
/frameworks/av/include/camera/
H A DCamera.h46 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle) = 0;
121 // release a recording frame handle
122 void releaseRecordingFrameHandle(native_handle_t *handle);
175 virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle);
190 virtual void releaseRecordingFrameHandle(native_handle_t* handle);
H A DICameraRecordingProxy.h88 virtual void releaseRecordingFrameHandle(native_handle_t *handle) = 0;
H A DICameraRecordingProxyListener.h41 native_handle_t* handle) = 0;
/frameworks/av/include/camera/android/hardware/
H A DICamera.h100 // Release a recording frame handle that was received via
102 virtual void releaseRecordingFrameHandle(native_handle_t *handle) = 0;
H A DICameraClient.h40 // Invoked to send a recording frame handle with a timestamp. Call
41 // ICamera::releaseRecordingFrameHandle to release the frame handle.
43 native_handle_t* handle) = 0;
/frameworks/av/include/drm/
H A Ddrm_framework_common.h254 * Defines decryption handle
321 bool operator<(const DecryptHandle& handle) const {
322 return (decryptId < handle.decryptId);
325 bool operator==(const DecryptHandle& handle) const {
326 return (decryptId == handle.decryptId);
/frameworks/av/include/media/
H A DAudioSystem.h104 // helper function to obtain AudioFlinger service handle
152 // return the number of input frames lost by HAL implementation, or 0 if the handle is invalid
155 // Allocate a new unique ID for use as an audio session ID or I/O handle.
212 // Client must successfully hand off the handle reference to AudioFlinger via createTrack(),
239 // Client must successfully hand off the handle reference to AudioFlinger via openRecord(),
311 audio_patch_handle_t *handle);
314 static status_t releaseAudioPatch(audio_patch_handle_t handle);
335 audio_patch_handle_t *handle);
336 static status_t stopAudioSource(audio_patch_handle_t handle);
H A DEffectsFactoryApi.h91 // a handle on the effect control interface.
103 // pHandle: address where to return the effect handle.
110 // *pHandle: updated with the effect handle.
120 // Description: Releases the effect engine whose handle is given as argument.
125 // handle: handle on the effect interface to be released.
130 // -EINVAL invalid interface handle
133 int EffectRelease(effect_handle_t handle);
H A DIAudioFlinger.h61 // On successful return, AudioFlinger takes over the handle
73 // On successful return, AudioFlinger takes over the handle
197 // AudioFlinger doesn't take over handle reference from client
231 audio_patch_handle_t *handle) = 0;
234 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) = 0;
H A DIAudioPolicyService.h139 audio_patch_handle_t *handle) = 0;
142 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) = 0;
167 audio_patch_handle_t *handle) = 0;
168 virtual status_t stopAudioSource(audio_patch_handle_t handle) = 0;
H A DMmapStreamInterface.h109 * \param[out] handle unique handle for this instance. Used with stop().
114 virtual status_t start(const Client& client, audio_port_handle_t *handle) = 0;
120 * \param[in] handle unique handle allocated by start().
125 virtual status_t stop(audio_port_handle_t handle) = 0;
H A DOMXBuffer.h82 OMXBuffer(const sp<NativeHandle> &handle);

Completed in 284 milliseconds

1234567891011>>