/system/chre/platform/slpi/tests/ |
platform_sensor_util_test.cc | 28 uint16_t rate = intervalToSmgrSamplingRate(Nanoseconds(0)); local 29 EXPECT_EQ(rate, 0); 34 uint16_t rate = intervalToSmgrSamplingRate(kTenHertzInterval); local 35 EXPECT_EQ(rate, 50); 40 uint16_t rate = intervalToSmgrSamplingRate(kZeroPointFiveHertzInterval); local 41 EXPECT_EQ(rate, 2000); 45 uint32_t rate = intervalToSmgrQ16ReportRate(Nanoseconds(0)); local 46 EXPECT_EQ(rate, UINT32_MAX); 51 uint32_t rate = intervalToSmgrQ16ReportRate(kTenHertzInterval); local 52 EXPECT_EQ(rate, 0x10000 * 50) 57 uint32_t rate = intervalToSmgrQ16ReportRate(kZeroPointFiveHertzInterval); local 62 uint32_t rate = intervalToSmgrQ16ReportRate(Nanoseconds(1)); local [all...] |
/external/libvorbis/lib/ |
barkmel.c | 22 double rate; local 24 rate=48000.f; 25 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n", 26 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); 28 rate=44100.f; 29 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n", 30 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)) [all...] |
/frameworks/wilhelm/src/itf/ |
IRatePitch.cpp | 22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate) 27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 31 thiz->mRate = rate; 49 SLpermille rate = thiz->mRate; local 51 *pRate = rate;
|
IPlaybackRate.cpp | 22 static SLresult IPlaybackRate_SetRate(SLPlaybackRateItf self, SLpermille rate) 28 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 44 thiz->mRate = rate; 62 SLpermille rate = thiz->mRate; local 64 *pRate = rate; 128 SLpermille rate, SLuint32 *pCapabilities) 138 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) [all...] |
/external/autotest/client/cros/chameleon/ |
audio_widget_arc.py | 25 rate=8000) variable in class:CrosInputWidgetARCHandler 43 rate: sampling rate. 69 rate: sampling rate.
|
/external/libnl/python/netlink/route/qdisc/ |
htb.py | 55 def rate(self): member in class:HTBClass 56 rate = capi.rtnl_htb_get_rate(self._class._rtnl_class) 57 return util.Rate(rate) 59 @rate.setter 60 def rate(self, value): member in class:HTBClass 67 return util.Rate(ceil) 123 ret = ' {t|prio} {t|rate}' 125 if self.rate != self.ceil:
|
/external/ppp/pppd/plugins/pppoatm/ |
text2qos.c | 30 unsigned int rate,fract; local 37 rate = strtoul(*text,&end,10); 47 if (rate > UINT_MAX/1000) return RATE_ERROR; 48 rate *= 1000; 63 rate += fract; 69 rate = (rate+(up ? 8*ATM_CELL_PAYLOAD-1 : 0))/8/ 74 if (rate > INT_MAX) return RATE_ERROR; 76 return rate;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
RateEstimator.java | 21 * Exponentially weighted moving average estimator for event rate. 38 float rate; local 40 // No last event time, rate is zero. 41 rate = 0f; 45 rate = (float) (1.0 / mInterarrivalTime); 48 return rate; 51 /** @return the estimated rate if there were a new event right now. */
|
/external/google-benchmark/src/ |
console_reporter.cc | 85 std::string rate; local 87 rate = StrCat(" ", HumanReadableNumber(result.bytes_per_second), "B/s"); 117 if (!rate.empty()) { 118 printer(Out, COLOR_DEFAULT, " %*s", 13, rate.c_str());
|
/external/iproute2/tc/ |
q_choke.c | 41 unsigned rate = 0; local 59 if (get_rate(&rate, *argv)) { 106 if (!rate || !opt.limit) { 148 wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf);
|
q_red.c | 42 unsigned rate = 0; local 89 if (get_rate(&rate, *argv)) { 126 if (!rate) { 127 get_rate(&rate, "10Mbit"); 142 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
|
q_gred.c | 129 unsigned rate = 0; local 205 if (get_rate(&rate, *argv)) { 235 if (!rate) { 236 get_rate(&rate, "10Mbit"); 252 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0)
|
/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/libcxx/utils/google-benchmark/src/ |
console_reporter.cc | 85 std::string rate; local 87 rate = StrCat(" ", HumanReadableNumber(result.bytes_per_second), "B/s"); 117 if (!rate.empty()) { 118 printer(Out, COLOR_DEFAULT, " %*s", 13, rate.c_str());
|
/external/speex/include/speex/ |
speex_header.h | 64 spx_int32_t rate; /**< Sampling rate used */ member in struct:SpeexHeader 68 spx_int32_t bitrate; /**< Bit-rate used */ 78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
|
/external/libnl/lib/cli/qdisc/ |
htb.c | 23 " --r2q=DIV Rate to quantum divisor (default: 10)\n" 75 " --rate=RATE Rate limit.\n" 76 " --ceil=RATE Rate limit while borrowing (default: equal to --rate).\n" 78 " --quantum=SIZE Amount of bytes to serve at once (default: rate/r2q).\n" 79 " --burst=SIZE Max charge size of rate burst buffer (default: auto).\n" 80 " --cburst=SIZE Max charge size of ceil rate burst buffer (default: auto)\n 90 long rate; local [all...] |
/external/libopus/celt/ |
opus_custom_demo.c | 51 opus_int32 frame_size, channels, rate; local 64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> " 65 " <bytes per packet> [<complexity> [packet loss rate]] " 70 rate = (opus_int32)atol(argv[1]); 73 mode = opus_custom_mode_create(rate, frame_size, NULL);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ProgressiveDownloadInformationBox.java | 55 long rate; field in class:ProgressiveDownloadInformationBox.Entry 58 public Entry(long rate, long initialDelay) { 59 this.rate = rate; 64 return rate; 67 public void setRate(long rate) { 68 this.rate = rate; 82 "rate=" + rate [all...] |
/external/opencv/cv/src/ |
_cv.h | 103 double *rate; member in struct:CvPyramid
|
/external/sonic/ |
main.c | 22 float rate, 35 sonicSetRate(stream, rate); 65 " -r rate -- Set playback rate. 2.0 means 2X faster, and 2X pitch.\n" 79 float rate = 1.0f; local 102 rate = atof(argv[xArg]); 103 printf("Setting rate to %0.2fX\n", rate); 134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality,
|
/external/speex/libspeex/ |
vorbis_psy.h | 80 int rate; member in struct:__anon30051 91 VorbisPsy *vorbis_psy_init(int rate, int size);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
Channel.cc | 389 printf("Average Rate.................. %.0f bits/sec\n", 394 "Maximum Instantaneous Rate.... %.0f bits/sec\n", 416 double rate; local 419 rate = ((double) _totalBytes * 8.0) / (double) (currTime - _beginTime); 421 return rate;
|
/external/wpa_supplicant_8/src/ap/ |
ap_list.c | 44 int rate = (ap->supported_rates[i] & 0x7f) * 5; local 45 if (rate == 60 || rate == 90 || rate > 110)
|
/bionic/libc/kernel/uapi/rdma/ |
ib_user_sa.h | 60 __u8 rate; member in struct:ib_user_path_rec
|
/device/google/contexthub/firmware/os/inc/ |
sensors_priv.h | 55 uint32_t rate; member in struct:SensorsClientRequest 65 #define SENSOR_RATE_IMPOSSIBLE UINT32_C(0xFFFFFFF3) /* used in rate calc to indicate impossible combinations */
|