/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 481 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/ |
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 | 229 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/media/java/android/media/ |
D | AudioFocusRequest.java | 281 public @NonNull AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioFocusRequest
|
D | AudioPlaybackConfiguration.java | 249 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioPlaybackConfiguration
|
D | Ringtone.java | 144 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in Ringtone
|
D | AudioManager.java | 2342 focusRequest.getAudioAttributes()); in abandonAudioFocusRequest() 2495 status = service.requestAudioFocus(afr.getAudioAttributes(), in requestAudioFocus()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 253 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
|
D | NotificationManagerService.java | 3804 + " 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/ |
D | Util.java | 89 info.getCurrentVolume(), info.getMaxVolume(), type, vc, info.getAudioAttributes()); in playbackInfoToString()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 293 if (apc.getAudioAttributes().getContentType() == in duckPlayers() 345 final int playerUsage = apc.getAudioAttributes().getUsage(); in mutePlayersForCall()
|
D | FocusRequester.java | 173 AudioAttributes getAudioAttributes() { in getAudioAttributes() method in FocusRequester
|
/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 | 5536 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();
|
D | system-current.txt | 5736 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/ |
D | android-22.txt | 15611 method public android.media.AudioAttributes getAudioAttributes(); 16298 method public android.media.AudioAttributes getAudioAttributes();
|