Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h29 class AudioPatch : public RefBase, private HandleGenerator<audio_patch_handle_t>
32 AudioPatch(const struct audio_patch *patch, uid_t uid);
54 class AudioPatchCollection : public DefaultKeyedVector<audio_patch_handle_t, sp<AudioPatch> >
57 status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp28 AudioPatch::AudioPatch(const struct audio_patch *patch, uid_t uid) : in AudioPatch() function in android::AudioPatch
50 void AudioPatch::dump(String8 *dst, int spaces, int index) const in dump()
59 const sp<AudioPatch>& patch) in addAudioPatch()
106 const sp<AudioPatch> patch = valueAt(patchIndex); in listAudioPatches()
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java98 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in init()
125 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
DAudioPatch.java32 public class AudioPatch { class
40 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch() method in AudioPatch
DAudioRecordingConfiguration.java253 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in getAudioDevice()
259 final AudioPatch patch = patches.get(i); in getAudioDevice()
DAudioSystem.java689 ArrayList<AudioPatch> audioPatches = new ArrayList<>(); in recordingCallbackFromNative()
693 for (AudioPatch patch : audioPatches) { in recordingCallbackFromNative()
1541 public static native int createAudioPatch(AudioPatch[] patch, in createAudioPatch()
1544 public static native int releaseAudioPatch(AudioPatch patch); in releaseAudioPatch()
1546 public static native int listAudioPatches(ArrayList<AudioPatch> patches, int[] generation); in listAudioPatches()
DAudioManager.java5273 public static int createAudioPatch(AudioPatch[] patch, in createAudioPatch()
5291 public static int releaseAudioPatch(AudioPatch patch) { in releaseAudioPatch()
5301 public static int listAudioPatches(ArrayList<AudioPatch> patches) { in listAudioPatches()
5337 public void onAudioPatchListUpdate(AudioPatch[] patchList); in onAudioPatchListUpdate()
5372 static ArrayList<AudioPatch> sAudioPatchesCached = new ArrayList<AudioPatch>();
5383 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache()
5393 ArrayList<AudioPatch> newPatches = new ArrayList<AudioPatch>(); in updateAudioPortCache()
5430 for (Iterator<AudioPatch> i = newPatches.iterator(); i.hasNext(); ) { in updateAudioPortCache()
5431 AudioPatch newPatch = i.next(); in updateAudioPortCache()
5890 public void onAudioPatchListUpdate(AudioPatch[] patchList) {} in onAudioPatchListUpdate()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.bp8 "src/AudioPatch.cpp",
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h637 virtual status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) in addAudioPatch()
684 sp<AudioPatch> createTelephonyPatch(bool isRx, const sp<DeviceDescriptor> &device,
757 sp<AudioPatch> mCallTxPatch;
758 sp<AudioPatch> mCallRxPatch;
938 sp<AudioPatch> *patchDescPtr);
DAudioPolicyManager.cpp603 sp<AudioPatch> AudioPolicyManager::createTelephonyPatch( in createTelephonyPatch()
1327 sp<AudioPatch> patch = mAudioPatches.valueAt(i); in getMsdPatches()
1458 sp<AudioPatch> currentPatch = msdPatches.valueAt(0); in setMsdPatch()
3512 sp<AudioPatch> patchDesc; in createAudioPatchInternal()
3777 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in releaseAudioPatch()
3794 sp<AudioPatch> patchDesc = mAudioPatches.valueFor(handle); in releaseAudioPatchInternal()
3942 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(i); in clearAudioPatches()
5127 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in closeOutput()
5174 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in closeInput()
5441 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in getNewOutputDevices()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java39 import android.media.AudioPatch;
774 public void onAudioPatchListUpdate(AudioPatch[] patchList) {
794 private AudioPatch mAudioPatch = null;
952 AudioPatch[] audioPatchArray = new AudioPatch[] { mAudioPatch }; in updateAudioConfigLocked()
/frameworks/base/config/
Dpreloaded-classes3632 android.media.AudioPatch
Dboot-image-profile.txt12746 …id/media/AudioManager$OnAmPortUpdateListener;->onAudioPatchListUpdate([Landroid/media/AudioPatch;)V
12811 HSPLandroid/media/AudioPatch;-><init>(Landroid/media/AudioHandle;[Landroid/media/AudioPortConfig;[L…
12812 HSPLandroid/media/AudioPatch;->sinks()[Landroid/media/AudioPortConfig;
12813 HSPLandroid/media/AudioPatch;->sources()[Landroid/media/AudioPortConfig;
43815 Landroid/media/AudioPatch;