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.java150 private static native void nativeDestroyTrack(long track); in nativeDestroyTrack()
152 long track, int numChannels, int channelMask, in nativeOpen()
154 private static native void nativeClose(long track); in nativeClose()
155 private static native int nativeStart(long track); in nativeStart()
156 private static native int nativeStop(long track); in nativeStop()
157 private static native int nativePause(long track); in nativePause()
158 private static native int nativeFlush(long track); in nativeFlush()
159 private static native int nativeGetPositionInMsec(long track, @NonNull long[] position); in nativeGetPositionInMsec()
160 private static native int nativeGetBuffersPending(long track); in nativeGetBuffersPending()
161 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
391 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit() local
412 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease() local
439 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterFlush() local
469 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterStop() 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.java79 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testSetBufferSize() local
194 AudioTrack track = setup.createTrack(); in testPlaySmallBuffer() local
232 AudioTrack track = setup.createTrack(); in testPlayPauseSmallBuffer() local
283 AudioTrack track = new AudioTrack.Builder() in createCustomAudioTrack() local
308 AudioTrack track = createCustomAudioTrack(lowLatency); in checkOutputLowLatency() local
395 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCount() local
512 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCountSleep() local
597 AudioTrack track = null; in checkBadSize() local
611 AudioTrack track = null; in checkSmallSize() local
DAudioNativeTest.java98 AudioTrackNative track = new AudioTrackNative(); in testPlayStreamData() local
204 AudioTrackNative track = new AudioTrackNative(); in testOutputChannelMasks() local
DAudioTrackSurroundTest.java204 AudioTrack track = new AudioTrack(AudioManager.STREAM_MUSIC, in createAudioTrack() local
222 void addTimestamp(AudioTrack track) { in addTimestamp()
535 AudioTrack track = createAudioTrack(48000, AudioFormat.ENCODING_IEC61937, in testIEC61937_Errors() local
543 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.java325 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/libs/deviceutil/src/android/cts/util/
DMediaUtils.java315 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack()
360 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo()
403 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource()
407 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()
DAudioFrequencyUnprocessedActivity.java668 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
DAudioFrequencyMicActivity.java828 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java270 private void selectTrackAndVerify(final int type, final TvTrackInfo track, in selectTrackAndVerify()