Searched refs:AudioPatch (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/media/java/android/media/
H A DAudioPatch.java21 * An AudioPatch describes a connection between audio sources and audio sinks.
24 * An AudioPatch is created by AudioManager.createAudioPatch() and released by
30 public class AudioPatch { class
36 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { method in class:AudioPatch
H A DAudioPortEventHandler.java79 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>();
100 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]);
H A DAudioSystem.java560 public static native int createAudioPatch(AudioPatch[] patch,
562 public static native int releaseAudioPatch(AudioPatch patch);
563 public static native int listAudioPatches(ArrayList<AudioPatch> patches, int[] generation);
H A DAudioManager.java3517 * @param patch AudioPatch array where the newly created patch will be returned.
3535 public int createAudioPatch(AudioPatch[] patch,
3552 public int releaseAudioPatch(AudioPatch patch) {
3558 * @param patches An AudioPatch array where the list will be returned.
3561 public int listAudioPatches(ArrayList<AudioPatch> patches) {
3597 public void onAudioPatchListUpdate(AudioPatch[] patchList);
3628 static ArrayList<AudioPatch> sAudioPatchesCached = new ArrayList<AudioPatch>();
3639 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches) {
3647 ArrayList<AudioPatch> newPatche
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.h324 class AudioPatch: public RefBase class in class:android::AudioPolicyManager
327 AudioPatch(audio_patch_handle_t handle, function in class:android::AudioPolicyManager::AudioPatch
771 const sp<AudioPatch>& patch);
838 DefaultKeyedVector<audio_patch_handle_t, sp<AudioPatch> > mAudioPatches;
842 sp<AudioPatch> mCallTxPatch;
843 sp<AudioPatch> mCallRxPatch;
H A DAudioPolicyManager.cpp553 mCallRxPatch = new AudioPatch((audio_patch_handle_t)nextUniqueId(),
596 mCallTxPatch = new AudioPatch((audio_patch_handle_t)nextUniqueId(),
1776 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(patch_index);
2582 sp<AudioPatch> patchDesc;
2788 patchDesc = new AudioPatch((audio_patch_handle_t)nextUniqueId(),
2822 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index);
2968 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(i);
3001 const sp<AudioPatch>& patch)
4024 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index);
4053 sp<AudioPatch> patchDes
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java38 import android.media.AudioPatch;
662 public void onAudioPatchListUpdate(AudioPatch[] patchList) {
679 private AudioPatch mAudioPatch = null;
838 AudioPatch[] audioPatchArray = new AudioPatch[] { mAudioPatch };

Completed in 32 milliseconds