Home
last modified time | relevance | path

Searched defs:track (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackNative.java151 private static native void nativeDestroyTrack(long track); in nativeDestroyTrack()
153 long track, int numChannels, int channelMask, in nativeOpen()
155 private static native void nativeClose(long track); in nativeClose()
156 private static native int nativeStart(long track); in nativeStart()
157 private static native int nativeStop(long track); in nativeStop()
158 private static native int nativePause(long track); in nativePause()
159 private static native int nativeFlush(long track); in nativeFlush()
160 private static native int nativeGetPositionInMsec(long track, @NonNull long[] position); in nativeGetPositionInMsec()
161 private static native int nativeGetBuffersPending(long track); in nativeGetBuffersPending()
162 private static native int nativeWriteByteArray(long track, @NonNull byte[] byteArray, in nativeWriteByteArray()
[all …]
DAudioTrackTest.java79 AudioTrack track = null; in constructorTestMultiSampleRate() local
237 AudioTrack track = null; in testConstructorStreamType() local
283 final AudioTrack track = new AudioTrack.Builder() in testBuilderDefault() local
311 final AudioTrack track = new AudioTrack.Builder() in testBuilderFormat() local
337 final AudioTrack track = new AudioTrack.Builder() in testBuilderSession() local
361 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesStream() local
393 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesPerformanceMode() local
428 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit() local
449 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease() local
476 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterFlush() local
[all …]
DAudioTrack_ListenerTest.java96 final AudioTrack track; in doTest() local
230 public MockOnPlaybackPositionUpdateListener(AudioTrack track) { in MockOnPlaybackPositionUpdateListener()
235 public MockOnPlaybackPositionUpdateListener(AudioTrack track, Handler handler) { in MockOnPlaybackPositionUpdateListener()
240 public synchronized void onMarkerReached(AudioTrack track) { in onMarkerReached()
254 public synchronized void onPeriodicNotification(AudioTrack track) { in onPeriodicNotification()
DAudioTrackLatencyTest.java80 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testSetBufferSize() local
195 AudioTrack track = setup.createTrack(); in testPlaySmallBuffer() local
233 AudioTrack track = setup.createTrack(); in testPlayPauseSmallBuffer() local
284 AudioTrack track = new AudioTrack.Builder() in createCustomAudioTrack() local
309 AudioTrack track = createCustomAudioTrack(lowLatency); in checkOutputLowLatency() local
396 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCount() local
513 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCountSleep() local
598 AudioTrack track = null; in checkBadSize() local
612 AudioTrack track = null; in checkSmallSize() local
DAudioNativeTest.java104 AudioTrackNative track = new AudioTrackNative(); in testPlayStreamData() local
216 AudioTrackNative track = new AudioTrackNative(); in testOutputChannelMasks() local
DAudioTrackSurroundTest.java203 AudioTrack track = new AudioTrack(AudioManager.STREAM_MUSIC, in createAudioTrack() local
221 void addTimestamp(AudioTrack track) { in addTimestamp()
574 AudioTrack track = createAudioTrack(48000, AudioFormat.ENCODING_IEC61937, in testIEC61937_Errors() local
582 AudioTrack track = createAudioTrack(48000, AudioFormat.ENCODING_IEC61937, in testIEC61937_Errors() local
DJetPlayerTest.java201 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent()
DAudioEffectTest.java245 AudioTrack track = null; in test1_7AuxiliaryOnAudioTrack() local
DAudioRecordTest.java570 AudioTrack track = null; in testSynchronizedRecord() local
DVideoEncoderTest.java329 int track = mExtractor.getSampleTrackIndex(); in fillDecoderInputBuffer() local
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp349 AudioTrackNative *track = (AudioTrackNative *)pContext; in BufferQueueCallback() local
382 AudioTrackNative track; in Java_android_media_cts_AudioTrackNative_nativeTest() local
431 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeOpen() local
445 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeClose() local
454 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStart() local
464 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStop() local
474 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativePause() local
484 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeFlush() local
494 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeGetPositionInMsec() local
516 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeGetBuffersPending() local
[all …]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java326 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack()
371 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo()
414 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource()
418 public static boolean checkCodecForResource(Context context, int resourceId, int track) { in checkCodecForResource()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java113 public void onMarkerReached(AudioTrack track) { in onMarkerReached()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyLineActivity.java676 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
DAudioFrequencySpeakerActivity.java695 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
DAudioFrequencyMicActivity.java828 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
DAudioFrequencyUnprocessedActivity.java1146 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java271 private void selectTrackAndVerify(final int type, final TvTrackInfo track, in selectTrackAndVerify()