Searched refs:handle (Results 26 - 50 of 484) sorted by path

1234567891011>>

/frameworks/av/include/media/audiohal/
H A DDeviceHalInterface.h70 audio_io_handle_t handle,
80 audio_io_handle_t handle,
/frameworks/av/include/media/omx/1.0/
H A DConversion.h99 * \brief Take an fd and create a native handle containing only the given fd.
100 * The created handle will need to be deleted manually with
105 * supplied \p fd is negative, the created native handle will contain no file
108 * If the native handle cannot be created, the return value will be
126 * \brief Extract a file descriptor from a native handle.
167 * returned native handle when it is no longer needed.
396 * \param[out] nh The native handle created to hold the file descriptor inside
567 t->nativeHandle = hidl_handle(l.handle);
581 native_handle_t* handle = t.nativeHandle == nullptr ? local
584 size_t const numInts = 12 + (handle
[all...]
/frameworks/av/include/media/stagefright/
H A DCameraSource.h144 native_handle_t* handle);
219 virtual void releaseRecordingFrameHandle(native_handle_t* handle);
234 native_handle_t* handle);
H A DCameraSourceTimeLapse.h155 native_handle_t* handle);
H A DFileSource.h48 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
H A DMediaHTTP.h53 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
H A DNuCachedSource2.h46 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
H A DOMXNodeInstance.h44 void setHandle(OMX_HANDLETYPE handle);
46 OMX_HANDLETYPE handle();
255 // Updates the graphic buffer handle in the metadata buffer for |buffer| and |header| to
256 // |graphicBuffer|'s handle. If |updateCodecBuffer| is true, the update will happen in
H A DSecureBuffer.h32 * the size information. For decryption, it exposes underlying handle/pointer
38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/frameworks/av/include/radio/
H A DIRadioService.h39 virtual status_t attach(const radio_handle_t handle,
H A DRadio.h41 static sp<Radio> attach(radio_handle_t handle,
76 Radio(radio_handle_t handle,
/frameworks/av/include/soundtrigger/
H A DISoundTrigger.h36 sound_model_handle_t *handle) = 0;
38 virtual status_t unloadSoundModel(sound_model_handle_t handle) = 0;
40 virtual status_t startRecognition(sound_model_handle_t handle,
42 virtual status_t stopRecognition(sound_model_handle_t handle) = 0;
H A DISoundTriggerHwService.h39 virtual status_t attach(const sound_trigger_module_handle_t handle,
H A DSoundTrigger.h49 sound_model_handle_t *handle);
51 status_t unloadSoundModel(sound_model_handle_t handle);
53 status_t startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory);
54 status_t stopRecognition(sound_model_handle_t handle);
/frameworks/av/media/libaaudio/src/utility/
H A DHandleTracker.cpp48 // Error if handle is negative so type is limited to bottom half.
108 // Avoid generation zero so that 0x0 is not a valid handle.
142 // Generate a handle.
143 aaudio_handle_t handle = buildHandle(inputHeader, index); local
145 ALOGV("HandleTracker::put(%p) returns 0x%08x", address, handle);
146 return handle;
150 aaudio_handle_t handle) const
152 // Validate the handle.
153 handle_tracker_slot_t index = extractIndex(handle);
155 ALOGE("HandleTracker::handleToIndex() invalid handle
185 remove(handle_tracker_type_t type, aaudio_handle_t handle) argument
223 extractIndex(aaudio_handle_t handle) argument
228 extractGeneration(aaudio_handle_t handle) argument
[all...]
H A DHandleTracker.h24 typedef int32_t handle_tracker_type_t; // what kind of handle
34 * Represent Objects using an integer handle that can be used with Java.
56 * Store a pointer and return a handle that can be used to retrieve the pointer.
61 * @param address pointer to be converted to a handle
62 * @return a valid handle or a negative error
67 * Get the original pointer associated with the handle.
68 * The handle will be validated to prevent stale handles from being reused.
73 * @param handle to be converted to a pointer
74 * @return address associated with handle or nullptr
76 handle_tracker_address_t get(handle_tracker_type_t expectedType, aaudio_handle_t handle) cons
[all...]
/frameworks/av/media/libaaudio/tests/
H A Dtest_handle_tracker.cpp38 // should fail to find a bogus handle
39 found = tracker.get(type, 0); // bad handle
42 // create a valid handle and use it to lookup the object again
47 found = tracker.get(type, 0); // bad handle
76 // add a handle
84 aaudio_handle_t handle = tracker.put(type, &data[0]); local
85 EXPECT_TRUE(handle < 0);
88 // look up each handle
96 // now try to look up the same handle and fail
101 handle
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp1067 audio_patch_handle_t *handle)
1071 return aps->createAudioPatch(patch, handle);
1074 status_t AudioSystem::releaseAudioPatch(audio_patch_handle_t handle) argument
1078 return aps->releaseAudioPatch(handle);
1200 audio_patch_handle_t *handle)
1204 return aps->startAudioSource(source, attributes, handle);
1207 status_t AudioSystem::stopAudioSource(audio_patch_handle_t handle) argument
1211 return aps->stopAudioSource(handle);
1066 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
1198 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_patch_handle_t *handle) argument
H A DIAudioFlinger.cpp850 audio_patch_handle_t *handle)
852 if (patch == NULL || handle == NULL) {
858 data.write(handle, sizeof(audio_patch_handle_t));
864 reply.read(handle, sizeof(audio_patch_handle_t));
867 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument
871 data.write(&handle, sizeof(audio_patch_handle_t));
1415 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local
1416 if (data.read(&handle, sizeof(audio_patch_handle_t)) != NO_ERROR) {
1419 status_t status = createAudioPatch(&patch, &handle);
1422 reply->write(&handle, sizeo
849 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
1428 audio_patch_handle_t handle; local
[all...]
H A DIAudioPolicyService.cpp585 audio_patch_handle_t *handle)
587 if (patch == NULL || handle == NULL) {
593 data.write(handle, sizeof(audio_patch_handle_t));
599 reply.read(handle, sizeof(audio_patch_handle_t));
603 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument
607 data.write(&handle, sizeof(audio_patch_handle_t));
754 audio_patch_handle_t *handle)
758 if (source == NULL || attributes == NULL || handle == NULL) {
771 *handle = (audio_patch_handle_t)reply.readInt32();
775 virtual status_t stopAudioSource(audio_patch_handle_t handle) argument
584 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
752 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_patch_handle_t *handle) argument
1242 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local
1256 audio_patch_handle_t handle; local
1374 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local
1383 audio_patch_handle_t handle = (audio_patch_handle_t) data.readInt32(); local
[all...]
/frameworks/av/media/libaudioclient/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 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;
/frameworks/av/media/libaudiohal/
H A DDeviceHalHidl.cpp237 audio_io_handle_t handle,
251 handle,
266 audio_io_handle_t handle,
281 handle,
236 openOutputStream( audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address, sp<StreamOutHalInterface> *outStream) argument
265 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument

Completed in 245 milliseconds

1234567891011>>