/frameworks/av/include/media/audiohal/ |
H A D | DeviceHalInterface.h | 70 audio_io_handle_t handle, 80 audio_io_handle_t handle,
|
/frameworks/av/include/media/omx/1.0/ |
H A D | Conversion.h | 99 * \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 D | CameraSource.h | 144 native_handle_t* handle); 219 virtual void releaseRecordingFrameHandle(native_handle_t* handle); 234 native_handle_t* handle);
|
H A D | CameraSourceTimeLapse.h | 155 native_handle_t* handle);
|
H A D | FileSource.h | 48 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
|
H A D | MediaHTTP.h | 53 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
|
H A D | NuCachedSource2.h | 46 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
|
H A D | OMXNodeInstance.h | 44 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 D | SecureBuffer.h | 32 * 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 D | ThrottledSource.h | 61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 62 mSource->getDrmInfo(handle, client);
|
/frameworks/av/include/radio/ |
H A D | IRadioService.h | 39 virtual status_t attach(const radio_handle_t handle,
|
H A D | Radio.h | 41 static sp<Radio> attach(radio_handle_t handle, 76 Radio(radio_handle_t handle,
|
/frameworks/av/include/soundtrigger/ |
H A D | ISoundTrigger.h | 36 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 D | ISoundTriggerHwService.h | 39 virtual status_t attach(const sound_trigger_module_handle_t handle,
|
H A D | SoundTrigger.h | 49 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 D | HandleTracker.cpp | 48 // 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 D | HandleTracker.h | 24 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 D | test_handle_tracker.cpp | 38 // 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 D | AudioSystem.cpp | 1067 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 D | IAudioFlinger.cpp | 850 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 D | IAudioPolicyService.cpp | 585 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 D | AudioSystem.h | 104 // 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 D | IAudioFlinger.h | 61 // 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 D | IAudioPolicyService.h | 139 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 D | DeviceHalHidl.cpp | 237 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
|