/frameworks/base/services/sensorservice/ |
SensorDevice.cpp | 142 snprintf(buffer, SIZE, "handle=0x%08x, active-count=%d, rates(ms)={ ", 144 info.rates.size()); 146 for (size_t j=0 ; j<info.rates.size() ; j++) { 148 info.rates.valueAt(j) / 1e6f, 149 j<info.rates.size()-1 ? ", " : ""); 187 ident, handle, enabled, info.rates.size()); 192 info.rates.indexOfKey(ident)); 194 if (info.rates.indexOfKey(ident) < 0) { 195 info.rates.add(ident, DEFAULT_EVENTS_PERIOD); 196 if (info.rates.size() == 1) [all...] |
SensorDevice.h | 40 mutable Mutex mLock; // protect mActivationCount[].rates 44 KeyedVector<void*, nsecs_t> rates; member in struct:android::SensorDevice::Info
|
/external/iptables/extensions/ |
libxt_limit.c | 108 static const struct rates struct 112 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 121 for (i = 1; i < ARRAY_SIZE(rates); ++i) 122 if (period > rates[i].mult 123 || rates[i].mult/period < rates[i].mult%period) 126 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
libxt_hashlimit.c | 311 static const struct rates struct 315 } rates[] = { { "day", XT_HASHLIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 324 for (i = 1; i < ARRAY_SIZE(rates); ++i) 325 if (period > rates[i].mult 326 || rates[i].mult/period < rates[i].mult%period) 329 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
systemConfig.c | 82 because of the rates bits. 87 | Rx Level | Privacy | Attempts |Rates | Modulation |Preamble | Channel | Spectrum | Reserved | 108 /* Rates */ 251 dot11_RATES_t rates; local 317 /* Build Rates */ 328 rates.hdr[0] = DOT11_SUPPORTED_RATES_ELE_ID; 329 rates.hdr[1] = len; 330 os_memoryCopy(pSiteMgr->hOs, (void *)rates.rates, ratesBuf, rates.hdr[1]) [all...] |
scanResultTable.c | [all...] |
templates.c | 282 /* Rates */ 286 * Supported rates in probe request will always use the default rates for BG or A bands, 287 * regardless of the STA desired rates. 291 /* Basic rates: 1,2,5.5,11 */ 297 { /* Basic rates: 6,12,24 */ 306 /* Basic rates: 1,2,5.5,11 */ 331 os_memoryCopy(pSiteMgr->hOs, (void *)pDot11Rates->rates, ratesBuf, pDot11Rates->hdr[1]); 339 os_memoryCopy(pSiteMgr->hOs, (void *)pDot11Rates->rates, ratesBuf, pDot11Rates->hdr[1]); 344 os_memoryCopy(pSiteMgr->hOs, (void *)pDot11Rates->rates, &ratesBuf[ofdmIndex], pDot11Rates->hdr[1]) [all...] |
mlmeApi.h | 210 dot11_RATES_t rates; member in struct:__anon19304
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
aac_rom.h | 97 extern const int rates[8];
|
/external/iproute2/misc/ |
ifstat.c | 220 double *rates = n->rate; local 228 rates = h1->rate; 236 fprintf(fp, "%llu %u ", vals[i], (unsigned)rates[i]); 246 void format_rate(FILE *fp, unsigned long long *vals, double *rates, int i) 256 if (rates[i] > mega) { 257 sprintf(temp, "%uM", (unsigned)(rates[i]/mega)); 259 } else if (rates[i] > kilo) { 260 sprintf(temp, "%uK", (unsigned)(rates[i]/kilo)); 263 fprintf(fp, "%-6u ", (unsigned)rates[i]);
|
/external/tcpdump/ |
print-802_11.c | 72 for (z = 0; z < p.rates.length ; z++) { \ 73 PRINT_RATE(sep, p.rates.rate[z], \ 74 (p.rates.rate[z] & 0x80 ? "*" : "")); \ 77 if (p.rates.length != 0) \ 122 "data rates in BSSBasicRateSet parameter", /* 18 */ 219 memcpy(&(pbody->rates), p + offset, 2); 221 if (pbody->rates.length != 0) { 222 if (pbody->rates.length > sizeof pbody->rates.rate) 224 if (!TTEST2(*(p + offset), pbody->rates.length) [all...] |
ieee802_11.h | 242 struct rates_t rates; member in struct:mgmt_body_t
|
/external/wpa_supplicant_8/wpa_supplicant/ |
bss.h | 117 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
bss.c | 657 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates) 679 *rates = r;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
aacenc.c | 378 for (i = 0; rates[i]; i++) 380 if (rates[i] >= bitrate) 445 for (i = 0; rates[i]; i++) 447 if (rates[i] >= bitrate)
|
/external/wpa_supplicant_8/src/drivers/ |
driver_test.c | [all...] |
driver_hostap.c | 1115 mode->rates = os_zalloc(rlen); 1116 if (mode->channels == NULL || mode->rates == NULL) { 1118 os_free(mode->rates); 1131 mode->rates[0] = 10; 1132 mode->rates[1] = 20; 1133 mode->rates[2] = 55; 1134 mode->rates[3] = 110;
|
/external/wpa_supplicant_6/wpa_supplicant/ |
mlme.c | 109 wpa_s->mlme.curr_rates = mode->rates; 1035 u8 rates[32]; local 1146 if (rates_len > sizeof(rates)) 1147 rates_len = sizeof(rates); 1148 os_memcpy(rates, elems.supp_rates, rates_len); 1151 if (_len > sizeof(rates) - rates_len) 1152 _len = sizeof(rates) - rates_len; 1153 os_memcpy(rates + rates_len, elems.ext_supp_rates, _len); 1170 if (wpa_drv_mlme_add_sta(wpa_s, wpa_s->bssid, rates, rates_len) < 0) { 2060 int res = 0, rates, done = 0; local [all...] |
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 99 for (int[] rates : frameRates) { 100 logMessage(rates[0] + "-" + rates[1]);
|
/external/wpa_supplicant_8/src/ap/ |
hw_features.c | 40 os_free(hw_features[i].rates); 153 mode->rates[i])) 157 rate->rate = mode->rates[i]; 169 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic " 596 * Sets up the hardware mode, channel, rates, and passive scanning
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ac97_codec.h | 401 /* rates indexes */ 495 unsigned int rates[6]; /* see AC97_RATES_* defines */ member in struct:snd_ac97 620 unsigned int rates; /* available rates */ member in struct:ac97_pcm 626 } r[2]; /* 0 = standard rates, 1 = double rates */
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver.h | 363 struct wpa_rate_data *rates; member in struct:wpa_hw_modes 826 * get_hw_feature_data - Get hardware support data (channels and rates) [all...] |
driver_test.c | 965 modes[0].rates = os_zalloc(sizeof(struct wpa_rate_data)); 966 if (modes[0].channels == NULL || modes[0].rates == NULL) { 973 modes[0].rates[0].rate = 10; 974 modes[0].rates[0].flags = WPA_RATE_BASIC | WPA_RATE_SUPPORTED | [all...] |
/hardware/broadcom/wlan/bcm4329/dhdutil/include/ |
wlioctl.h | 90 uint8 rates[16]; member in struct:wl_bss_info_108::__anon17682 125 uint8 rates[16]; member in struct:wl_bss_info::__anon17683 292 uint8 rates[WL_NUMRATES]; member in struct:wl_rateset 297 uint8 rates[WL_NUMRATES]; member in struct:wl_rateset_args 2307 uint16 rates; member in struct:__anon17708 [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
wlioctl.h | 90 uint8 rates[16]; member in struct:wl_bss_info_108::__anon17741 125 uint8 rates[16]; member in struct:wl_bss_info::__anon17742 292 uint8 rates[WL_NUMRATES]; member in struct:wl_rateset 297 uint8 rates[WL_NUMRATES]; member in struct:wl_rateset_args 2307 uint16 rates; member in struct:__anon17767 [all...] |