Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioFocusUnitTest.java566 AudioAttributes audioAttributes = new AudioAttributes.Builder() in onAudioFocus_delayedFocusRequestAfterDoubleReject_delayedGainesFocus() local
569 AudioFocusInfo emergencyFocusInfo = getInfo(audioAttributes, SECOND_CLIENT_ID, in onAudioFocus_delayedFocusRequestAfterDoubleReject_delayedGainesFocus()
873 AudioAttributes audioAttributes = new AudioAttributes.Builder() in getInfo() local
876 return getInfo(audioAttributes, clientId, gainType, acceptsDelayedFocus); in getInfo()
880 AudioAttributes audioAttributes = new AudioAttributes.Builder() in getSystemUsageInfo() local
883 return getInfo(audioAttributes, SECOND_CLIENT_ID, gainType, false); in getSystemUsageInfo()
886 private AudioFocusInfo getInfo(AudioAttributes audioAttributes, String clientId, int gainType, in getInfo() argument
889 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/services/Telecomm/testapps/callaudiotest/src/com/android/server/telecom/callaudiotest/
DCallAudioTestInCallService.java101 AudioAttributes audioAttributes = new AudioAttributes.Builder() in startPlaying() local
103 mMediaPlayer.setAudioAttributes(audioAttributes); in startPlaying()
/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/java/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.java418 AudioAttributes audioAttributes = builder.build(); in createAudioFocusInfo() local
419 return new AudioFocusInfo(audioAttributes, mClientUid, mClientId, in createAudioFocusInfo()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.kt485 mRingtone!!.audioAttributes = AudioAttributes.Builder() in <lambda>()