Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java53 AudioPolicyConfig(ArrayList<AudioMix> mixes) { in AudioPolicyConfig() argument
54 mMixes = mixes; in AudioPolicyConfig()
253 protected void add(@NonNull ArrayList<AudioMix> mixes) { in add() argument
254 for (AudioMix mix : mixes) { in add()
261 protected void remove(@NonNull ArrayList<AudioMix> mixes) { in remove() argument
262 for (AudioMix mix : mixes) { in remove()
DAudioPolicy.java336 public int attachMixes(@NonNull List<AudioMix> mixes) { in attachMixes() argument
337 if (mixes == null) { in attachMixes()
344 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in attachMixes()
345 for (AudioMix mix : mixes) { in attachMixes()
375 public int detachMixes(@NonNull List<AudioMix> mixes) { in detachMixes() argument
376 if (mixes == null) { in detachMixes()
383 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in detachMixes()
384 for (AudioMix mix : mixes) { in detachMixes()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1216 status_t AudioPolicyService::registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) in registerPolicyMixes() argument
1221 bool needModifyAudioRouting = std::any_of(mixes.begin(), mixes.end(), [](auto& mix) { in registerPolicyMixes()
1230 std::any_of(mixes.begin(), mixes.end(), [](auto& mix) { in registerPolicyMixes()
1233 bool needCaptureMediaOutput = std::any_of(mixes.begin(), mixes.end(), [](auto& mix) { in registerPolicyMixes()
1253 return mAudioPolicyManager->registerPolicyMixes(mixes); in registerPolicyMixes()
1255 return mAudioPolicyManager->unregisterPolicyMixes(mixes); in registerPolicyMixes()
DAudioPolicyService.h227 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h250 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes) = 0;
251 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes) = 0;
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h197 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) = 0;
DAudioSystem.h362 static status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h263 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes);
264 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes);
DAudioPolicyManager.cpp2877 status_t AudioPolicyManager::registerPolicyMixes(const Vector<AudioMix>& mixes) in registerPolicyMixes() argument
2879 ALOGV("registerPolicyMixes() %zu mix(es)", mixes.size()); in registerPolicyMixes()
2884 for (size_t i = 0; i < mixes.size(); i++) { in registerPolicyMixes()
2885 AudioMix mix = mixes[i]; in registerPolicyMixes()
2890 i, mixes.size()); in registerPolicyMixes()
2897 ALOGV("registerPolicyMixes() mix %zu of %zu is LOOP_BACK %d", i, mixes.size(), in registerPolicyMixes()
2947 i, mixes.size(), type, address.string()); in registerPolicyMixes()
3006 unregisterPolicyMixes(mixes); in registerPolicyMixes()
3014 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes() argument
3016 ALOGV("unregisterPolicyMixes() num mixes %zu", mixes.size()); in unregisterPolicyMixes()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp872 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) in registerPolicyMixes() argument
877 size_t size = mixes.size(); in registerPolicyMixes()
886 if (mixes[i].writeToParcel(&data) != NO_ERROR) { in registerPolicyMixes()
2216 Vector<AudioMix> mixes; in onTransact() local
2224 mixes.add(mix); in onTransact()
2227 status_t status = registerPolicyMixes(mixes, registration); in onTransact()
DAudioSystem.cpp1357 status_t AudioSystem::registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) in registerPolicyMixes() argument
1361 return aps->registerPolicyMixes(mixes, registration); in registerPolicyMixes()
/frameworks/base/media/java/android/media/
DAudioSystem.java1568 public static native int registerPolicyMixes(ArrayList<AudioMix> mixes, boolean register); in registerPolicyMixes() argument
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2030 Vector <AudioMix> mixes; in android_media_AudioSystem_registerPolicyMixes() local
2044 mixes.add(mix); in android_media_AudioSystem_registerPolicyMixes()
2048 status = AudioSystem::registerPolicyMixes(mixes, registration); in android_media_AudioSystem_registerPolicyMixes()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java8631 int addMixes(@NonNull ArrayList<AudioMix> mixes) { in addMixes() argument
8635 this.add(mixes); in addMixes()
8640 int removeMixes(@NonNull ArrayList<AudioMix> mixes) { in removeMixes() argument
8644 this.remove(mixes); in removeMixes()