Home
last modified time | relevance | path

Searched refs:AudioMixingRule (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
H A DAudioMixingRuleUnitTests.java40 import android.media.audiopolicy.AudioMixingRule;
70 AudioMixingRule rule = new AudioMixingRule.Builder() in testConstructValidRule()
88 () -> new AudioMixingRule.Builder() in testConstructRuleWithConflictingCriteriaFails()
98 AudioMixingRule rule = new AudioMixingRule.Builder() in testRuleBuilderDedupsCriteria()
116 () -> new AudioMixingRule.Builder() in failsWhenAddAttributeRuleCalledWithInvalidType()
126 () -> new AudioMixingRule.Builder() in failsWhenExcludeAttributeRuleCalledWithInvalidType()
136 () -> new AudioMixingRule.Builder() in failsWhenAddIntRuleCalledWithInvalidType()
145 () -> new AudioMixingRule.Builder() in failsWhenExcludeIntRuleCalledWithInvalidType()
153 AudioMixingRule rule = new AudioMixingRule.Builder() in injectorMixTypeDeductionWithGenericRuleSucceeds()
194 AudioMixingRule rule = new AudioMixingRule.Builder() in sessionIdRuleCompatibleWithPlayersMix()
[all …]
H A DAudioMixUnitTests.java25 import static android.media.audiopolicy.AudioMixingRule.RULE_MATCH_UID;
33 import android.media.audiopolicy.AudioMixingRule;
78 new AudioMix.Builder(new AudioMixingRule.Builder() in testEquals()
85 new AudioMix.Builder(new AudioMixingRule.Builder() in testEquals()
99 new AudioMix.Builder(new AudioMixingRule.Builder() in testEquals()
106 new AudioMix.Builder(new AudioMixingRule.Builder() in testEquals()
119 new AudioMix.Builder(new AudioMixingRule.Builder() in testEquals()
131 new AudioMix.Builder(new AudioMixingRule.Builder() in testEquals()
141 new AudioMix.Builder(new AudioMixingRule.Builder() in testEquals()
210 new AudioMixingRule.Builder() in buildLoopbackWithDevice_throws()
[all …]
H A DAudioPolicyDeathTestActivity.java25 import android.media.audiopolicy.AudioMixingRule;
55 AudioMixingRule.Builder audioMixingRuleBuilder = new AudioMixingRule.Builder() in onCreate()
56 .addRule(attributes, AudioMixingRule.RULE_MATCH_ATTRIBUTE_USAGE); in onCreate()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioPlaybackCaptureConfiguration.java22 import android.media.audiopolicy.AudioMixingRule;
23 import android.media.audiopolicy.AudioMixingRule.AudioMixMatchCriterion;
75 private final AudioMixingRule mAudioMixingRule;
78 private AudioPlaybackCaptureConfiguration(AudioMixingRule audioMixingRule, in AudioPlaybackCaptureConfiguration()
95 return getIntPredicates(AudioMixingRule.RULE_MATCH_ATTRIBUTE_USAGE, in getMatchingUsages()
101 return getIntPredicates(AudioMixingRule.RULE_MATCH_UID, in getMatchingUids()
108 return getIntPredicates(AudioMixingRule.RULE_EXCLUDE_ATTRIBUTE_USAGE, in getExcludeUsages()
114 return getIntPredicates(AudioMixingRule.RULE_EXCLUDE_UID, in getExcludeUids()
152 private final AudioMixingRule.Builder mAudioMixingRuleBuilder;
167 mAudioMixingRuleBuilder = new AudioMixingRule.Builder(); in Builder()
[all …]
H A DAudioRecord.java42 import android.media.audiopolicy.AudioMixingRule;
839 AudioMixingRule audioMixingRule = new AudioMixingRule.Builder() in buildCallExtractionRecord()
840 .addMixRule(AudioMixingRule.RULE_MATCH_ATTRIBUTE_USAGE, in buildCallExtractionRecord()
845 .addMixRule(AudioMixingRule.RULE_MATCH_ATTRIBUTE_USAGE, in buildCallExtractionRecord()
850 .setTargetMixRole(AudioMixingRule.MIX_ROLE_PLAYERS) in buildCallExtractionRecord()
H A DAudioTrack.java35 import android.media.audiopolicy.AudioMixingRule;
1343 AudioMixingRule audioMixingRule = new AudioMixingRule.Builder() in buildCallInjectionTrack()
1344 .addMixRule(AudioMixingRule.RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET, in buildCallInjectionTrack()
1349 .setTargetMixRole(AudioMixingRule.MIX_ROLE_INJECTOR) in buildCallInjectionTrack()
/aosp14/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java21 import android.media.audiopolicy.AudioMixingRule.AudioMixMatchCriterion;
134 AudioMixingRule.Builder ruleBuilder = new AudioMixingRule.Builder(); in AudioPolicyConfig()
188 case AudioMixingRule.RULE_EXCLUDE_ATTRIBUTE_USAGE: in toLogFriendlyString()
192 case AudioMixingRule.RULE_MATCH_ATTRIBUTE_USAGE: in toLogFriendlyString()
200 case AudioMixingRule.RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET: in toLogFriendlyString()
204 case AudioMixingRule.RULE_MATCH_UID: in toLogFriendlyString()
208 case AudioMixingRule.RULE_EXCLUDE_UID: in toLogFriendlyString()
212 case AudioMixingRule.RULE_MATCH_USERID: in toLogFriendlyString()
216 case AudioMixingRule.RULE_EXCLUDE_USERID: in toLogFriendlyString()
220 case AudioMixingRule.RULE_MATCH_AUDIO_SESSION_ID: in toLogFriendlyString()
[all …]
H A DAudioMixingRule.java53 public class AudioMixingRule { class
55 private AudioMixingRule(int mixType, Collection<AudioMixMatchCriterion> criteria, in AudioMixingRule() method in AudioMixingRule
309 final AudioMixingRule that = (AudioMixingRule) o; in equals()
578 ? AudioMixingRule::isRecorderRule : AudioMixingRule::isPlayerRule)) { in setTargetMixRole()
709 public AudioMixingRule build() { in build()
713 return new AudioMixingRule( in build()
H A DAudioMix.java41 private AudioMixingRule mRule;
63 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix()
173 public AudioMixingRule getRule() { in getRule()
279 private AudioMixingRule mRule = null;
298 public Builder(AudioMixingRule rule) in Builder()
313 Builder setMixingRule(AudioMixingRule rule) in setMixingRule()
/aosp14/frameworks/base/core/java/android/companion/virtual/audio/
H A DVirtualAudioSession.java32 import android.media.audiopolicy.AudioMixingRule;
311 AudioMixingRule.Builder builder = new AudioMixingRule.Builder(); in createAudioRecordMix()
312 builder.setTargetMixRole(AudioMixingRule.MIX_ROLE_PLAYERS); in createAudioRecordMix()
314 builder.addMixRule(AudioMixingRule.RULE_MATCH_UID, uid); in createAudioRecordMix()
316 AudioMixingRule audioMixingRule = builder.allowPrivilegedPlaybackCapture(false).build(); in createAudioRecordMix()
326 AudioMixingRule.Builder builder = new AudioMixingRule.Builder(); in createAudioTrackMix()
327 builder.setTargetMixRole(AudioMixingRule.MIX_ROLE_INJECTOR); in createAudioTrackMix()
329 builder.addMixRule(AudioMixingRule.RULE_MATCH_UID, uid); in createAudioTrackMix()
331 AudioMixingRule audioMixingRule = builder.build(); in createAudioTrackMix()
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt7284 …ctor public AudioMix.Builder(android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalAr…
7291 public class AudioMixingRule {
7302 public static class AudioMixingRule.Builder {
7303 ctor public AudioMixingRule.Builder();
7304 …method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws jav…
7305 …method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttribu…
7306 …method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCa…
7307 method public android.media.audiopolicy.AudioMixingRule build();
7308 …method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws…
7309 …method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAtt…
[all …]
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt24446 …roid/media/audiopolicy/AudioMixingRule$Builder;->addRuleFromParcel(Landroid/os/Parcel;)Landroid/me…
24448 …d/media/audiopolicy/AudioMixingRule$Builder;->checkAddRuleObjInternal(ILjava/lang/Object;)Landroid…
24450 Landroid/media/audiopolicy/AudioMixingRule$Builder;->mTargetMixType:I
24454 Landroid/media/audiopolicy/AudioMixingRule;->getTargetMixType()I
24455 Landroid/media/audiopolicy/AudioMixingRule;->isAffectingUsage(I)Z
24456 Landroid/media/audiopolicy/AudioMixingRule;->isAudioAttributeRule(I)Z
24457 Landroid/media/audiopolicy/AudioMixingRule;->isPlayerRule(I)Z
24459 Landroid/media/audiopolicy/AudioMixingRule;->isValidRule(I)Z
24461 Landroid/media/audiopolicy/AudioMixingRule;->mTargetMixType:I
24464 Landroid/media/audiopolicy/AudioMixingRule;->RULE_EXCLUDE_UID:I
[all …]
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes5260 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion
5261 android.media.audiopolicy.AudioMixingRule$Builder
5262 android.media.audiopolicy.AudioMixingRule
H A Dboot-image-profile.txt28047 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion;
28048 Landroid/media/audiopolicy/AudioMixingRule$Builder;
28049 Landroid/media/audiopolicy/AudioMixingRule;
/aosp14/frameworks/base/config/
H A Dpreloaded-classes5264 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion
5265 android.media.audiopolicy.AudioMixingRule$Builder
5266 android.media.audiopolicy.AudioMixingRule
H A Dboot-image-profile.txt38154 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion;
38155 Landroid/media/audiopolicy/AudioMixingRule$Builder;
38156 Landroid/media/audiopolicy/AudioMixingRule;