Home
last modified time | relevance | path

Searched refs:getAudioAttributes (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/app/
DNotificationChannel.java481 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in NotificationChannel
615 if (getAudioAttributes() != null) { in writeXml()
616 out.attribute(null, ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in writeXml()
618 Integer.toString(getAudioAttributes().getContentType())); in writeXml()
619 out.attribute(null, ATT_FLAGS, Integer.toString(getAudioAttributes().getFlags())); in writeXml()
674 if (getAudioAttributes() != null) { in toJson()
675 record.put(ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in toJson()
677 Integer.toString(getAudioAttributes().getContentType())); in toJson()
678 record.put(ATT_FLAGS, Integer.toString(getAudioAttributes().getFlags())); in toJson()
804 return getAudioAttributes() != null ? getAudioAttributes().equals(that.getAudioAttributes()) in equals()
[all …]
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationRecordTest.java194 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()
DRankingHelperTest.java229 assertEquals(expected.getAudioAttributes(), actual.getAudioAttributes()); in compareChannels()
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DMediaControllerCompatApi21.java195 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/media/java/android/media/
DAudioFocusRequest.java281 public @NonNull AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioFocusRequest
DAudioPlaybackConfiguration.java249 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioPlaybackConfiguration
DRingtone.java144 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in Ringtone
DAudioManager.java2342 focusRequest.getAudioAttributes()); in abandonAudioFocusRequest()
2495 status = service.requestAudioFocus(afr.getAudioAttributes(), in requestAudioFocus()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java253 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAttributes()
367 if (getAudioAttributes() != null) { in dump()
368 proto.write(NotificationRecordProto.SOUND_USAGE, getAudioAttributes().getUsage()); in dump()
827 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in NotificationRecord
DNotificationManagerService.java3804 + " with attributes " + record.getAudioAttributes()); in playSound()
3806 record.getAudioAttributes()); in playSound()
3839 record.getAudioAttributes()); in playVibration()
3845 effect, record.getAudioAttributes()); in playVibration()
3849 effect, record.getAudioAttributes()); in playVibration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DUtil.java89 info.getCurrentVolume(), info.getMaxVolume(), type, vc, info.getAudioAttributes()); in playbackInfoToString()
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java293 if (apc.getAudioAttributes().getContentType() == in duckPlayers()
345 final int playerUsage = apc.getAudioAttributes().getUsage(); in mutePlayersForCall()
DFocusRequester.java173 AudioAttributes getAudioAttributes() { in getAudioAttributes() method in FocusRequester
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java208 .getAudioAttributes()) in onStartSample()
/frameworks/base/media/java/android/media/session/
DMediaController.java952 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in MediaController.PlaybackInfo
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java356 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in MediaSessionRecord
/frameworks/base/api/
Dcurrent.txt5536 method public android.media.AudioAttributes getAudioAttributes();
20967 method public android.media.AudioAttributes getAudioAttributes();
21233 method public android.media.AudioAttributes getAudioAttributes();
23340 method public android.media.AudioAttributes getAudioAttributes();
24234 method public android.media.AudioAttributes getAudioAttributes();
Dsystem-current.txt5736 method public android.media.AudioAttributes getAudioAttributes();
22775 method public android.media.AudioAttributes getAudioAttributes();
23054 method public android.media.AudioAttributes getAudioAttributes();
25193 method public android.media.AudioAttributes getAudioAttributes();
26162 method public android.media.AudioAttributes getAudioAttributes();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15611 method public android.media.AudioAttributes getAudioAttributes();
16298 method public android.media.AudioAttributes getAudioAttributes();