Home
last modified time | relevance | path

Searched refs:getSystemUsage (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DFadeConfigurations.java399 if (!isUsageFadeableLocked(aa.getSystemUsage())) { in isFadeable()
427 aa.getSystemUsage()); in getOptimalFadeOutVolShaperConfig()
444 return fadeManagerConfig.getFadeInVolumeShaperConfigForUsage(aa.getSystemUsage()); in getOptimalFadeInVolShaperConfig()
460 return fadeManagerConfig.getFadeOutDurationForUsage(aa.getSystemUsage()); in getOptimalFadeOutDuration()
DAudioSystemAdapter.java358 return " attrUsage=" + attr.getSystemUsage() + " " in attrDeviceToDebugString()
DAudioService.java10256 @AudioAttributes.AttributeUsage int usage = audioAttributes.getSystemUsage(); in validateAudioAttributesUsage()
10273 @AudioAttributes.AttributeUsage int usage = audioAttributes.getSystemUsage(); in isValidAudioAttributesUsage()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java445 return ((refAttr.getSystemUsage() == AudioAttributes.USAGE_UNKNOWN) in attributesMatches()
446 || (attr.getSystemUsage() == refAttr.getSystemUsage())) in attributesMatches()
DAudioMixingRule.java253 && criterion.mAttr.getSystemUsage() == usage) { in isAffectingUsage()
270 && criterion.mAttr.getSystemUsage() == usage) { in containsMatchAttributeRuleForUsage()
/frameworks/base/media/java/android/media/
DAudioPlaybackConfiguration.java401 if (AudioAttributes.isSystemUsage(in.mPlayerAttr.getSystemUsage())) { in anonymizedCopy()
402 builder.setSystemUsage(in.mPlayerAttr.getSystemUsage()); in anonymizedCopy()
DFadeManagerConfiguration.java1538 int usage = targetAttr.getSystemUsage(); in validateUnfadeableAudioAttributes()
DAudioAttributes.java609 public int getSystemUsage() { in getSystemUsage() method in AudioAttributes
/frameworks/base/core/api/
Dsystem-current.txt6934 method public int getSystemUsage();