/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackNative.java | 140 private static native void nativeDestroyTrack(long track); in nativeDestroyTrack() 142 long track, int numChannels, int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() 143 private static native void nativeClose(long track); in nativeClose() 144 private static native int nativeStart(long track); in nativeStart() 145 private static native int nativeStop(long track); in nativeStop() 146 private static native int nativePause(long track); in nativePause() 147 private static native int nativeFlush(long track); in nativeFlush() 148 private static native int nativeGetPositionInMsec(long track, @NonNull long[] position); in nativeGetPositionInMsec() 149 private static native int nativeGetBuffersPending(long track); in nativeGetBuffersPending() 150 private static native int nativeWriteByteArray(long track, @NonNull byte[] byteArray, in nativeWriteByteArray() [all …]
|
D | AudioTrackTest.java | 77 AudioTrack track = null; in constructorTestMultiSampleRate() local 235 AudioTrack track = null; in testConstructorStreamType() local 281 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 …]
|
D | AudioTrack_ListenerTest.java | 95 final AudioTrack track; in doTest() local 229 public MockOnPlaybackPositionUpdateListener(AudioTrack track) { in MockOnPlaybackPositionUpdateListener() 234 public MockOnPlaybackPositionUpdateListener(AudioTrack track, Handler handler) { in MockOnPlaybackPositionUpdateListener() 239 public synchronized void onMarkerReached(AudioTrack track) { in onMarkerReached() 253 public synchronized void onPeriodicNotification(AudioTrack track) { in onPeriodicNotification()
|
D | AudioNativeTest.java | 90 AudioTrackNative track = new AudioTrackNative(); in testPlayStreamData() local
|
D | JetPlayerTest.java | 192 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent()
|
D | AudioEffectTest.java | 238 AudioTrack track = null; in test1_7AuxiliaryOnAudioTrack() local
|
D | AudioRecordTest.java | 469 AudioTrack track = null; in testSynchronizedRecord() local
|
D | VideoEncoderTest.java | 281 int track = mExtractor.getSampleTrackIndex(); in fillDecoderInputBuffer() local
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-track-native.cpp | 350 AudioTrackNative *track = (AudioTrackNative *)pContext; in BufferQueueCallback() local 383 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 442 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeClose() local 451 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStart() local 461 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStop() local 471 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativePause() local 481 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeFlush() local 491 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeGetPositionInMsec() local 513 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeGetBuffersPending() local [all …]
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 205 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack() 250 Context context, int resourceId, int track, String mimePrefix) { in hasCodecsForResourceCombo() 293 public static boolean hasCodecForResource(Context context, int resourceId, int track) { in hasCodecForResource() 297 public static boolean checkCodecForResource(Context context, int resourceId, int track) { in checkCodecForResource()
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | AudioProtocol.java | 113 public void onMarkerReached(AudioTrack track) { in onMarkerReached()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvViewTest.java | 239 private void selectTrackAndVerify(final int type, final TvTrackInfo track, in selectTrackAndVerify()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyLineActivity.java | 646 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
|
D | AudioFrequencySpeakerActivity.java | 698 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
|
D | AudioFrequencyMicActivity.java | 806 public void onMarkerReached(AudioRecord track) { in onMarkerReached()
|