Home
last modified time | relevance | path

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

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DDtsAudioFormatsTest.kt46 val audioAttributes = AudioAttributes.Builder() in <lambda>() constant
53 val supported = (AudioManager.getDirectPlaybackSupport(dtsFormat, audioAttributes) in <lambda>()
56 checkCreateAudioTrack(audioAttributes, dtsFormat, supported) in <lambda>()
65 audioAttributes: AudioAttributes, in <lambda>()
71 .setAudioAttributes(audioAttributes) in <lambda>()
79 "attributes ($audioAttributes) and audio format ($audioFormat)!", in <lambda>()
84 "Failed to create DTS AudioTrack for attributes ($audioAttributes) and " + in <lambda>()
DDirectAudioProfilesForAttributesTest.kt59 val audioAttributes = AudioAttributes.Builder() in <lambda>() constant
62 val directProfiles = audioManager.getDirectProfilesForAttributes(audioAttributes) in <lambda>()
70 checkCreateAudioTracks(audioAttributes, directProfile, true) in <lambda>()
79 audioAttributes: AudioAttributes, in <lambda>()
90 .setAudioAttributes(audioAttributes) in <lambda>()
98 "Created AudioTrack for attributes ($audioAttributes) and " + in <lambda>()
105 "Failed to create AudioTrack for attributes ($audioAttributes) and " + in <lambda>()
DAudioDevicesForAttributesTest.kt51 val audioAttributes = AudioAttributes.Builder() in testGetAudioDevicesForAttributes() constant
56 audioManager.getAudioDevicesForAttributes(audioAttributes) in testGetAudioDevicesForAttributes()
DAudioManagerTest.java2811 private ListenableFuture<Void> getMixerAttrChangedFuture(AudioAttributes audioAttributes, in getMixerAttrChangedFuture() argument
2825 && Objects.equals(aa, audioAttributes)) { in getMixerAttrChangedFuture()
/cts/tests/vibrator/src/android/os/cts/
DVibrationAttributesTest.java96 AudioAttributes audioAttributes = createAudioAttributes(AudioAttributes.USAGE_ALARM); in testCreateFromAudioAttributes() local
97 VibrationAttributes attr = new VibrationAttributes.Builder(audioAttributes).build(); in testCreateFromAudioAttributes()
150 AudioAttributes audioAttributes = createAudioAttributes( in testEquals() local
152 VibrationAttributes attr = new VibrationAttributes.Builder(audioAttributes).build(); in testEquals()
153 VibrationAttributes attr2 = new VibrationAttributes.Builder(audioAttributes).build(); in testEquals()
176 AudioAttributes audioAttributes = createAudioAttributes( in testNotEqualsDifferentFlags() local
178 VibrationAttributes attr = new VibrationAttributes.Builder(audioAttributes).build(); in testNotEqualsDifferentFlags()
179 VibrationAttributes attr2 = new VibrationAttributes.Builder(audioAttributes).setFlags(1, 1) in testNotEqualsDifferentFlags()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DNotificationGenerator.java45 AudioAttributes audioAttributes = new AudioAttributes.Builder() in createNotification() local
50 audioAttributes); in createNotification() local
/cts/tests/mediapc/src/android/mediapc/cts/
DAudioPlaybackLoad.java77 final AudioAttributes audioAttributes = new AudioAttributes.Builder() in createAudioTrack() local
85 .setAudioAttributes(audioAttributes) in createAudioTrack()
/cts/tests/tests/media/common/src/android/media/cts/
DNonBlockingAudioTrack.java98 AudioAttributes audioAttributes = (new AudioAttributes.Builder()) in NonBlockingAudioTrack() local
107 mAudioTrack = new AudioTrack(audioAttributes, audioFormat, mBufferSizeInBytes, in NonBlockingAudioTrack()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeOnlyTest.java721 AudioAttributes audioAttributes = (new AudioAttributes.Builder()) in createAudioTrack() local
730 return new AudioTrack(audioAttributes, af, 2 * minBufferSize, in createAudioTrack()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java2364 AudioAttributes audioAttributes = new AudioAttributes.Builder()
2366 mVibrator.vibrate(pattern, -1, audioAttributes);
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6513 field @Deprecated public android.media.AudioAttributes audioAttributes;