Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
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 …]
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()
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()
DIAudioService.aidl62 import android.media.audiopolicy.AudioMixingRule;
382 in AudioMixingRule[] updatedMixingRules, in updateMixingRulesForPolicy()
DAudioSystem.java32 import android.media.audiopolicy.AudioMixingRule;
1996 AudioMixingRule[] updatedMixingRules); in updatePolicyMixes()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java20 import android.media.audiopolicy.AudioMixingRule.AudioMixMatchCriterion;
137 case AudioMixingRule.RULE_EXCLUDE_ATTRIBUTE_USAGE: in toLogFriendlyString()
141 case AudioMixingRule.RULE_MATCH_ATTRIBUTE_USAGE: in toLogFriendlyString()
145 case AudioMixingRule.RULE_EXCLUDE_ATTRIBUTE_CAPTURE_PRESET: in toLogFriendlyString()
149 case AudioMixingRule.RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET: in toLogFriendlyString()
153 case AudioMixingRule.RULE_MATCH_UID: in toLogFriendlyString()
157 case AudioMixingRule.RULE_EXCLUDE_UID: in toLogFriendlyString()
161 case AudioMixingRule.RULE_MATCH_USERID: in toLogFriendlyString()
165 case AudioMixingRule.RULE_EXCLUDE_USERID: in toLogFriendlyString()
169 case AudioMixingRule.RULE_MATCH_AUDIO_SESSION_ID: in toLogFriendlyString()
[all …]
DAudioMixingRule.java56 public class AudioMixingRule implements Parcelable { class
58 private AudioMixingRule(int mixType, Collection<AudioMixMatchCriterion> criteria, in AudioMixingRule() method in AudioMixingRule
360 final AudioMixingRule that = (AudioMixingRule) o; in equals()
629 ? AudioMixingRule::isRecorderRule : AudioMixingRule::isPlayerRule)) { in setTargetMixRole()
727 public AudioMixingRule build() { in build()
731 return new AudioMixingRule( in build()
754 for (AudioMixingRule.AudioMixMatchCriterion criterion : mCriteria) { in writeToParcel()
759 public static final @NonNull Parcelable.Creator<AudioMixingRule> CREATOR =
763 public AudioMixingRule createFromParcel(Parcel source) {
764 AudioMixingRule.Builder ruleBuilder = new AudioMixingRule.Builder();
[all …]
DAudioMix.java50 private @NonNull AudioMixingRule mRule;
80 private AudioMix(@NonNull AudioMixingRule rule, @NonNull AudioFormat format, in AudioMix()
194 public AudioMixingRule getRule() { in getRule()
208 public void setAudioMixingRule(@NonNull AudioMixingRule rule) { in setAudioMixingRule()
347 mixBuilder.setMixingRule(AudioMixingRule.CREATOR.createFromParcel(p));
377 private AudioMixingRule mRule = null;
398 public Builder(@NonNull AudioMixingRule rule) in Builder()
413 Builder setMixingRule(@NonNull AudioMixingRule rule) in setMixingRule()
611 private int getLoopbackDeviceSystemTypeForAudioMixingRule(AudioMixingRule rule) { in getLoopbackDeviceSystemTypeForAudioMixingRule()
DAudioMixingRule.aidl3 parcelable AudioMixingRule;
DAudioPolicy.java453 @NonNull List<Pair<AudioMix, AudioMixingRule>> mixingRuleUpdates) { in updateMixingRules()
462 AudioMixingRule[]::new), in updateMixingRules()
/frameworks/base/core/java/android/companion/virtual/audio/
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()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
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()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioSystemAdapter.java29 import android.media.audiopolicy.AudioMixingRule;
653 @NonNull AudioMixingRule[] updatedMixingRules) { in updateMixingRules()
DAudioService.java182 import android.media.audiopolicy.AudioMixingRule;
12796 @NonNull AudioMixingRule[] updatedMixingRules, in updateMixingRulesForPolicy()
13641 @NonNull AudioMixingRule[] updatedMixingRules) { in updateMixingRules()
13661 AudioMixingRule audioMixingRule = updatedMixingRules[i]; in updateMixingRules()
/frameworks/base/core/api/
Dsystem-lint-baseline.txt1964 UnflaggedApi: android.media.audiopolicy.AudioMixingRule#CREATOR:
1965 … New API must be flagged with @FlaggedApi: field android.media.audiopolicy.AudioMixingRule.CREATOR
1966 UnflaggedApi: android.media.audiopolicy.AudioMixingRule#describeContents():
1967 …New API must be flagged with @FlaggedApi: method android.media.audiopolicy.AudioMixingRule.describ…
1968 UnflaggedApi: android.media.audiopolicy.AudioMixingRule#writeToParcel(android.os.Parcel, int):
1969 …New API must be flagged with @FlaggedApi: method android.media.audiopolicy.AudioMixingRule.writeTo…
1970 …<android.util.Pair<android.media.audiopolicy.AudioMix,android.media.audiopolicy.AudioMixingRule>>):
1971 …t<android.util.Pair<android.media.audiopolicy.AudioMix,android.media.audiopolicy.AudioMixingRule>>)
Dsystem-current.txt7465 …ctor public AudioMix.Builder(@NonNull android.media.audiopolicy.AudioMixingRule) throws java.lang.…
7472 public class AudioMixingRule implements android.os.Parcelable {
7476 …blic static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioMixingRule> CREATOR;
7486 public static class AudioMixingRule.Builder {
7487 ctor public AudioMixingRule.Builder();
7488 …method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws jav…
7489 …method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttribu…
7490 …method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCa…
7491 method public android.media.audiopolicy.AudioMixingRule build();
7492 …method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws…
[all …]
/frameworks/base/boot/
Dpreloaded-classes5393 android.media.audiopolicy.AudioMixingRule$1
5394 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion$1
5395 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion
5396 android.media.audiopolicy.AudioMixingRule$Builder
5397 android.media.audiopolicy.AudioMixingRule
Dboot-image-profile.txt27788 Landroid/media/audiopolicy/AudioMixingRule$1;
27789 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion$1;
27790 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion;
27791 Landroid/media/audiopolicy/AudioMixingRule$Builder;
27792 Landroid/media/audiopolicy/AudioMixingRule;
/frameworks/base/config/
Dpreloaded-classes5397 android.media.audiopolicy.AudioMixingRule$1
5398 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion$1
5399 android.media.audiopolicy.AudioMixingRule$AudioMixMatchCriterion
5400 android.media.audiopolicy.AudioMixingRule$Builder
5401 android.media.audiopolicy.AudioMixingRule
Dboot-image-profile.txt37922 Landroid/media/audiopolicy/AudioMixingRule$1;
37923 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion$1;
37924 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion;
37925 Landroid/media/audiopolicy/AudioMixingRule$Builder;
37926 Landroid/media/audiopolicy/AudioMixingRule;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24424 Landroid/media/audiopolicy/AudioMix$Builder;->mRule:Landroid/media/audiopolicy/AudioMixingRule;
24427 …iopolicy/AudioMix$Builder;->setMixingRule(Landroid/media/audiopolicy/AudioMixingRule;)Landroid/med…
24428 Landroid/media/audiopolicy/AudioMix;-><init>(Landroid/media/audiopolicy/AudioMixingRule;Landroid/me…
24435 Landroid/media/audiopolicy/AudioMix;->getRule()Landroid/media/audiopolicy/AudioMixingRule;
24443 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion;-><init>(Landroid/media/AudioAttr…
24444 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion;-><init>(Ljava/lang/Integer;I)V
24445 Landroid/media/audiopolicy/AudioMixingRule$AudioMixMatchCriterion;->writeToParcel(Landroid/os/Parce…
24446 …roid/media/audiopolicy/AudioMixingRule$Builder;->addRuleFromParcel(Landroid/os/Parcel;)Landroid/me…
24447 …opolicy/AudioMixingRule$Builder;->addRuleInternal(Landroid/media/AudioAttributes;Ljava/lang/Intege…
24448 …d/media/audiopolicy/AudioMixingRule$Builder;->checkAddRuleObjInternal(ILjava/lang/Object;)Landroid…
[all …]