Home
last modified time | relevance | path

Searched refs:FadeManagerConfiguration (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DFadeManagerConfigurationUnitTest.java25 import android.media.FadeManagerConfiguration;
85 .setId(FadeManagerConfiguration.VOLUME_SHAPER_SYSTEM_FADE_ID)
93 .setId(FadeManagerConfiguration.VOLUME_SHAPER_SYSTEM_FADE_ID)
101 .setId(FadeManagerConfiguration.VOLUME_SHAPER_SYSTEM_FADE_ID)
109 .setId(FadeManagerConfiguration.VOLUME_SHAPER_SYSTEM_FADE_ID)
116 private FadeManagerConfiguration mFmc;
123 mFmc = new FadeManagerConfiguration.Builder().build(); in setUp()
131 .isEqualTo(FadeManagerConfiguration.FADE_STATE_ENABLED_DEFAULT); in build()
161 FadeManagerConfiguration fmc = new FadeManagerConfiguration in build_withFadeDurations_succeeds()
165 .isEqualTo(FadeManagerConfiguration.FADE_STATE_ENABLED_DEFAULT); in build_withFadeDurations_succeeds()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DFadeConfigurations.java26 import android.media.FadeManagerConfiguration;
83 private FadeManagerConfiguration mDefaultFadeManagerConfig;
85 private FadeManagerConfiguration mUpdatedFadeManagerConfig;
87 private FadeManagerConfiguration mTransientFadeManagerConfig;
90 private FadeManagerConfiguration mActiveFadeManagerConfig;
101 @NonNull FadeManagerConfiguration fadeManagerConfig) { in setFadeManagerConfiguration()
141 public FadeManagerConfiguration getFadeManagerConfiguration() { in getFadeManagerConfiguration()
160 @NonNull FadeManagerConfiguration fadeManagerConfig) { in setTransientFadeManagerConfiguration()
221 FadeManagerConfiguration fadeManagerConfig = getUpdatedFadeManagerConfigLocked(); in getFadeableUsages()
241 FadeManagerConfiguration fadeManagerConfig = getUpdatedFadeManagerConfigLocked(); in getUnfadeableContentTypes()
[all …]
DFadeOutManager.java26 import android.media.FadeManagerConfiguration;
65 int setFadeManagerConfiguration(FadeManagerConfiguration fadeManagerConfig) { in setFadeManagerConfiguration()
91 FadeManagerConfiguration getFadeManagerConfiguration() { in getFadeManagerConfiguration()
103 int setTransientFadeManagerConfiguration(FadeManagerConfiguration fadeManagerConfig) { in setTransientFadeManagerConfiguration()
DPlaybackActivityMonitor.java43 import android.media.FadeManagerConfiguration;
1066 int setFadeManagerConfiguration(int focusType, FadeManagerConfiguration fadeMgrConfig) { in setFadeManagerConfiguration()
1074 FadeManagerConfiguration getFadeManagerConfiguration(int focusType) { in getFadeManagerConfiguration()
1079 FadeManagerConfiguration fadeMgrConfig) { in setTransientFadeManagerConfiguration()
DAudioService.java144 import android.media.FadeManagerConfiguration;
12949 @NonNull FadeManagerConfiguration fmcForFocusLoss) { in setFadeManagerConfigurationForFocusLoss()
12975 public FadeManagerConfiguration getFadeManagerConfigurationForFocusLoss() { in getFadeManagerConfigurationForFocusLoss()
13192 private void validateFadeManagerConfiguration(FadeManagerConfiguration fmc) { in validateFadeManagerConfiguration()
13892 FadeManagerConfiguration transientFadeMgrConfig) { in dispatchFocusChangeWithFade()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DFadeConfigurationsTest.java31 import android.media.FadeManagerConfiguration;
184 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ usageList, in testGetFadeableUsages_withFadeManagerConfigurations_equals()
200 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ null, in testGetUnfadeableContentTypes_withFadeManagerConfigurations_equals()
217 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ null, in testGetUnfadeableAudioAttributes_withFadeManagerConfigurations_equals()
233 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ null, in testGetUnfadeableUids_withFadeManagerConfigurations_equals()
244 private static FadeManagerConfiguration createFadeMgrConfig(List<Integer> fadeableUsages, in createFadeMgrConfig()
247 FadeManagerConfiguration.Builder builder = new FadeManagerConfiguration.Builder(); in createFadeMgrConfig()
/frameworks/base/media/java/android/media/
DFadeManagerConfiguration.java103 public final class FadeManagerConfiguration implements Parcelable { class
173 private FadeManagerConfiguration(int fadeState, @DurationMillisLong long fadeOutDurationMillis, in FadeManagerConfiguration() method in FadeManagerConfiguration
576 if (!(o instanceof FadeManagerConfiguration)) { in equals()
580 FadeManagerConfiguration rhs = (FadeManagerConfiguration) o; in equals()
626 FadeManagerConfiguration(Parcel in) { in FadeManagerConfiguration() method in FadeManagerConfiguration
658 public static final Creator<FadeManagerConfiguration> CREATOR = new Creator<>() {
661 public FadeManagerConfiguration createFromParcel(@NonNull Parcel in) {
662 return new FadeManagerConfiguration(in);
667 public FadeManagerConfiguration[] newArray(int size) {
668 return new FadeManagerConfiguration[size];
[all …]
DFadeManagerConfiguration.aidl23 parcelable FadeManagerConfiguration;
DIAudioService.aidl32 import android.media.FadeManagerConfiguration;
414 in FadeManagerConfiguration transientFadeMgrConfig); in dispatchFocusChangeWithFade()
776 int setFadeManagerConfigurationForFocusLoss(in FadeManagerConfiguration fmcForFocusLoss); in setFadeManagerConfigurationForFocusLoss()
784 FadeManagerConfiguration getFadeManagerConfigurationForFocusLoss(); in getFadeManagerConfigurationForFocusLoss()
DAudioManager.java5177 @Nullable FadeManagerConfiguration transientFadeMgrConfig) { in dispatchAudioFocusChangeWithFade()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java40 import android.media.FadeManagerConfiguration;
673 @NonNull FadeManagerConfiguration fmcForFocusLoss) { in setFadeManagerConfigurationForFocusLoss()
741 public FadeManagerConfiguration getFadeManagerConfigurationForFocusLoss() { in getFadeManagerConfigurationForFocusLoss()
/frameworks/base/core/api/
Dsystem-current.txt7018 …ll java.util.List<android.media.AudioFocusInfo>, @Nullable android.media.FadeManagerConfiguration);
7218 …iopolicy.enable_fade_manager_configuration") public final class FadeManagerConfiguration implement…
7245 … public static final android.os.Parcelable.Creator<android.media.FadeManagerConfiguration> CREATOR;
7249 field public static final String TAG = "FadeManagerConfiguration";
7253 public static final class FadeManagerConfiguration.Builder {
7254 ctor public FadeManagerConfiguration.Builder();
7255 ctor public FadeManagerConfiguration.Builder(@IntRange(from=1) long, @IntRange(from=1) long);
7256 ctor public FadeManagerConfiguration.Builder(@NonNull android.media.FadeManagerConfiguration);
7257 method @NonNull public android.media.FadeManagerConfiguration.Builder addFadeableUsage(int);
7258 …method @NonNull public android.media.FadeManagerConfiguration.Builder addUnfadeableAudioAttributes…
[all …]