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.java42 public final class AudioProductStrategy implements Parcelable { class
65 private static List<AudioProductStrategy> sAudioProductStrategies;
72 public static List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies()
92 for (final AudioProductStrategy productStrategy : in getAudioAttributesForStrategyWithLegacyStreamType()
93 AudioProductStrategy.getAudioProductStrategies()) { in getAudioAttributesForStrategyWithLegacyStreamType()
113 for (final AudioProductStrategy productStrategy : in getLegacyStreamTypeForStrategyWithAudioAttributes()
114 AudioProductStrategy.getAudioProductStrategies()) { in getLegacyStreamTypeForStrategyWithAudioAttributes()
130 private static List<AudioProductStrategy> initializeAudioProductStrategies() { in initializeAudioProductStrategies()
131 ArrayList<AudioProductStrategy> apsList = new ArrayList<AudioProductStrategy>(); in initializeAudioProductStrategies()
140 ArrayList<AudioProductStrategy> strategies); in native_list_audio_product_strategies()
[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()
73 bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttributes, in attributesMatches()
DAndroid.bp28 "AudioProductStrategy.cpp",
DAudioSystem.cpp1495 return AudioProductStrategy::attributesMatches( in attributesToStreamType()
DIAudioPolicyService.cpp1199 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/media/java/android/media/
DAudioAttributes.java23 import android.media.audiopolicy.AudioProductStrategy;
830 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in setInternalLegacyStreamType()
832 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in setInternalLegacyStreamType()
1223 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in toVolumeStreamType()
1224 return AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes(aa); in toVolumeStreamType()
DIAudioService.aidl36 import android.media.audiopolicy.AudioProductStrategy;
107 List<AudioProductStrategy> getAudioProductStrategies(); in getAudioProductStrategies()
DAudioManager.java41 import android.media.audiopolicy.AudioProductStrategy;
5473 public static List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies()
/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/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.java91 import android.media.audiopolicy.AudioProductStrategy;
645 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in AudioService()
650 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in AudioService()
1120 public List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies()
1121 return AudioProductStrategy.getAudioProductStrategies(); in getAudioProductStrategies()
2466 return getVolumeGroupIdForAttributesInt(AudioProductStrategy.sDefaultAttributes); in getVolumeGroupIdForAttributes()
2471 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForAttributesInt()
2472 AudioProductStrategy.getAudioProductStrategies()) { in getVolumeGroupIdForAttributesInt()
4516 .anyMatch(aa -> !aa.equals(AudioProductStrategy.sDefaultAttributes)); in ensureValidAttributes()
4564 private AudioAttributes mAudioAttributes = AudioProductStrategy.sDefaultAttributes;
[all …]
/frameworks/base/config/
Dpreloaded-classes2396 android.media.audiopolicy.AudioProductStrategy$1
2397 android.media.audiopolicy.AudioProductStrategy$AudioAttributesGroup$1
2398 android.media.audiopolicy.AudioProductStrategy$AudioAttributesGroup
2399 android.media.audiopolicy.AudioProductStrategy
Dboot-image-profile.txt9820 HSPLandroid/media/audiopolicy/AudioProductStrategy$1;-><init>()V
9821 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup$1;-><init>()V
9822 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;-><init>(II[Landroid/media/…
9823 …PLandroid/media/audiopolicy/AudioProductStrategy;-><init>(Ljava/lang/String;I[Landroid/media/audio…
34705 Landroid/media/audiopolicy/AudioProductStrategy$1;
34706 Landroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup$1;
34707 Landroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;
34708 Landroid/media/audiopolicy/AudioProductStrategy;
/frameworks/base/api/
Dsystem-current.txt3758 …O_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioPr…
3946 public final class AudioProductStrategy implements android.os.Parcelable {
3951 …static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;
/frameworks/base/non-updatable-api/
Dsystem-current.txt3758 …O_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioPr…
3946 public final class AudioProductStrategy implements android.os.Parcelable {
3951 …static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;