Home
last modified time | relevance | path

Searched refs:mixes (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java53 AudioPolicyConfig(ArrayList<AudioMix> mixes) { in AudioPolicyConfig() argument
54 mMixes = mixes; in AudioPolicyConfig()
239 protected void add(@NonNull ArrayList<AudioMix> mixes) { in add() argument
240 for (AudioMix mix : mixes) { in add()
247 protected void remove(@NonNull ArrayList<AudioMix> mixes) { in remove() argument
248 for (AudioMix mix : mixes) { in remove()
DAudioPolicy.java334 public int attachMixes(@NonNull List<AudioMix> mixes) { in attachMixes() argument
335 if (mixes == null) { in attachMixes()
342 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in attachMixes()
343 for (AudioMix mix : mixes) { in attachMixes()
373 public int detachMixes(@NonNull List<AudioMix> mixes) { in detachMixes() argument
374 if (mixes == null) { in detachMixes()
381 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in detachMixes()
382 for (AudioMix mix : mixes) { in detachMixes()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1109 status_t AudioPolicyService::registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) in registerPolicyMixes() argument
1114 bool needModifyAudioRouting = std::any_of(mixes.begin(), mixes.end(), [](auto& mix) { in registerPolicyMixes()
1120 bool needCaptureMediaOutput = std::any_of(mixes.begin(), mixes.end(), [](auto& mix) { in registerPolicyMixes()
1133 return mAudioPolicyManager->registerPolicyMixes(mixes); in registerPolicyMixes()
1135 return mAudioPolicyManager->unregisterPolicyMixes(mixes); in registerPolicyMixes()
DAudioPolicyService.h220 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h231 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes) = 0;
232 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes) = 0;
/frameworks/av/include/media/
DIAudioPolicyService.h187 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) = 0;
DAudioSystem.h346 static status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h187 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) = 0;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h256 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes);
257 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes);
DAudioPolicyManager.cpp2838 status_t AudioPolicyManager::registerPolicyMixes(const Vector<AudioMix>& mixes) in registerPolicyMixes() argument
2840 ALOGV("registerPolicyMixes() %zu mix(es)", mixes.size()); in registerPolicyMixes()
2845 for (size_t i = 0; i < mixes.size(); i++) { in registerPolicyMixes()
2846 AudioMix mix = mixes[i]; in registerPolicyMixes()
2851 i, mixes.size()); in registerPolicyMixes()
2858 ALOGV("registerPolicyMixes() mix %zu of %zu is LOOP_BACK %d", i, mixes.size(), in registerPolicyMixes()
2908 i, mixes.size(), type, address.string()); in registerPolicyMixes()
2948 unregisterPolicyMixes(mixes); in registerPolicyMixes()
2953 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes() argument
2955 ALOGV("unregisterPolicyMixes() num mixes %zu", mixes.size()); in unregisterPolicyMixes()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp842 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) in registerPolicyMixes() argument
847 size_t size = mixes.size(); in registerPolicyMixes()
856 if (mixes[i].writeToParcel(&data) != NO_ERROR) { in registerPolicyMixes()
1996 Vector<AudioMix> mixes; in onTransact() local
2004 mixes.add(mix); in onTransact()
2007 status_t status = registerPolicyMixes(mixes, registration); in onTransact()
DAudioSystem.cpp1317 status_t AudioSystem::registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) in registerPolicyMixes() argument
1321 return aps->registerPolicyMixes(mixes, registration); in registerPolicyMixes()
/frameworks/base/media/java/android/media/
DAudioSystem.java1026 public static native int registerPolicyMixes(ArrayList<AudioMix> mixes, boolean register); in registerPolicyMixes() argument
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1957 Vector <AudioMix> mixes; in android_media_AudioSystem_registerPolicyMixes() local
1971 mixes.add(mix); in android_media_AudioSystem_registerPolicyMixes()
1975 status = AudioSystem::registerPolicyMixes(mixes, registration); in android_media_AudioSystem_registerPolicyMixes()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7380 int addMixes(@NonNull ArrayList<AudioMix> mixes) { in addMixes() argument
7384 this.add(mixes); in addMixes()
7389 int removeMixes(@NonNull ArrayList<AudioMix> mixes) { in removeMixes() argument
7393 this.remove(mixes); in removeMixes()