/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 486 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in NotificationChannel 693 if (getAudioAttributes() != null) { in writeXml() 694 out.attribute(null, ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in writeXml() 696 Integer.toString(getAudioAttributes().getContentType())); in writeXml() 697 out.attribute(null, ATT_FLAGS, Integer.toString(getAudioAttributes().getFlags())); in writeXml() 752 if (getAudioAttributes() != null) { in toJson() 753 record.put(ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in toJson() 755 Integer.toString(getAudioAttributes().getContentType())); in toJson() 756 record.put(ATT_FLAGS, Integer.toString(getAudioAttributes().getFlags())); in toJson() 882 return getAudioAttributes() != null ? getAudioAttributes().equals(that.getAudioAttributes()) in equals() [all …]
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 194 assertEquals(Notification.AUDIO_ATTRIBUTES_DEFAULT, record.getAudioAttributes()); in testSound_default_preUpgradeUsesNotification() 207 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); in testSound_custom_preUpgradeUsesNotification() 221 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); in testSound_default_userLocked_preUpgrade() 233 assertEquals(Notification.AUDIO_ATTRIBUTES_DEFAULT, record.getAudioAttributes()); in testSound_noSound_preUpgrade() 246 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); in testSound_default_upgradeUsesChannel()
|
D | RankingHelperTest.java | 262 assertEquals(expected.getAudioAttributes(), actual.getAudioAttributes()); in compareChannels()
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
D | MediaControllerCompatApi21.java | 195 public static AudioAttributes getAudioAttributes(Object volumeInfoObj) { in getAudioAttributes() method in MediaControllerCompatApi21.PlaybackInfo 196 return ((MediaController.PlaybackInfo) volumeInfoObj).getAudioAttributes(); in getAudioAttributes() 200 AudioAttributes attrs = getAudioAttributes(volumeInfoObj); in getLegacyAudioStream()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 194 if ((apc.getAudioAttributes().getAllFlags() & FLAGS_FOR_SILENCE_OVERRIDE) in checkVolumeForPrivilegedAlarm() 196 apc.getAudioAttributes().getUsage() == AudioAttributes.USAGE_ALARM && in checkVolumeForPrivilegedAlarm() 444 if (apc.getAudioAttributes().getContentType() == in duckPlayers() 496 final int playerUsage = apc.getAudioAttributes().getUsage(); in mutePlayersForCall() 812 mPlayerAttr = apc.getAudioAttributes(); in NewPlayerEvent()
|
D | FocusRequester.java | 173 AudioAttributes getAudioAttributes() { in getAudioAttributes() method in FocusRequester
|
/frameworks/base/media/java/android/media/ |
D | AudioFocusRequest.java | 281 public @NonNull AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioFocusRequest
|
D | AudioPlaybackConfiguration.java | 251 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioPlaybackConfiguration
|
D | Ringtone.java | 144 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in Ringtone
|
D | AudioManager.java | 2357 focusRequest.getAudioAttributes()); in abandonAudioFocusRequest() 2516 status = service.requestAudioFocus(afr.getAudioAttributes(), in requestAudioFocus()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 259 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAttributes() 373 if (getAudioAttributes() != null) { in dump() 374 proto.write(NotificationRecordProto.SOUND_USAGE, getAudioAttributes().getUsage()); in dump() 866 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in NotificationRecord
|
D | NotificationManagerService.java | 4061 AudioAttributes.toLegacyStreamType(record.getAudioAttributes())) == 0) { 4169 AudioAttributes.toLegacyStreamType(record.getAudioAttributes())) != 0)) { 4175 + " with attributes " + record.getAudioAttributes()); 4177 record.getAudioAttributes()); 4210 record.getAudioAttributes()); 4216 effect, record.getAudioAttributes()); 4220 effect, record.getAudioAttributes());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Util.java | 90 info.getCurrentVolume(), info.getMaxVolume(), type, vc, info.getAudioAttributes()); in playbackInfoToString()
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 208 .getAudioAttributes()) in onStartSample()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaController.java | 952 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in MediaController.PlaybackInfo
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 356 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in MediaSessionRecord
|
/frameworks/base/api/ |
D | current.txt | 5549 method public android.media.AudioAttributes getAudioAttributes(); 21066 method public android.media.AudioAttributes getAudioAttributes(); 21332 method public android.media.AudioAttributes getAudioAttributes(); 23461 method public android.media.AudioAttributes getAudioAttributes(); 24360 method public android.media.AudioAttributes getAudioAttributes();
|
D | test-current.txt | 5562 method public android.media.AudioAttributes getAudioAttributes(); 21222 method public android.media.AudioAttributes getAudioAttributes(); 21488 method public android.media.AudioAttributes getAudioAttributes(); 23617 method public android.media.AudioAttributes getAudioAttributes(); 24516 method public android.media.AudioAttributes getAudioAttributes();
|
D | system-current.txt | 5749 method public android.media.AudioAttributes getAudioAttributes(); 22909 method public android.media.AudioAttributes getAudioAttributes(); 23188 method public android.media.AudioAttributes getAudioAttributes(); 25349 method public android.media.AudioAttributes getAudioAttributes(); 26323 method public android.media.AudioAttributes getAudioAttributes();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 854 HPLandroid/app/NotificationChannel;->getAudioAttributes()Landroid/media/AudioAttributes; 3512 HPLandroid/media/AudioFocusRequest;->getAudioAttributes()Landroid/media/AudioAttributes; 3620 HPLandroid/media/AudioPlaybackConfiguration;->getAudioAttributes()Landroid/media/AudioAttributes;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 15611 method public android.media.AudioAttributes getAudioAttributes(); 16298 method public android.media.AudioAttributes getAudioAttributes();
|