/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
audio_analysis.py | 71 rate, 80 rate: Sampling rate in samples per second. Example inputs: 44100, 124 x_f = _rfft_freq(length, rate) 150 def _rfft_freq(length, rate): 155 rate: Sampling rate in samples per second. Example inputs: 44100, 164 val = rate / float(length) 267 rate, 287 rate: Sampling rate in samples per second. Example inputs: 44100 [all...] |
/external/iproute2/tc/ |
q_netem.c | 43 " [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n"); 183 struct tc_netem_rate rate = {}; local 399 } else if (matches(*argv, "rate") == 0) { 403 explain1("rate"); 408 if (get_s32(&rate.packet_overhead, *argv, 0)) { 409 explain1("rate"); 415 if (get_u32(&rate.cell_size, *argv, 0)) { 416 explain1("rate"); 422 if (get_s32(&rate.cell_overhead, *argv, 0)) 540 const struct tc_netem_rate *rate = NULL; local [all...] |
/external/iw/ |
ibss.c | 30 float rate; local 139 rate = strtod(value, &end); 140 rates[n_rates] = rate * 2; 144 rate*2 != rates[n_rates]) 157 /* multicast rate */ 158 if (argc > 1 && strcmp(argv[0], "mcast-rate") == 0) { 162 rate = strtod(argv[0], &end); 166 NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int)(rate * 10)); 198 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
constraints.py | 124 rate: rate for enforcing the constraint: weights will be 126 `(1 - rate) * norm + rate * norm.clip(min_value, max_value)`. 127 Effectively, this means that rate=1.0 stands for strict 128 enforcement of the constraint, while rate<1.0 means that 144 def __init__(self, min_value=0.0, max_value=1.0, rate=1.0, axis=0): 147 self.rate = rate 153 self.rate * K.clip(norms, self.min_value, self.max_value) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/ |
runiSACLongtest.txt | 28 for rate in ${TARGETRATE[*]} 31 $ISAC -I $rate -FL 30 $INDIR/"$file" $OUTDIR/i30_$index1"$file" >> $LOGFILE 32 $ISAC -I $rate -FL 60 $INDIR/"$file" $OUTDIR/i60_$index1"$file" >> $LOGFILE
|
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
rtp_payload_registry.h | 33 const uint32_t rate) const = 0; 36 const uint32_t rate) const = 0; 43 const uint32_t rate) const = 0; 65 const uint32_t rate, 75 const uint32_t rate, 177 const uint32_t rate);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
AudioRecordHelper.java | 40 for (int rate : SAMPLE_RATES_HZ) { 41 tmpBufferSize = AudioRecord.getMinBufferSize(rate, CHANNEL, ENCODING); 42 AudioRecord testAudioRecord = new AudioRecord(source, rate, CHANNEL, ENCODING, 46 tmpSampleRate = rate; 58 Log.d(TAG, "Sample rate = " + sampleRate + "Hz, Source = " 118 * Returns the sample rate for this recorder.
|
/cts/tests/tests/media/src/android/media/cts/ |
IvfWriter.java | 44 * Timebase fraction is in format scale/rate, e.g. 1/1000 53 * @param rate timebase rate (or denominator of the timebase fraction) 57 int rate) throws IOException { 63 mRate = rate; 108 * Timebase fraction is in format scale/rate, e.g. 1/1000 114 * @param rate timebase rate (or denominator of the timebase fraction) 117 int frameCount, int width, int height, int scale, int rate, String mimeType) { 131 lay32Bits(ivfHeader, 16, rate); // scale/rat [all...] |
/external/adhd/cras/src/tests/ |
audio_test_gui.py | 95 <h2>Sample Rate</h2> 96 <input type="radio" name="rate" id="sample_rate1" value=48000 98 <input type="radio" name="rate" id="sample_rate0" value=44100> 172 output_file='', rate=48000): 180 rate: Sample rate for the test. 204 command.append('--rate') 205 command.append(str(rate))
|
cras_router.c | 35 static size_t get_block_size(uint64_t buffer_time_in_ns, size_t rate) 41 return (size_t)cras_time_to_frames(&t, rate); 124 size_t rate, 138 aud_format = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, rate, 199 {"rate", required_argument, 0, 'r'}, 206 printf("--rate <N> - desired sample rate\n\n"); 216 size_t rate = 44100; local 246 rate = atoi(optarg); 253 block_size = get_block_size(PLAYBACK_BUFFERED_TIME_IN_NS, rate); [all...] |
/external/iproute2/testsuite/tests/tc/ |
cbq.t | 4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded 9 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
|
/external/lisa/libs/utils/ |
colors.py | 32 def rate(val, positive_is_good=True): member in class:TestColors
|
/external/sonic/ |
Main.java | 25 float rate, 40 sonic.setRate(rate); 65 float rate = 1.0f; local 79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality,
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
exponential_test.py | 53 exponential = exponential_lib.Exponential(rate=lam) 74 exponential = exponential_lib.Exponential(rate=lam) 87 exponential = exponential_lib.Exponential(rate=lam_v) 97 exponential = exponential_lib.Exponential(rate=lam_v) 107 exponential = exponential_lib.Exponential(rate=lam_v) 119 exponential = exponential_lib.Exponential(rate=lam) 139 exponential = exponential_lib.Exponential(rate=lam) 165 exponential = exponential_lib.ExponentialWithSoftplusRate(rate=lam) 167 exponential.rate.eval())
|
gamma_test.py | 54 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta) 69 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta) 88 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta) 109 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta) 132 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta) 144 gamma = gamma_lib.Gamma(concentration=alpha_v, rate=beta_v) 155 gamma = gamma_lib.Gamma(concentration=alpha_v, rate=beta_v) 166 rate=beta_v, 177 rate=beta_v, 188 gamma = gamma_lib.Gamma(concentration=alpha_v, rate=beta_v [all...] |
/external/tinyalsa/ |
tinycap.c | 63 unsigned int channels, unsigned int rate, 79 unsigned int rate = 44100; local 89 " [-c channels] [-r rate] [-b bits] [-p period_size]" 114 rate = atoi(*argv); 147 header.sample_rate = rate; 166 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; 194 unsigned int channels, unsigned int rate, 209 config.rate = rate; 233 printf("Capturing sample: %u ch, %u hz, %u bit\n", channels, rate, [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
RampAnimator.java | 25 * a given variable rate until it reaches a particular target value. 53 * If this is the first time the property is being set or if the rate is 0, 57 * @param rate The convergence rate in units per second, or 0 to set the value immediately. 60 public boolean animateTo(int target, int rate) { 62 if (mFirstTime || rate <= 0) { 81 // Adjust the rate based on the closest target. 82 // If a faster rate is specified, then use the new rate so that we converge 84 // If a slower rate is specified, then use the new rate only if the curren [all...] |
/hardware/interfaces/sensors/1.0/default/include/sensors/ |
convert.h | 37 int convertFromRateLevel(RateLevel rate);
|
/tools/test/connectivity/acts/tests/google/bt/audio_lab/ |
BtChameleonTest.py | 62 bits_per_sample, rate, record_seconds, 92 rate=rate, 150 rate = audio_sample_rate_48000 160 rate=rate, 211 rate = audio_sample_rate_48000 220 rate=rate,
|
/external/iproute2/misc/ |
ifstat.c | 67 double rate[MAXS]; member in struct:ifstat_ent 152 memset(&n->rate, 0, sizeof(n->rate)); 187 memset(&n->rate, 0, sizeof(n->rate)); 277 unsigned int rate; local 289 if (sscanf(p, "%u", &rate) != 1) 291 n->rate[i] = rate; 323 double *rates = n->rate; [all...] |
/external/libnl/lib/route/qdisc/ |
tbf.c | 55 rtnl_copy_ratespec(&tbf->qt_rate, &opts.rate); 58 opts.rate.rate); 64 opts.peakrate.rate); 90 nl_dump(p, " rate %.2f%s/s (%.0f%s) limit %.2f%s", 108 nl_dump(p, "rate-bucket-size %1.f%s " 109 "rate-cell-size %.1f%s\n", 124 nl_dump_line(p, " peak-rate %.2f%s/s (%.0f%s) " 146 rtnl_rcopy_ratespec(&opts.rate, &tbf->qt_rate); 206 * configured rate and peak rate. In order for this operation to succeed [all...] |
/compatibility/cdd/8_performance-and-power/ |
8_1_user-experience-consistency.md | 4 minimum requirements to ensure a consistent frame rate and response times for
|
/cts/tests/tests/view/src/android/view/cts/ |
OrientationEventListenerTest.java | 75 public MyOrientationEventListener(Context context, int rate) { 76 super(context, rate);
|
/external/adhd/cras/examples/ |
cplay.c | 61 const unsigned int rate = 48000; local 85 put_samples, stream_error, SND_PCM_FORMAT_S16_LE, rate,
|
cplay_buffer.c | 23 const unsigned int rate = 48000; local 55 SND_PCM_FORMAT_S16_LE, rate, num_channels,
|