Home
last modified time | relevance | path

Searched refs:AudioPatch (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h27 class AudioPatch : public RefBase
30 AudioPatch(const struct audio_patch *patch, uid_t uid);
43 class AudioPatchCollection : public DefaultKeyedVector<audio_patch_handle_t, sp<AudioPatch> >
46 status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp28 int32_t volatile AudioPatch::mNextUniqueId = 1;
30 AudioPatch::AudioPatch(const struct audio_patch *patch, uid_t uid) : in AudioPatch() function in android::AudioPatch
38 status_t AudioPatch::dump(int fd, int spaces, int index) const in dump()
86 const sp<AudioPatch>& patch) in addAudioPatch()
130 const sp<AudioPatch> patch = valueAt(i); in listAudioPatches()
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java85 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in init()
106 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
DAudioPatch.java30 public class AudioPatch { class
36 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch() method in AudioPatch
DAudioManager.java3492 public static int createAudioPatch(AudioPatch[] patch, in createAudioPatch()
3509 public static int releaseAudioPatch(AudioPatch patch) { in releaseAudioPatch()
3518 public static int listAudioPatches(ArrayList<AudioPatch> patches) { in listAudioPatches()
3554 public void onAudioPatchListUpdate(AudioPatch[] patchList); in onAudioPatchListUpdate()
3587 static ArrayList<AudioPatch> sAudioPatchesCached = new ArrayList<AudioPatch>();
3598 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache()
3608 ArrayList<AudioPatch> newPatches = new ArrayList<AudioPatch>(); in updateAudioPortCache()
3637 for (Iterator<AudioPatch> i = newPatches.iterator(); i.hasNext(); ) { in updateAudioPortCache()
3638 AudioPatch newPatch = i.next(); in updateAudioPortCache()
3970 public void onAudioPatchListUpdate(AudioPatch[] patchList) {} in onAudioPatchListUpdate()
DAudioSystem.java636 public static native int createAudioPatch(AudioPatch[] patch, in createAudioPatch()
638 public static native int releaseAudioPatch(AudioPatch patch); in releaseAudioPatch()
639 public static native int listAudioPatches(ArrayList<AudioPatch> patches, int[] generation); in listAudioPatches()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.mk13 src/AudioPatch.cpp \
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h459 virtual status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) in addAudioPatch()
537 sp<AudioPatch> mCallTxPatch;
538 sp<AudioPatch> mCallRxPatch;
DAudioPolicyManager.cpp367 mCallRxPatch = new AudioPatch(&patch, mUidCached); in updateCallRouting()
410 mCallTxPatch = new AudioPatch(&patch, mUidCached); in updateCallRouting()
1643 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(patch_index); in closeAllInputs()
2178 sp<AudioPatch> patchDesc; in createAudioPatch()
2392 patchDesc = new AudioPatch(&newPatch, uid); in createAudioPatch()
2425 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in releaseAudioPatch()
2558 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(i); in clearAudioPatches()
3693 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in closeOutput()
3722 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in closeInput()
3902 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in getNewOutputDevice()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java38 import android.media.AudioPatch;
654 public void onAudioPatchListUpdate(AudioPatch[] patchList) {
671 private AudioPatch mAudioPatch = null;
828 AudioPatch[] audioPatchArray = new AudioPatch[] { mAudioPatch }; in updateAudioConfigLocked()
/frameworks/base/
Dpreloaded-classes77 [Landroid.media.AudioPatch;
1215 android.media.AudioPatch