/cts/tests/sensor/jni/ |
android_hardware_cts_SensorNativeTest.cpp | 54 std::vector<int32_t> rates = { local 60 for (auto r : rates) {
|
/frameworks/av/media/libaaudio/tests/ |
test_open_params.cpp | 123 int32_t rates[] = {AAUDIO_UNSPECIFIED, 22050, 32000, 44100, 48000, 88200, 96000, 37913, 59132}; local 135 for (uint i = 0; i < arraysize(rates); i++) { 136 testOpenOptions(direction, AAUDIO_UNSPECIFIED, rates[i], AAUDIO_FORMAT_UNSPECIFIED);
|
/external/iw/ |
ibss.c | 27 unsigned char rates[NL80211_MAX_SUPP_RATES]; local 131 /* basic rates */ 132 if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) { 140 rates[n_rates] = rate * 2; 143 if (*end != '\0' || !rates[n_rates] || 144 rate*2 != rates[n_rates]) 151 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); 198 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] " 206 "it with the specified basic-rates, multicast-rate and beacon-interval.");
|
mesh.c | 441 unsigned char rates[NL80211_MAX_SUPP_RATES]; local 514 /* basic rates */ 515 if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) { 523 rates[n_rates] = rate * 2; 526 if (*end != '\0' || !rates[n_rates] || 527 rate*2 != rates[n_rates]) 534 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); 606 " [basic-rates <rate in Mbps,rate2,...>]], [mcast-rate <rate in Mbps>]" 610 "Join a mesh with the given mesh ID with frequency, basic-rates,\n" 611 "mcast-rate and mesh parameters. Basic-rates are applied only if\n [all...] |
/external/iptables/extensions/ |
libebt_limit.c | 126 struct rates struct 132 static struct rates g_rates[] = 144 for (i = 1; i < sizeof(g_rates)/sizeof(struct rates); i++)
|
libxt_limit.c | 112 static const struct rates struct 116 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 130 for (i = 1; i < ARRAY_SIZE(rates); ++i) 131 if (period > rates[i].mult 132 || rates[i].mult/period < rates[i].mult%period) 135 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); 155 static const struct rates rates_xlate[] = { 171 for (i = 1; i < ARRAY_SIZE(rates); ++i [all...] |
libxt_hashlimit.c | 604 struct rates { struct 612 static const struct rates rates[] = { variable in typeref:struct:rates 621 const struct rates *_rates = (revision == 1) ? rates_v1 : rates; 629 for (i = 1; i < ARRAY_SIZE(rates); ++i)
|
/device/google/contexthub/util/nanotool/ |
nanotool.cpp | 214 static const std::vector<std::tuple<std::string, SensorSpecialRate>> rates = { local 220 for (size_t i = 0; i < rates.size(); i++) { 224 std::tie(name, rate) = rates[i];
|
/external/python/cpython2/Mac/Modules/snd/ |
_Sndihooks.c | 39 Handle rates; member in struct:SampleRateAvailable_arg 408 /* Handle contains a list of rates */ 432 arg.rates = NULL; 440 frates = (Fixed *)*(arg.rates); 446 /* Handle contains a list of rates */
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_scan.c | 321 struct nlattr *rates; local 325 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 326 if (rates == NULL) 330 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 331 * by masking out everything else apart from the OFDM rates 6, 332 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 333 * rates are left enabled. 338 nla_nest_end(msg, rates); 1158 struct nlattr *rates; local [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 373 int[] rates = { 1000, 1, 10, 1000000, 10, 1}; local 374 for (int rate : rates) {
|
/external/iproute2/misc/ |
ifstat.c | 323 double *rates = n->rate; local 333 rates = h1->rate; 351 (unsigned int)rates[i]); 369 const double *rates, int i) 380 if (rates[i] > mega) { 381 sprintf(temp, "%uM", (unsigned int)(rates[i]/mega)); 383 } else if (rates[i] > kilo) { 384 sprintf(temp, "%uK", (unsigned int)(rates[i]/kilo)); 387 fprintf(fp, "%-6u ", (unsigned int)rates[i]);
|
/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 503 * Returns the list of supported refresh rates in the default mode. 507 ArraySet<Float> rates = new ArraySet<>(); local 513 rates.add(mode.getRefreshRate()); 516 float[] result = new float[rates.size()]; 518 for (Float rate : rates) {
|
/external/libopus/tests/ |
test_opus_encode.c | 399 int rates[13]={6000,12000,48000,16000,32000,48000,64000,512000,13000,24000,48000,64000,96000}; local 401 rate=rates[j]+fast_rand()%rates[j]; 428 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed(); 485 int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,48000,88000}; local 489 rate=rates[j]+fast_rand()%rates[j];
|
/external/syslinux/gpxe/src/drivers/net/ath5k/ |
ath5k_phy.c | 2422 u16 *rates; local [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
net80211.h | 257 * irrelevant for 802.11g data rates, since they use a different 271 /** The maximum number of TX rates we allow to be configured simultaneously */ 503 /** List of transmission rates supported by the card, indexed by band 505 * Rates should be in 100kbps increments (e.g. 11 Mbps would 508 u16 rates[NET80211_NR_BANDS][NET80211_MAX_RATES]; member in struct:net80211_hw_info 510 /** Number of supported rates, indexed by band */ 814 /** A list of all possible TX rates we might use 816 * Rates are in units of 100 kbps. 818 u16 rates[NET80211_MAX_RATES]; member in struct:net80211_device 820 /** The number of transmission rates in the rates array * [all...] |
ieee80211.h | 146 * ESSID, identify themselves by BSSID, supported transfer rates, RF 584 /** 802.11 rates information element 586 * The first 8 rates go in an IE of type RATES (1), and any more rates 593 u8 id; /**< Rates ID: 1 or 50 */ 594 u8 len; /**< Number of rates */ 595 u8 rates[0]; /**< Rates data, one rate per byte */ member in struct:ieee80211_ie_rates 598 /** Information element ID for rates information element * 979 u8 rates[0]; \/**< Rates data *\/ member in union:ieee80211_ie::__anon38419::__anon38420 [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
usb.c | 47 /* TODO: dynamically populate supported sample rates */ 54 // assert on sizeof bm v/s size of rates if needed 72 unsigned int rates[MAX_SAMPLE_RATE_SIZE]; member in struct:usb_device_config 231 * Rates: 8000 - 48000 (continuous) 232 * Rates: 8000, 44100, 48000 236 next_sr_string = strtok_r(rates_str, "Rates: ", &temp_ptr); 238 ALOGE("%s: could not find min rates string", __func__); 245 ALOGE("%s: could not find max rates string", __func__); 253 config->rates[sr_size++] = supported_sample_rates[i]; 268 config->rates[sr_size++] = supported_sample_rates[i] [all...] |
/bionic/libc/kernel/uapi/sound/ |
asoc.h | 187 __le32 rates; member in struct:snd_soc_tplg_stream_caps
|
/external/kernel-headers/original/uapi/sound/ |
asoc.h | 279 __le32 rates; /* supported rates SNDRV_PCM_RATE_* */ member in struct:snd_soc_tplg_stream_caps
|
/external/pdfium/third_party/libopenjpeg20/ |
j2k.h | 251 /** rates of layers */ 252 OPJ_FLOAT32 rates[100]; member in struct:opj_tcp
|
/external/wpa_supplicant_8/wpa_supplicant/ |
config.c | 1927 int *rates = wpa_config_parse_int_array(value); local [all...] |
/frameworks/base/media/java/android/media/ |
AudioRecord.java | 262 * rate that is guaranteed to work on all devices, but other rates such as 22050, 428 int[] rates = { 0 }; local 435 rates /*mSampleRates*/, [all...] |
AudioTrack.java | 700 int[] rates = { 0 }; local 703 rates /*sampleRate - NA*/, [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTest.java | 1215 float[] rates = { 0.25f, 0.5f, 1.0f, 2.0f }; local [all...] |