Searched refs:audioAttributes (Results 1 – 10 of 10) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioFocusUnitTest.java | 560 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/ |
D | AndroidTextToSpeechEngine.java | 55 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes() argument 57 mTextToSpeech.setAudioAttributes(audioAttributes); in setAudioAttributes()
|
D | TextToSpeechEngine.java | 55 void setAudioAttributes(AudioAttributes audioAttributes); in setAudioAttributes() argument
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | VideoPlayerActivity.java | 73 AudioAttributesCompat audioAttributes = new AudioAttributesCompat.Builder() in onCreate() local 77 mMediaPlayer.setAudioAttributes(audioAttributes); in onCreate()
|
D | AudioPlayerActivity.java | 125 AudioAttributesCompat audioAttributes = new AudioAttributesCompat.Builder() in onCreate() local 129 mMediaPlayer.setAudioAttributes(audioAttributes); in onCreate()
|
/packages/services/Car/tests/carservice_test/src/android/media/tests/ |
D | AudioPolicyTest.java | 99 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/ |
D | CallRecordingTonePlayer.java | 95 AudioAttributes audioAttributes = new AudioAttributes.Builder() in start() local 97 mRecordingTonePlayer.setAudioAttributes(audioAttributes); in start()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | StatusBarNotifier.java | 413 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/ |
D | NotificationEntry.java | 166 if (n.audioAttributes != null) { in calculateAudioAttributes() 168 attributes = n.audioAttributes; in calculateAudioAttributes()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusTest.java | 392 AudioAttributes audioAttributes = builder.build(); in createAudioFocusInfo() local 393 return new AudioFocusInfo(audioAttributes, mClientUid, mClientId, in createAudioFocusInfo()
|