Home | History | Annotate | Download | only in cts

Lines Matching defs:track

41 // Most tests involve creating a track with a given format and then playing
203 AudioTrack track = new AudioTrack(AudioManager.STREAM_MUSIC,
207 return track;
221 void addTimestamp(AudioTrack track) {
223 boolean gotTimestamp = track.getTimestamp(timestamp);
336 // Will not block when track is stopped.
376 log(TAG, "track.setPreferredDevice(" + info + ")");
400 // Create a track and prime it.
403 assertEquals(TEST_NAME + ": track created" + getPcmWarning(),
574 AudioTrack track = createAudioTrack(48000, AudioFormat.ENCODING_IEC61937,
576 assertTrue(TEST_NAME + ": IEC61937 track creation should fail for mono", false);
582 AudioTrack track = createAudioTrack(48000, AudioFormat.ENCODING_IEC61937,
584 assertTrue(TEST_NAME + ": IEC61937 track creation should fail for 5.1", false);