Home
last modified time | relevance | path

Searched refs:AudioProductStrategy (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioProductStrategyTest.java24 import android.media.audiopolicy.AudioProductStrategy;
37 List<AudioProductStrategy> audioProductStrategies = in testGetProductStrategies()
38 AudioProductStrategy.getAudioProductStrategies(); in testGetProductStrategies()
43 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetProductStrategies()
68 List<AudioProductStrategy> audioProductStrategies = in testAudioAttributesFromStreamTypes()
69 AudioProductStrategy.getAudioProductStrategies(); in testAudioAttributesFromStreamTypes()
76 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in testAudioAttributesFromStreamTypes()
85 AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes( in testAudioAttributesFromStreamTypes()
91 AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes( in testAudioAttributesFromStreamTypes()
103 for (final AudioProductStrategy aps : audioProductStrategies) { in testAudioAttributesFromStreamTypes()
[all …]
DAudioVolumeGroupTest.java23 import android.media.audiopolicy.AudioProductStrategy;
53 final List<AudioProductStrategy> audioProductStrategies = in testGetVolumeGroups()
77 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetVolumeGroups()
109 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetVolumeGroups()
DAudioVolumesTestBase.java23 import android.media.audiopolicy.AudioProductStrategy;
40 AudioProductStrategy.sDefaultAttributes;
66 if (!aa.equals(AudioProductStrategy.sDefaultAttributes)) { in storeAllVolumes()
92 if (!aa.equals(AudioProductStrategy.sDefaultAttributes)) { in restoreAllVolumes()
DAudioManagerTest.java26 import android.media.audiopolicy.AudioProductStrategy;
41 List<AudioProductStrategy> audioProductStrategies = in testGetAndValidateProductStrategies()
49 for (final AudioProductStrategy audioProductStrategy : audioProductStrategies) { in testGetAndValidateProductStrategies()
109 List<AudioProductStrategy> audioProductStrategies = in testGetAndValidateVolumeGroups()
128 for (final AudioProductStrategy strategy : audioProductStrategies) { in testGetAndValidateVolumeGroups()
157 for (final AudioProductStrategy strategy : audioProductStrategies) { in testGetAndValidateVolumeGroups()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java43 public final class AudioProductStrategy implements Parcelable { class
66 private static List<AudioProductStrategy> sAudioProductStrategies;
73 public static List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies()
91 public static @Nullable AudioProductStrategy getAudioProductStrategyWithId(int id) { in getAudioProductStrategyWithId()
96 for (AudioProductStrategy strategy : sAudioProductStrategies) { in getAudioProductStrategyWithId()
113 public static @NonNull AudioProductStrategy createInvalidAudioProductStrategy(int id) { in createInvalidAudioProductStrategy()
114 return new AudioProductStrategy("dummy strategy", id, new AudioAttributesGroup[0]); in createInvalidAudioProductStrategy()
126 for (final AudioProductStrategy productStrategy : in getAudioAttributesForStrategyWithLegacyStreamType()
127 AudioProductStrategy.getAudioProductStrategies()) { in getAudioAttributesForStrategyWithLegacyStreamType()
147 for (final AudioProductStrategy productStrategy : in getLegacyStreamTypeForStrategyWithAudioAttributes()
[all …]
DAudioProductStrategy.aidl18 parcelable AudioProductStrategy;
/frameworks/av/media/libaudioclient/include/media/
DAudioProductStrategy.h28 class AudioProductStrategy : public Parcelable
31 AudioProductStrategy() {} in AudioProductStrategy() function
32 AudioProductStrategy(const std::string &name, const std::vector<AudioAttributes> &attributes, in AudioProductStrategy() function
63 using AudioProductStrategyVector = std::vector<AudioProductStrategy>;
/frameworks/av/media/libaudioclient/
DAudioProductStrategy.cpp26 status_t AudioProductStrategy::readFromParcel(const Parcel *parcel) in readFromParcel()
46 status_t AudioProductStrategy::writeToParcel(Parcel *parcel) const in writeToParcel()
74 bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttributes, in attributesMatches()
DAndroid.bp22 "AudioProductStrategy.cpp",
DAudioSystem.cpp1550 return AudioProductStrategy::attributesMatches( in attributesToStreamType()
DIAudioPolicyService.cpp1283 AudioProductStrategy strategy; in listAudioProductStrategies()
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp69 return AudioProductStrategy::attributesMatches(supportedAttr.mAttributes, attr); in matches()
78 return AudioProductStrategy::attributesMatches(supportedAttr.mAttributes, attr); }); in getStreamTypeForAttributes()
126 if (AudioProductStrategy::attributesMatches(supportedAttr.mAttributes, attr)) { in getVolumeGroupForAttributes()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java31 import android.media.audiopolicy.AudioProductStrategy;
196 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForLegacyStreamType()
206 AudioProductStrategy.sDefaultAttributes)) in getVolumeGroupIdForLegacyStreamType()
213 for (final AudioProductStrategy productStrategy : in getAudioAttributesForLegacyStreamType()
/frameworks/base/media/java/android/media/
DAudioAttributes.java24 import android.media.audiopolicy.AudioProductStrategy;
952 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in setInternalLegacyStreamType()
954 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in setInternalLegacyStreamType()
1388 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in toVolumeStreamType()
1389 return AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes(aa); in toVolumeStreamType()
DIAudioService.aidl38 import android.media.audiopolicy.AudioProductStrategy;
117 List<AudioProductStrategy> getAudioProductStrategies(); in getAudioProductStrategies()
DAudioManager.java44 import android.media.audiopolicy.AudioProductStrategy;
1599 public boolean setPreferredDeviceForStrategy(@NonNull AudioProductStrategy strategy, in setPreferredDeviceForStrategy()
1622 public boolean removePreferredDeviceForStrategy(@NonNull AudioProductStrategy strategy) { in removePreferredDeviceForStrategy()
1644 @NonNull AudioProductStrategy strategy) { in getPreferredDeviceForStrategy()
1676 void onPreferredDeviceForStrategyChanged(@NonNull AudioProductStrategy strategy, in onPreferredDeviceForStrategyChanged()
1787 final AudioProductStrategy strategy = in dispatchPrefDeviceChanged()
1788 AudioProductStrategy.getAudioProductStrategyWithId(strategyId); in dispatchPrefDeviceChanged()
6094 public static List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies()
/frameworks/base/core/jni/
Dandroid_media_AudioProductStrategies.cpp73 JNIEnv *env, jobject *jAudioStrategy, const AudioProductStrategy &strategy) in convertAudioProductStrategiesFromNative()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java97 import android.media.audiopolicy.AudioProductStrategy;
702 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in AudioService()
707 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in AudioService()
1234 public List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies()
1237 return AudioProductStrategy.getAudioProductStrategies(); in getAudioProductStrategies()
2796 return getVolumeGroupIdForAttributesInt(AudioProductStrategy.sDefaultAttributes); in getVolumeGroupIdForAttributes()
2801 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForAttributesInt()
2802 AudioProductStrategy.getAudioProductStrategies()) { in getVolumeGroupIdForAttributesInt()
5223 .anyMatch(aa -> !aa.equals(AudioProductStrategy.sDefaultAttributes)); in ensureValidAttributes()
5271 private AudioAttributes mAudioAttributes = AudioProductStrategy.sDefaultAttributes;
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt4139 …O_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioPr…
4145 …eAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
4153 … boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
4160 … setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull a…
4180 …ferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable …
4367 public final class AudioProductStrategy implements android.os.Parcelable {
4368 …method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioPro…
4374 …static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;
/frameworks/base/api/
Dsystem-current.txt4191 …O_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioPr…
4197 …eAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
4205 … boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy);
4212 … setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull a…
4232 …ferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable …
4419 public final class AudioProductStrategy implements android.os.Parcelable {
4420 …method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioPro…
4426 …static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;
/frameworks/base/config/
Dpreloaded-classes3927 android.media.audiopolicy.AudioProductStrategy$1
3928 android.media.audiopolicy.AudioProductStrategy$AudioAttributesGroup$1
3929 android.media.audiopolicy.AudioProductStrategy$AudioAttributesGroup
3930 android.media.audiopolicy.AudioProductStrategy
Dboot-image-profile.txt13454 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;-><init>(II[Landroid/media/…
13455 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->getAudioAttributes()Landr…
13456 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->getStreamType()I
13457 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->supportsAttributes(Landro…
13458 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->supportsStreamType(I)Z
13459 …PLandroid/media/audiopolicy/AudioProductStrategy;-><init>(Ljava/lang/String;I[Landroid/media/audio…
13460 HSPLandroid/media/audiopolicy/AudioProductStrategy;->access$100(Landroid/media/AudioAttributes;Land…
13461 HSPLandroid/media/audiopolicy/AudioProductStrategy;->attributesMatches(Landroid/media/AudioAttribut…
13462 HSPLandroid/media/audiopolicy/AudioProductStrategy;->getAudioAttributesForLegacyStreamType(I)Landro…
13463 HSPLandroid/media/audiopolicy/AudioProductStrategy;->getAudioAttributesForStrategyWithLegacyStreamT…
[all …]