OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TEST_SR
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaAudioTrackTest.java
305
final int
TEST_SR
= 22050;
312
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT,
313
AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT), TEST_MODE);
326
final int
TEST_SR
= 22050;
333
int minBuffSize = AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
334
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT,
354
final int
TEST_SR
= 22050;
361
int minBuffSize = AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
362
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT,
384
final int
TEST_SR
= 22050
[
all
...]
/cts/tests/tests/media/src/android/media/cts/
AudioTrackTest.java
384
final int
TEST_SR
= 22050;
391
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT,
392
AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT), TEST_MODE);
404
final int
TEST_SR
= 22050;
411
int minBuffSize = AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
412
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT,
431
final int
TEST_SR
= 22050;
438
int minBuffSize = AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
439
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT,
460
final int
TEST_SR
= 22050
[
all
...]
AudioNativeTest.java
91
for (int
TEST_SR
: TEST_SR_ARRAY) {
94
// Log.d(TEST_NAME, "open channels:" + TEST_CHANNELS + " sr:" +
TEST_SR
);
95
if (TEST_FLOAT == true && TEST_CHANNELS >= 6 &&
TEST_SR
>= 192000) {
100
track.open(TEST_CHANNELS,
TEST_SR
, TEST_FLOAT, 1 /* numBuffers */));
104
(int)((long)
TEST_SR
* TEST_TIME_IN_MSEC * TEST_CHANNELS / 1000);
108
sourceSamples,
TEST_SR
,
115
sourceSamples,
TEST_SR
,
177
for (int
TEST_SR
: TEST_SR_ARRAY) {
180
if (TEST_FLOAT == true && TEST_CHANNELS >= 8 &&
TEST_SR
>= 192000) {
184
doRecordTest(record, TEST_CHANNELS,
TEST_SR
, TEST_FLOAT
[
all
...]
AudioFormatTest.java
36
final int
TEST_SR
= 48000;
42
.setEncoding(TEST_ENCODING).setSampleRate(
TEST_SR
)
49
TEST_SR
, copiedFormat.getSampleRate());
81
final int
TEST_SR
= 48000;
84
.setSampleRate(
TEST_SR
).build();
90
TEST_SR
, copiedFormat.getSampleRate());
147
final int
TEST_SR
= 48000;
153
.setEncoding(TEST_ENCODING).setSampleRate(
TEST_SR
)
AudioTrack_ListenerTest.java
37
private final static int
TEST_SR
= 11025;
85
final int minBuffSize = AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
100
track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF,
108
return new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF,
124
bufferSizeInBytes,
TEST_SR
, 1024 /* frequency */, 0 /* sweep */);
125
int markerPeriods = Math.max(3, mFrameCount * markerPeriodsPerSecond /
TEST_SR
);
136
int updatePeriods = Math.max(3, mFrameCount * periodsPerSecond /
TEST_SR
);
159
final int trackLengthMs = (int)((double)mFrameCount * 1000 /
TEST_SR
/ bytesPerFrame);
187
final int tolerance80MsInFrames =
TEST_SR
* 80 / 1000;
196
markerStat.add((double)(actual - expected) * 1000 /
TEST_SR
);
[
all
...]
AudioTrackLatencyTest.java
71
final int
TEST_SR
= 44100;
78
int minBuffSize = AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
79
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT,
264
final int
TEST_SR
= 48000;
270
int bufferSizeBytes = 2 * AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
374
final int
TEST_SR
= 44100;
383
final int TEST_FRAMES_PER_BLIP =
TEST_SR
/ 8;
384
final int TEST_CYCLES_PER_BLIP = 700 * TEST_FRAMES_PER_BLIP /
TEST_SR
;
393
int minBuffSize = AudioTrack.getMinBufferSize(
TEST_SR
, TEST_CONF, TEST_FORMAT);
395
AudioTrack track = new AudioTrack(TEST_STREAM_TYPE,
TEST_SR
, TEST_CONF, TEST_FORMAT
[
all
...]
AudioRecordTest.java
242
false /*auditRecording*/, false /*isChannelIndex*/, 88200 /*
TEST_SR
*/,
250
false /*auditRecording*/, false /*isChannelIndex*/, 45000 /*
TEST_SR
*/,
258
false /*auditRecording*/, false /*isChannelIndex*/, 8000 /*
TEST_SR
*/,
266
false /*auditRecording*/, false /*isChannelIndex*/, 17000 /*
TEST_SR
*/,
274
false /*auditRecording*/, false /*isChannelIndex*/, 32000 /*
TEST_SR
*/,
282
false /*auditRecording*/, false /*isChannelIndex*/, 48000 /*
TEST_SR
*/,
295
true /*auditRecording*/, false /*isChannelIndex*/, 96000 /*
TEST_SR
*/,
303
true /*auditRecording*/, true /*isChannelIndex*/, 47000 /*
TEST_SR
*/,
316
true /*auditRecording*/, true /*isChannelIndex*/, 192000 /*
TEST_SR
*/,
327
true /*auditRecording*/, true /*isChannelIndex*/, 16000 /*
TEST_SR
*/,
[
all
...]
Completed in 139 milliseconds