Home
last modified time | relevance | path

Searched refs:audioAttributes (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioFocusUnitTest.java560 AudioAttributes audioAttributes = new AudioAttributes.Builder() in onAudioFocus_delayedFocusRequestAfterDoubleReject_delayedGainesFocus() local
563 AudioFocusInfo emergencyFocusInfo = getInfo(audioAttributes, SECOND_CLIENT_ID, in onAudioFocus_delayedFocusRequestAfterDoubleReject_delayedGainesFocus()
663 AudioAttributes audioAttributes = new AudioAttributes.Builder() in getInfo() local
666 return getInfo(audioAttributes, clientId, gainType, acceptsDelayedFocus); in getInfo()
670 AudioAttributes audioAttributes = new AudioAttributes.Builder() in getSystemUsageInfo() local
673 return getInfo(audioAttributes, SECOND_CLIENT_ID, gainType, false); in getSystemUsageInfo()
676 private AudioFocusInfo getInfo(AudioAttributes audioAttributes, String clientId, int gainType, in getInfo() argument
679 return new AudioFocusInfo(audioAttributes, CLIENT_UID, clientId, PACKAGE_NAME, in getInfo()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/tts/
DAndroidTextToSpeechEngine.java55 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes() argument
57 mTextToSpeech.setAudioAttributes(audioAttributes); in setAudioAttributes()
DTextToSpeechEngine.java55 void setAudioAttributes(AudioAttributes audioAttributes); in setAudioAttributes() argument
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DVideoPlayerActivity.java73 AudioAttributesCompat audioAttributes = new AudioAttributesCompat.Builder() in onCreate() local
77 mMediaPlayer.setAudioAttributes(audioAttributes); in onCreate()
DAudioPlayerActivity.java125 AudioAttributesCompat audioAttributes = new AudioAttributesCompat.Builder() in onCreate() local
129 mMediaPlayer.setAudioAttributes(audioAttributes); in onCreate()
/packages/services/Car/tests/carservice_test/src/android/media/tests/
DAudioPolicyTest.java99 AudioAttributes audioAttributes = audioAttributesBuilder.build(); in createAudioMix() local
106 .addRule(audioAttributes, AudioMixingRule.RULE_MATCH_ATTRIBUTE_USAGE) in createAudioMix()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java95 AudioAttributes audioAttributes = new AudioAttributes.Builder() in start() local
97 mRecordingTonePlayer.setAudioAttributes(audioAttributes); in start()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java413 AudioAttributes.Builder audioAttributes = new AudioAttributes.Builder(); in buildAndSendNotification() local
414 audioAttributes.setContentType(AudioAttributes.CONTENT_TYPE_MUSIC); in buildAndSendNotification()
415 audioAttributes.setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE); in buildAndSendNotification()
416 notification.audioAttributes = audioAttributes.build(); in buildAndSendNotification()
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java166 if (n.audioAttributes != null) { in calculateAudioAttributes()
168 attributes = n.audioAttributes; in calculateAudioAttributes()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java392 AudioAttributes audioAttributes = builder.build(); in createAudioFocusInfo() local
393 return new AudioFocusInfo(audioAttributes, mClientUid, mClientId, in createAudioFocusInfo()