/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 58 private AudioMixingRule(int mixType, Collection<AudioMixMatchCriterion> criteria, in AudioMixingRule() 136 public static final class AudioMixMatchCriterion implements Parcelable { class in AudioMixingRule 146 public AudioMixMatchCriterion(AudioAttributes attributes, int rule) { in AudioMixMatchCriterion() method in AudioMixingRule.AudioMixMatchCriterion 153 public AudioMixMatchCriterion(Integer intProp, int rule) { in AudioMixMatchCriterion() method in AudioMixingRule.AudioMixMatchCriterion 159 private AudioMixMatchCriterion(@NonNull Parcel in) { in AudioMixMatchCriterion() method in AudioMixingRule.AudioMixMatchCriterion 196 AudioMixMatchCriterion other = (AudioMixMatchCriterion) object; in equals() 228 public static final @NonNull Parcelable.Creator<AudioMixMatchCriterion> CREATOR = 236 public AudioMixMatchCriterion createFromParcel(Parcel p) { 237 return new AudioMixMatchCriterion(p); 239 public AudioMixMatchCriterion[] newArray(int size) { [all …]
|
D | AudioPolicyConfig.java | 20 import android.media.audiopolicy.AudioMixingRule.AudioMixMatchCriterion; 134 final ArrayList<AudioMixMatchCriterion> criteria = mix.getRule().getCriteria(); in toLogFriendlyString() 135 for (AudioMixMatchCriterion criterion : criteria) { in toLogFriendlyString()
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 27 AudioMixMatchCriterion::AudioMixMatchCriterion(audio_usage_t usage, in AudioMixMatchCriterion() function in android::AudioMixMatchCriterion 40 status_t AudioMixMatchCriterion::readFromParcel(Parcel *parcel) in readFromParcel() 71 status_t AudioMixMatchCriterion::writeToParcel(Parcel *parcel) const in writeToParcel() 78 bool AudioMixMatchCriterion::isExcludeCriterion() const { in isExcludeCriterion() 104 AudioMixMatchCriterion criterion; in readFromParcel() 148 AudioMixMatchCriterion crit; in setExcludeUid() 155 AudioMixMatchCriterion crit; in setMatchUid() 182 AudioMixMatchCriterion crit; in setExcludeUserId() 189 AudioMixMatchCriterion crit; in setMatchUserId()
|
D | PolicyAidlConversion.cpp | 129 using AudioMixMatchCriterionValue = decltype(AudioMixMatchCriterion::mValue); 204 ConversionResult<AudioMixMatchCriterion> 205 aidl2legacy_AudioMixMatchCriterion(const media::AudioMixMatchCriterion& aidl) { in aidl2legacy_AudioMixMatchCriterion() 206 AudioMixMatchCriterion legacy; in aidl2legacy_AudioMixMatchCriterion() 215 ConversionResult<media::AudioMixMatchCriterion> 216 legacy2aidl_AudioMixMatchCriterion(const AudioMixMatchCriterion& legacy) { in legacy2aidl_AudioMixMatchCriterion() 217 media::AudioMixMatchCriterion aidl; in legacy2aidl_AudioMixMatchCriterion() 254 convertContainer<std::vector<media::AudioMixMatchCriterion>>( in legacy2aidl_AudioMix()
|
D | Android.bp | 352 "aidl/android/media/AudioMixMatchCriterion.aidl",
|
D | AudioSystem.cpp | 1923 const std::vector<std::pair<AudioMix, std::vector<AudioMixMatchCriterion>>>& in updatePolicyMixes()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 73 class AudioMixMatchCriterion { 75 AudioMixMatchCriterion() {} in AudioMixMatchCriterion() function 76 AudioMixMatchCriterion(audio_usage_t usage, audio_source_t source, uint32_t rule); 99 AudioMix(const std::vector<AudioMixMatchCriterion> &criteria, uint32_t mixType, in AudioMix() 124 std::vector<AudioMixMatchCriterion> mCriteria;
|
D | PolicyAidlConversion.h | 72 ConversionResult<AudioMixMatchCriterion> 73 aidl2legacy_AudioMixMatchCriterion(const media::AudioMixMatchCriterion& aidl); 74 ConversionResult<media::AudioMixMatchCriterion> 75 legacy2aidl_AudioMixMatchCriterion(const AudioMixMatchCriterion& legacy);
|
D | AudioSystem.h | 490 std::pair<AudioMix, std::vector<AudioMixMatchCriterion>>>& mixesWithUpdates);
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioMixUpdate.aidl | 20 import android.media.AudioMixMatchCriterion; 30 AudioMixMatchCriterion[] newCriteria;
|
D | AudioMix.aidl | 20 import android.media.AudioMixMatchCriterion; 30 AudioMixMatchCriterion[] criteria;
|
D | AudioMixMatchCriterion.aidl | 24 parcelable AudioMixMatchCriterion {
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 47 bool isCriterionMatched(const AudioMixMatchCriterion& criterion, in isCriterionMatched() 76 bool areMixCriteriaMatched(const std::vector<AudioMixMatchCriterion>& criteria, in areMixCriteriaMatched() 81 auto isMatchingExcludeCriterion = [&](const AudioMixMatchCriterion& c) { in areMixCriteriaMatched() 104 bool areMixCriteriaConsistent(const std::vector<AudioMixMatchCriterion>& criteria) { in areMixCriteriaConsistent() 106 for (const AudioMixMatchCriterion& c : criteria) { in areMixCriteriaConsistent() 113 auto isConflictingCriterion = [&positiveCriteria](const AudioMixMatchCriterion& c) { in areMixCriteriaConsistent() 122 void EraseCriteriaIf(std::vector<AudioMixMatchCriterion>& v, in EraseCriteriaIf() 248 const AudioMix& mix, const std::vector<AudioMixMatchCriterion>& updatedCriteria) { in updateMix() 620 EraseCriteriaIf(mix->mCriteria, [uid](const AudioMixMatchCriterion& c) { in removeUidDeviceAffinities() 712 EraseCriteriaIf(mix->mCriteria, [userId](const AudioMixMatchCriterion& c) { in removeUserIdDeviceAffinities()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 54 AudioMixMatchCriterion createUidCriterion(uint32_t uid, bool exclude = false) { in createUidCriterion() 55 AudioMixMatchCriterion criterion; in createUidCriterion() 61 AudioMixMatchCriterion createUserIdCriterion(int userId, bool exclude = false) { in createUserIdCriterion() 62 AudioMixMatchCriterion criterion; in createUserIdCriterion() 68 AudioMixMatchCriterion createUsageCriterion(audio_usage_t usage, bool exclude = false) { in createUsageCriterion() 69 AudioMixMatchCriterion criterion; in createUsageCriterion() 75 AudioMixMatchCriterion createCapturePresetCriterion(audio_source_t source, bool exclude = false) { in createCapturePresetCriterion() 76 AudioMixMatchCriterion criterion; in createCapturePresetCriterion() 83 AudioMixMatchCriterion createSessionIdCriterion(audio_session_t session, bool exclude = false) { in createSessionIdCriterion() 84 AudioMixMatchCriterion criterion; in createSessionIdCriterion() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 23 import android.media.audiopolicy.AudioMixingRule.AudioMixMatchCriterion; 119 ToIntFunction<AudioMixMatchCriterion> getPredicate) { in getIntPredicates()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audioclient_serialization_tests.cpp | 198 std::vector<AudioMixMatchCriterion> criteria; in TEST_F() 201 AudioMixMatchCriterion ammc{kUsages[rand() % kUsages.size()], in TEST_F() 262 AudioMixMatchCriterion ammc{mAudioUsage, mAudioSource, mAudioMixMatchRules}; in TEST_P() 267 AudioMixMatchCriterion ammcCopy; in TEST_P()
|
D | audiorouting_tests.cpp | 146 AudioMixMatchCriterion criterion(AUDIO_USAGE_MEDIA, AUDIO_SOURCE_DEFAULT, in SetUp() 148 std::vector<AudioMixMatchCriterion> criteria{criterion}; in SetUp()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 62 status_t updateMix(const AudioMix& mix, const std::vector<AudioMixMatchCriterion>& newCriteria);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 284 const std::vector<AudioMixMatchCriterion>& updatedCriteria) = 0;
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 558 std::vector<AudioMixMatchCriterion> myMixMatchCriteria; in addPolicyMix() 563 AudioMixMatchCriterion(std::get<0>(rule), std::get<1>(rule), std::get<2>(rule))); in addPolicyMix()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 303 const std::vector<AudioMixMatchCriterion>& updatedCriteria) override;
|
D | AudioPolicyManager.cpp | 4071 const std::vector<AudioMixMatchCriterion>& updatedCriteria) { in updatePolicyMix()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 2188 std::vector<AudioMixMatchCriterion> *nCriteria) { in convertAudioMixingRuleToNative() 2202 AudioMixMatchCriterion &nCriterion = (*nCriteria)[i]; in convertAudioMixingRuleToNative() 2453 std::vector<std::pair<AudioMix, std::vector<AudioMixMatchCriterion>>> updates(updatesCount); in android_media_AudioSystem_updatePolicyMixes()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1835 std::vector<AudioMixMatchCriterion> newCriteria = in updatePolicyMixes() 1836 VALUE_OR_RETURN_BINDER_STATUS(convertContainer<std::vector<AudioMixMatchCriterion>>( in updatePolicyMixes()
|
/frameworks/base/boot/ |
D | preloaded-classes | 5394 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion$1 5395 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion
|