/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackNative.java | 45 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 46 return open(numChannels, 0, sampleRate, useFloat, numBuffers); in open() 50 boolean useFloat, int numBuffers) { in open() argument 52 sampleRate, useFloat, numBuffers) == STATUS_OK) { in open() 117 public static boolean test(int numChannels, int sampleRate, boolean useFloat, in test() argument 119 return test(numChannels, 0, sampleRate, useFloat, msecPerBuffer, numBuffers); in test() 122 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test() argument 124 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 153 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument 171 boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
|
D | AudioRecordNative.java | 42 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 43 return open(numChannels, 0, sampleRate, useFloat,numBuffers); in open() 47 boolean useFloat, int numBuffers) { in open() argument 49 sampleRate, useFloat, numBuffers) == STATUS_OK) { in open() 110 public static boolean test(int numChannels, int sampleRate, boolean useFloat, in test() argument 112 return test(numChannels, 0, sampleRate, useFloat, msecPerBuffer, numBuffers); in test() 115 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test() argument 117 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 146 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument 164 boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
|
D | AudioNativeTest.java | 263 int numChannels, int sampleRate, boolean useFloat, in doRecordTest() argument 268 assertTrue(TEST_NAME, record.open(numChannels, sampleRate, useFloat, in doRecordTest() 275 if (useFloat) { in doRecordTest()
|
D | AudioHelper.java | 442 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 443 if (super.open(numChannels, sampleRate, useFloat, numBuffers)) { in open() 444 if (!mTrack.open(numChannels, sampleRate, useFloat, 2 /* numBuffers */)) { in open()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-record-native.cpp | 81 bool useFloat, in open() argument 121 pcm.formatType = useFloat ? SL_ANDROID_DATAFORMAT_PCM_EX : SL_DATAFORMAT_PCM; in open() 124 pcm.bitsPerSample = useFloat ? in open() 130 pcm.representation = useFloat ? SL_ANDROID_PCM_REPRESENTATION_FLOAT in open() 172 * numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in open() 442 jboolean useFloat, jint msecPerBuffer, jint numBuffers) { in Java_android_media_cts_AudioRecordNative_nativeTest() argument 444 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_cts_AudioRecordNative_nativeTest() 450 res = record.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioRecordNative_nativeTest() 488 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeOpen() argument 494 return (jint) record->open(numChannels, channelMask, sampleRate, useFloat == JNI_TRUE, in Java_android_media_cts_AudioRecordNative_nativeOpen()
|
D | audio-track-native.cpp | 74 jint sampleRate, jboolean useFloat, jint numBuffers) { in open() argument 108 pcm.formatType = useFloat ? SL_ANDROID_DATAFORMAT_PCM_EX : SL_DATAFORMAT_PCM; in open() 111 pcm.bitsPerSample = useFloat ? in open() 117 pcm.representation = useFloat ? SL_ANDROID_PCM_REPRESENTATION_FLOAT in open() 379 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, in Java_android_media_cts_AudioTrackNative_nativeTest() argument 383 const size_t frameSize = numChannels * (useFloat ? sizeof(float) : sizeof(int16_t)); in Java_android_media_cts_AudioTrackNative_nativeTest() 389 res = track.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioTrackNative_nativeTest() 429 jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioTrackNative_nativeOpen() argument 438 useFloat == JNI_TRUE, in Java_android_media_cts_AudioTrackNative_nativeOpen()
|