Home
last modified time | relevance | path

Searched defs:track (Results 1 – 20 of 20) 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 …]
DAudioTrackOffloadTest.java77 AudioTrack track = null; in testAudioTrackOffload() local
169 public void onTearDown(AudioTrack track) { in onTearDown()
177 public void onPresentationEnded(AudioTrack track) { in onPresentationEnded()
186 public void onDataRequest(AudioTrack track, int size) { in onDataRequest()
DAudioTrackTest.java95 AudioTrack track = null; in constructorTestMultiSampleRate() local
262 AudioTrack track = null; in testConstructorStreamType() local
309 final AudioTrack track = new AudioTrack.Builder() in testBuilderDefault() local
338 final AudioTrack track = new AudioTrack.Builder() in testBuilderFormat() local
365 final AudioTrack track = new AudioTrack.Builder() in testBuilderSession() local
390 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesStream() local
428 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesPerformanceMode() local
464 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit() local
486 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease() local
514 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.java82 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testSetBufferSize() local
197 AudioTrack track = setup.createTrack(); in testPlaySmallBuffer() local
240 AudioTrack track = setup.createTrack(); in testPlayPauseSmallBuffer() local
291 AudioTrack track = new AudioTrack.Builder() in createCustomAudioTrack() local
316 AudioTrack track = createCustomAudioTrack(lowLatency); in checkOutputLowLatency() local
403 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCount() local
520 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCountSleep() local
605 AudioTrack track = null; in checkBadSize() local
619 AudioTrack track = null; in checkSmallSize() local
DAudioNativeTest.java108 AudioTrackNative track = new AudioTrackNative(); in testPlayStreamData() local
220 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.java203 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent()
DAudioEffectTest.java247 AudioTrack track = null; in test1_7AuxiliaryOnAudioTrack() local
DAudioRecordTest.java701 AudioTrack track = null; in testSynchronizedRecord() local
DVideoEncoderTest.java334 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-axt/src/com/android/compatibility/common/util/
DMediaUtils.java347 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack()
392 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo()
435 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource()
439 public static boolean checkCodecForResource(Context context, int resourceId, int track) { in checkCodecForResource()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java345 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack()
390 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo()
433 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource()
437 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.java904 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()