/packages/services/Car/car-support-lib/src/android/support/car/hardware/ |
CarSensorManagerEmbedded.java | 55 int rate) throws CarNotConnectedException, IllegalArgumentException { 66 return mManager.registerListener(proxy, sensorType, rate);
|
/system/extras/simpleperf/ |
cmd_stat.cpp | 332 return android::base::StringPrintf("%lf%% miss rate", miss_rate * 100); 336 double rate = summary.count / duration_in_sec; local 337 if (rate > 1e9) { 338 return android::base::StringPrintf("%.3lf G/sec", rate / 1e9); 340 if (rate > 1e6) { 341 return android::base::StringPrintf("%.3lf M/sec", rate / 1e6); 343 if (rate > 1e3) { 344 return android::base::StringPrintf("%.3lf K/sec", rate / 1e3); 346 return android::base::StringPrintf("%.3lf /sec", rate);
|
/external/iproute2/tc/ |
q_cbq.c | 29 fprintf(stderr, "Usage: ... cbq bandwidth BPS rate BPS maxburst PKTS [ avpkt BYTES ]\n"); 31 fprintf(stderr, " [ allot BYTES ] [ mpu BYTES ] [ weight RATE ]\n"); 67 matches(*argv, "rate") == 0) { 69 if (get_rate(&r.rate, *argv)) { 141 if (r.rate == 0) { 155 fprintf(stderr, "CBQ: failed to calculate rate table.\n"); 162 lss.maxidle = tc_calc_xmittime(r.rate, avpkt); 206 if (matches(*argv, "rate") == 0) { 208 if (get_rate(&r.rate, *argv)) { 209 explain1("rate"); [all...] |
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);
|
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
bosch_bmi160.c | 366 uint32_t rate; member in struct:ConfigStat 387 uint32_t rate; member in struct:BMI160Sensor 549 static const uint64_t stepCntRateTimerVals[] = // should match StepCntRates and be the timer length for that rate in nanosecs [all...] |
/external/autotest/client/cros/audio/ |
audio_helper.py | 474 input_audio, channel_index, channels=2, bits=16, rate=48000): 482 @param rate: The sampling rate. 489 input_audio, channels=channels, bits=bits, rate=rate) 494 channels=channels, bits=bits, rate=rate), 497 sox_utils.stat_cmd('-', channels=1, bits=bits, rate=rate), 504 def get_rms(input_audio, channels=1, bits=16, rate=48000) [all...] |
/packages/services/Car/service/src/com/android/car/ |
CarSensorService.java | 77 * When set, sensor service sets its own dispatching rate limit. 281 public boolean registerOrUpdateSensorListener(int sensorType, int rate, 334 sensorListeners = new SensorListeners(rate); 342 sensorClientWithRate = new SensorClientWithRate(sensorClient, rate); 345 sensorClientWithRate.setRate(rate); 347 if (sensorListeners.getRate() > rate) { 348 sensorListeners.setRate(rate); 357 if (!startSensor(sensorRecord, sensorType, rate)) { 428 private boolean startSensor(SensorRecord record, int sensorType, int rate) { 429 //TODO choose proper sensor rate per each sensor [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioRecordingLocal.cpp | 49 config.rate = samplingRate;
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorIntegrationTests.java | 54 * It is however, acceptable that when a client is activated at a higher sampling rate, it would 55 * cause other clients to receive data at a faster sampling rate. A client causing other clients 56 * to receive data at a lower sampling rate is, however, not acceptable. 264 int rate; local 267 rate = SensorManager.SENSOR_DELAY_FASTEST; 272 rate = maxSamplingRate * mGenerator.nextInt(10); 274 return rate;
|
/external/autotest/client/cros/multimedia/ |
audio_facade_native.py | 34 channel=1, rate=48000), 36 channel=2, rate=48000)] 39 file_type='raw', sample_format='S16_LE', channel=2, rate=48000) 137 file_type, sample_format, channel, and rate. 142 rate: sampling rate. 182 rate: sampling rate. 335 rate: sampling rate [all...] |
/external/autotest/client/profilers/powertop/src/ |
display.c | 192 void show_acpi_power_line(double rate, double cap, double capdelta, time_t ti) 199 if (rate > 0.001) { 201 sprintf(buffer, _("Power usage (ACPI estimate): %3.1fW (%3.1f hours)"), rate, cap/rate);
|
powertop.h | 105 void show_acpi_power_line(double rate, double cap, double capdelta, time_t time);
|
/external/libbrillo/policy/ |
device_policy.h | 36 // Writes the value of the DevicePolicyRefreshRate policy in |rate|. Returns 38 virtual bool GetPolicyRefreshRate(int* rate) const = 0;
|
device_policy_impl.h | 34 virtual bool GetPolicyRefreshRate(int* rate) const;
|
/external/libvorbis/examples/ |
vorbisfile_example.c | 61 fprintf(stderr,"\nBitstream is %d channel, %ldHz\n",vi->channels,vi->rate); 81 /* we don't bother dealing with sample rate changes, etc, but
|
/external/libvorbis/lib/ |
backends.h | 43 long rate; member in struct:__anon16379
|
floor0.c | 80 info->rate=oggpack_read(opb,16); 87 if(info->rate<1)goto err_out; 107 Note that the scale depends on the sampling rate as well as the 122 floor(bark(rate/2-1)*C)=mapped-1 123 floor(bark(rate/2)*C)=mapped */ 124 float scale=look->ln/toBARK(info->rate/2.f); 134 int val=floor( toBARK((info->rate/2.f)/n*j)
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_aq_cyclicrefresh.h | 28 // Maximum rate target ratio for setting segment delta-qp. 56 // Thresholds applied to the projected rate/distortion of the coding block, 63 // Rate target ratio to set q delta. 65 // Boost factor for rate target ratio, for segment CR_SEGMENT_ID_BOOST2. 96 int64_t rate, int64_t dist, int skip);
|
vp9_context_tree.h | 57 int rate; member in struct:__anon16587
|
/external/opencv/cv/src/ |
_cv.h | 103 double *rate; member in struct:CvPyramid
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSensorManager.java | 25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) {
|
/external/speex/include/speex/ |
speex_echo.h | 49 /** Set sampling rate */ 51 /** Get sampling rate */ 143 * @param rate Sampling rate 147 SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size);
|
/external/svox/pico/compat/include/ |
TtsEngine.h | 30 #define ANDROID_TTS_ENGINE_PROPERTY_RATE "rate" 59 // @param [in] uint32_t - Track sampling rate in Hz 166 // @param[inout] rate in: the desired audio sample rate 167 // out: the sample rate used by the TTS engine 171 virtual tts_result setAudioFormat(tts_audio_format& encoding, uint32_t& rate, 222 // o rate,
|
/external/tinycompress/include/tinycompress/ |
tinycompress.h | 125 * @sampling_rate: sampling rate of decoded samples 274 * and we have used these to define the sampling rate, we need to define 292 unsigned int compress_get_alsa_rate(unsigned int rate);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
TestAllCodecs.h | 65 int rate, int packet_size, size_t extra_byte);
|