Home
last modified time | relevance | path

Searched refs:AudioPatch (Results 1 – 24 of 24) 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.cpp30 AudioPatch::AudioPatch(const struct audio_patch *patch, uid_t uid) : in AudioPatch() function in android::AudioPatch
54 void AudioPatch::dump(String8 *dst, int spaces) const in dump()
62 const sp<AudioPatch>& patch) in addAudioPatch()
109 const sp<AudioPatch> patch = valueAt(patchIndex); in listAudioPatches()
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java99 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in init()
126 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
DHwAudioSource.java153 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in getDeviceId()
159 AudioPatch patch = patches.get(i); in getDeviceId()
DAudioPatch.java33 public class AudioPatch { class
41 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch() method in AudioPatch
DAudioRecordingConfiguration.java254 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in getAudioDevice()
260 final AudioPatch patch = patches.get(i); in getAudioDevice()
DAudioSystem.java823 ArrayList<AudioPatch> audioPatches = new ArrayList<>(); in recordingCallbackFromNative()
827 for (AudioPatch patch : audioPatches) { in recordingCallbackFromNative()
1957 public static native int createAudioPatch(AudioPatch[] patch, in createAudioPatch()
1960 public static native int releaseAudioPatch(AudioPatch patch); in releaseAudioPatch()
1962 public static native int listAudioPatches(ArrayList<AudioPatch> patches, int[] generation); in listAudioPatches()
DAudioManager.java7586 public static int createAudioPatch(AudioPatch[] patch, in createAudioPatch()
7604 public static int releaseAudioPatch(AudioPatch patch) { in releaseAudioPatch()
7614 public static int listAudioPatches(ArrayList<AudioPatch> patches) { in listAudioPatches()
7650 public void onAudioPatchListUpdate(AudioPatch[] patchList); in onAudioPatchListUpdate()
7687 private static ArrayList<AudioPatch> sAudioPatchesCached = new ArrayList<AudioPatch>();
7698 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache()
7708 ArrayList<AudioPatch> newPatches = new ArrayList<AudioPatch>(); in updateAudioPortCache()
7745 for (Iterator<AudioPatch> i = newPatches.iterator(); i.hasNext(); ) { in updateAudioPortCache()
7746 AudioPatch newPatch = i.next(); in updateAudioPortCache()
8330 public void onAudioPatchListUpdate(AudioPatch[] patchList) {} in onAudioPatchListUpdate()
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.h87 ::aidl::android::hardware::audio::core::AudioPatch* patch);
121 ::aidl::android::hardware::audio::core::AudioPatch>;
158 ::aidl::android::hardware::audio::core::AudioPatch* patch, bool* created);
160 const ::aidl::android::hardware::audio::core::AudioPatch& requestedPatch,
162 ::aidl::android::hardware::audio::core::AudioPatch* patch, bool* created);
203 ::aidl::android::hardware::audio::core::AudioPatch* patch);
DHal2AidlMapper.cpp56 using aidl::android::hardware::audio::core::AudioPatch;
130 AudioPatch patch; in createOrUpdatePatch()
299 const AudioPatch& requestedPatch, PatchMatch match, AudioPatch* patch, bool* created) { in findOrCreatePatch()
309 PatchMatch match, AudioPatch* patch, bool* created) { in findOrCreatePatch()
312 AudioPatch requestedPatch, appliedPatch; in findOrCreatePatch()
737 std::vector<AudioPatch> patches; in initialize()
776 AudioPortConfig* mixPortConfig, AudioPatch* patch) { in prepareToOpenStream()
820 AudioPatch* patch) { in prepareToOpenStreamHelper()
DDeviceHalAidl.cpp64 using aidl::android::hardware::audio::core::AudioPatch;
294 AudioPatch aidlPatch; in getInputBufferSize()
448 AudioPatch aidlPatch; in openOutputStream()
531 AudioPatch aidlPatch; in openInputStream()
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/core-mock/
DModuleMock.h59 ndk::ScopedAStatus getAudioPatches(std::vector<AudioPatch>*) override { in getAudioPatches() argument
80 ndk::ScopedAStatus setAudioPatch(const AudioPatch&, AudioPatch*) override { in setAudioPatch() argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.bp22 "src/AudioPatch.cpp",
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp38 using ::aidl::android::hardware::audio::core::AudioPatch;
94 std::vector<AudioPatch> patches;
215 std::vector<AudioPatch> getPatches() { in getPatches()
216 std::vector<AudioPatch> result; in getPatches()
297 std::vector<::aidl::android::hardware::audio::core::AudioPatch>* patches) override { in getAudioPatches()
349 const ::aidl::android::hardware::audio::core::AudioPatch& requested, in setAudioPatch()
350 ::aidl::android::hardware::audio::core::AudioPatch* patch) override { in setAudioPatch()
357 auto iter = findById<AudioPatch>(mConfig.patches, requested.id); in setAudioPatch()
396 auto iter = findById<AudioPatch>(mConfig.patches, patchId); in resetAudioPatch()
989 AudioPatch mPatch;
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java39 import android.media.AudioPatch;
948 public void onAudioPatchListUpdate(AudioPatch[] patchList) {
975 private AudioPatch mAudioPatch = null;
1143 AudioPatch[] audioPatchArray = new AudioPatch[] { mAudioPatch }; in updateAudioConfigLocked()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h849 virtual status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) in addAudioPatch()
899 sp<AudioPatch> createTelephonyPatch(bool isRx, const sp<DeviceDescriptor> &device,
1289 sp<AudioPatch> *patchDescPtr);
DAudioPolicyManager.cpp1795 sp<AudioPatch> patch = mAudioPatches.valueAt(i); in getMsdOutputPatches()
1813 const sp<AudioPatch> patch = mAudioPatches.valueAt(index); in isMsdPatch()
5166 sp<AudioPatch> patchDesc; in createAudioPatchInternal()
5465 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in releaseAudioPatch()
5492 sp<AudioPatch> patchDesc = mAudioPatches.valueFor(handle); in releaseAudioPatchInternal()
5651 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(i); in clearAudioPatches()
6676 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in onNewAudioModulesAvailableInt()
7056 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in closeOutput()
7120 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in closeInput()
7466 sp<AudioPatch> patchDesc = mAudioPatches.valueAt(index); in getNewOutputDevices()
[all …]
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java580 void onAudioPatchListUpdate(AudioPatch[] var1); in onAudioPatchListUpdate()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp722 sp<AudioPatch> patch = patches.valueFor(handle); in TEST_P()
/frameworks/base/boot/
Dpreloaded-classes5024 android.media.AudioPatch
14315 [Landroid.media.AudioPatch;
Dboot-image-profile.txt10569 …id/media/AudioManager$OnAmPortUpdateListener;->onAudioPatchListUpdate([Landroid/media/AudioPatch;)V
10638 HSPLandroid/media/AudioPatch;-><init>(Landroid/media/AudioHandle;[Landroid/media/AudioPortConfig;[L…
10639 HSPLandroid/media/AudioPatch;->sinks()[Landroid/media/AudioPortConfig;
10640 HSPLandroid/media/AudioPatch;->sources()[Landroid/media/AudioPortConfig;
27412 Landroid/media/AudioPatch;
36762 [Landroid/media/AudioPatch;
/frameworks/base/config/
Dpreloaded-classes5028 android.media.AudioPatch
17338 [Landroid.media.AudioPatch;
Dboot-image-profile.txt10572 …id/media/AudioManager$OnAmPortUpdateListener;->onAudioPatchListUpdate([Landroid/media/AudioPatch;)V
10641 HSPLandroid/media/AudioPatch;-><init>(Landroid/media/AudioHandle;[Landroid/media/AudioPortConfig;[L…
10642 HSPLandroid/media/AudioPatch;->sinks()[Landroid/media/AudioPortConfig;
10643 HSPLandroid/media/AudioPatch;->sources()[Landroid/media/AudioPortConfig;
37546 Landroid/media/AudioPatch;
49929 [Landroid/media/AudioPatch;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24183 …id/media/AudioManager$OnAmPortUpdateListener;->onAudioPatchListUpdate([Landroid/media/AudioPatch;)V
24187 …media/AudioManager$OnAudioPortUpdateListener;->onAudioPatchListUpdate([Landroid/media/AudioPatch;)V
24378 Landroid/media/AudioPatch;->id()I
24379 Landroid/media/AudioPatch;->mSinks:[Landroid/media/AudioPortConfig;
24380 Landroid/media/AudioPatch;->mSources:[Landroid/media/AudioPortConfig;
24705 Landroid/media/AudioSystem;->createAudioPatch([Landroid/media/AudioPatch;[Landroid/media/AudioPortC…
24869 Landroid/media/AudioSystem;->releaseAudioPatch(Landroid/media/AudioPatch;)I