Home
last modified time | relevance | path

Searched defs:track (Results 1 – 22 of 22) 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.java86 AudioTrack track = null; in testAudioTrackOffload() local
188 public void onTearDown(AudioTrack track) { in onTearDown()
196 public void onPresentationEnded(AudioTrack track) { in onPresentationEnded()
205 public void onDataRequest(AudioTrack track, int size) { in onDataRequest()
DAudioTrackTest.java96 AudioTrack track = null; in constructorTestMultiSampleRate() local
263 AudioTrack track = null; in testConstructorStreamType() local
310 final AudioTrack track = new AudioTrack.Builder() in testBuilderDefault() local
339 final AudioTrack track = new AudioTrack.Builder() in testBuilderFormat() local
366 final AudioTrack track = new AudioTrack.Builder() in testBuilderSession() local
391 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesStream() local
429 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesPerformanceMode() local
465 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit() local
487 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease() local
515 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterFlush() local
[all …]
DAudioTrack_ListenerTest.java97 final AudioTrack track; in doTest() local
231 public MockOnPlaybackPositionUpdateListener(AudioTrack track) { in MockOnPlaybackPositionUpdateListener()
236 public MockOnPlaybackPositionUpdateListener(AudioTrack track, Handler handler) { in MockOnPlaybackPositionUpdateListener()
241 public synchronized void onMarkerReached(AudioTrack track) { in onMarkerReached()
255 public synchronized void onPeriodicNotification(AudioTrack track) { in onPeriodicNotification()
DAudioTrackLatencyTest.java83 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testSetBufferSize() local
198 AudioTrack track = setup.createTrack(); in testPlaySmallBuffer() local
241 AudioTrack track = setup.createTrack(); in testPlayPauseSmallBuffer() local
292 AudioTrack track = new AudioTrack.Builder() in createCustomAudioTrack() local
317 AudioTrack track = createCustomAudioTrack(lowLatency); in checkOutputLowLatency() local
404 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCount() local
521 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testGetUnderrunCountSleep() local
606 AudioTrack track = null; in checkBadSize() local
620 AudioTrack track = null; in checkSmallSize() local
DAudioNativeTest.java109 AudioTrackNative track = new AudioTrackNative(); in testPlayStreamData() local
221 AudioTrackNative track = new AudioTrackNative(); in testOutputChannelMasks() local
DAudioTrackSurroundTest.java206 AudioTrack track = new AudioTrack(AudioManager.STREAM_MUSIC, in createAudioTrack() local
224 void addTimestamp(AudioTrack track) { in addTimestamp()
577 AudioTrack track = createAudioTrack(48000, AudioFormat.ENCODING_IEC61937, in testIEC61937_Errors() local
585 AudioTrack track = createAudioTrack(48000, AudioFormat.ENCODING_IEC61937, in testIEC61937_Errors() local
DJetPlayerTest.java204 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent()
DAudioEffectTest.java248 AudioTrack track = null; in test1_7AuxiliaryOnAudioTrack() local
DAudioRecordTest.java702 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundRecorderObject.java147 public void markerReached(AudioRecord track) {} in markerReached()
158 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
DSoundPlayerObject.java617 public void periodicNotification(AudioTrack track) { in periodicNotification()
620 public void markerReached(AudioTrack track) { in markerReached()
624 public void onMarkerReached(AudioTrack track) { in onMarkerReached()
629 public void onPeriodicNotification(AudioTrack track) { in onPeriodicNotification()
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/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java424 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack()
469 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo()
512 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource()
516 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/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java271 private void selectTrackAndVerify(final int type, final TvTrackInfo track, in selectTrackAndVerify()