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.java127 AudioTrack track = new AudioTrack.Builder() in getOffloadAudioTrack() local
147 AudioTrack track = null; in testAudioTrackOffload() local
229 AudioTrack track = new AudioTrack.Builder() in allocNonOffloadAudioTrack() local
241 AudioTrack track = in testOffloadPadding() local
322 public void onTearDown(AudioTrack track) { in onTearDown()
330 public void onPresentationEnded(AudioTrack track) { in onPresentationEnded()
339 public void onDataRequest(AudioTrack track, int size) { in onDataRequest()
DAudioTrackTest.java104 AudioTrack track = null; in constructorTestMultiSampleRate() local
271 AudioTrack track = null; in testConstructorStreamType() local
318 final AudioTrack track = new AudioTrack.Builder() in testBuilderDefault() local
347 final AudioTrack track = new AudioTrack.Builder() in testBuilderFormat() local
374 final AudioTrack track = new AudioTrack.Builder() in testBuilderSession() local
399 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesStream() local
437 final AudioTrack track = new AudioTrack.Builder() in testBuilderAttributesPerformanceMode() local
473 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionAfterInit() local
495 AudioTrack track = new AudioTrack(TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, in testPlaybackHeadPositionIncrease() local
523 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
DMediaSyncEventTest.java51 AudioTrack track = null; in testSynchronizedRecord() local
DJetPlayerTest.java204 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent()
DAudioTrackSurroundTest.java215 AudioTrack track = new AudioTrack(AudioManager.STREAM_MUSIC, in createAudioTrack() local
233 void addTimestamp(AudioTrack track) { in addTimestamp()
DAudioEffectTest.java248 AudioTrack track = null; in test1_7AuxiliaryOnAudioTrack() local
DVideoEncoderTest.java361 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/tests/tests/widget/src/android/widget/cts/
DSwitchTest.java340 GradientDrawable track = (GradientDrawable) mSwitch.getTrackDrawable(); in testSetTrackIcon() local
360 GradientDrawable track = (GradientDrawable) mSwitch.getTrackDrawable(); in testSetTrackIconAsync() local
379 GradientDrawable track = (GradientDrawable) mSwitch.getTrackDrawable(); in testSetTrackResourceAsync() local
/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.java659 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
DAudioFrequencySpeakerActivity.java687 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
DAudioFrequencyMicActivity.java893 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DObjectTracker.java82 public void track(@NonNull Consumable consumable) { in track() method in ObjectTracker
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java426 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack()
470 private static boolean hasCodecsForResourceCombo(final String resource, int track, in hasCodecsForResourceCombo()
500 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo()
551 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource()
555 public static boolean checkCodecForResource(Context context, int resourceId, int track) { in checkCodecForResource()
559 public static boolean hasCodecForResource(final String resource, int track) { in hasCodecForResource()
563 public static boolean checkCodecForResource(final String resource, 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.java287 private void selectTrackAndVerify(final int type, final TvTrackInfo track, in selectTrackAndVerify()