Home
last modified time | relevance | path

Searched refs:buckets (Results 1 – 14 of 14) sorted by relevance

/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py101 def getBucket(buckets, line): argument
103 bucket = buckets.get(letter)
107 buckets[letter] = bucket
111 def makePattern(prefix, suffix, buckets, isWebUrl=False): argument
114 output += getBucket(buckets, 'a').dump(isFirst=True, isWebUrl=isWebUrl)
117 output += getBucket(buckets, chr(letter)).dump(isWebUrl=isWebUrl)
119 output += getBucket(buckets, 'z').dump(isLast=True, isWebUrl=isWebUrl)
135 buckets = {} variable
141 getBucket(buckets, domain[0]).add(domain.strip())
147 getBucket(buckets, 'xn--').add(result[2:-1])
[all …]
/frameworks/opt/net/wifi/service/tools/halutil/
Dhalutil.cpp333 params.buckets[0].bucket = 0; in startScan()
334 params.buckets[0].band = WIFI_BAND_UNSPECIFIED; in startScan()
335 params.buckets[0].period = base_period; in startScan()
336 params.buckets[0].num_channels = num_channels; in startScan()
339 params.buckets[0].channels[i].channel = channel_list[i]; in startScan()
352 params.buckets[0].bucket = 0; in startScan()
353 params.buckets[0].band = WIFI_BAND_UNSPECIFIED; in startScan()
354 params.buckets[0].period = 5000; // 5 second in startScan()
355 params.buckets[0].report_events = 0; in startScan()
356 params.buckets[0].num_channels = 2; in startScan()
[all …]
/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp360 … jobjectArray buckets = (jobjectArray)getObjectField(env, settings, "buckets", bucket_array_type); in android_net_wifi_startScan() local
368 params.buckets[i].bucket = getIntField(env, bucket, "bucket"); in android_net_wifi_startScan()
369 params.buckets[i].band = (wifi_band) getIntField(env, bucket, "band"); in android_net_wifi_startScan()
370 params.buckets[i].period = getIntField(env, bucket, "period_ms"); in android_net_wifi_startScan()
372 ALOGD("Initialized common bucket fields %d:%d:%d", params.buckets[i].bucket, in android_net_wifi_startScan()
373 params.buckets[i].band, params.buckets[i].period); in android_net_wifi_startScan()
376 params.buckets[i].report_events = report_events; in android_net_wifi_startScan()
378 ALOGD("Initialized report events to %d", params.buckets[i].report_events); in android_net_wifi_startScan()
383 params.buckets[i].num_channels = getIntField(env, bucket, "num_channels"); in android_net_wifi_startScan()
384 ALOGD("Initialized num_channels to %d", params.buckets[i].num_channels); in android_net_wifi_startScan()
[all …]
/frameworks/base/docs/html/design/style/
Dmetrics-grids.jd12 <li>The size buckets are <em>handset</em> (smaller than
15 <li>The density buckets are <acronym
24 alternative layouts for some of the different size buckets, and provide alternative bitmap images
25 for different density buckets.</p>
Ddevices-displays.jd42 down for the other buckets. Another approach is to start with the device with the largest screen
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScanningServiceImpl.java777 mSettings.buckets = new WifiNative.BucketSettings[MAX_BUCKETS];
778 for (int i = 0; i < mSettings.buckets.length; i++) {
788 mSettings.buckets[i] = bucketSettings;
881 WifiNative.BucketSettings bucket = mSettings.buckets[bucketIndex]; in addScanRequestToBucket()
951 for (int i = 0; i < mSettings.buckets.length; i++) { in compressBuckets()
952 if (mSettings.buckets[i].num_channels != 0 in compressBuckets()
953 || mSettings.buckets[i].band != WifiScanner.WIFI_BAND_UNSPECIFIED) { in compressBuckets()
954 mSettings.buckets[num_buckets] = mSettings.buckets[i]; in compressBuckets()
959 for (int i = num_buckets; i < mSettings.buckets.length; i++) { in compressBuckets()
960 mSettings.buckets[i] = null; in compressBuckets()
[all …]
DWifiNative.java1250 BucketSettings buckets[]; field in WifiNative.ScanSettings
/frameworks/base/docs/html/training/multiscreen/
Dscreendensities.jd96 the generalized density buckets: low, medium, high and extra-high density.
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp2702 static const unsigned int buckets[] = in getHashBucketCount() local
2707 const unsigned buckets_count = sizeof buckets / sizeof buckets[0]; in getHashBucketCount()
2711 if (pNumOfSymbols < buckets[i]) in getHashBucketCount()
2713 result = buckets[i]; in getHashBucketCount()
/frameworks/base/docs/html/training/basics/supporting-devices/
Dscreens.jd135 density buckets: low, medium, high and extra-high density. This helps you achieve good graphical
/frameworks/base/docs/html/training/design-navigation/
Dmultiple-sizes.jd70 …outs containing one or multiple panes for devices in varying screen size buckets (such as <code>la…
/frameworks/base/docs/html/about/dashboards/
Dindex.jd80 actual screen sizes and densities into several buckets as expressed by the table below.</p>
/frameworks/base/docs/html/design/patterns/
Dwidgets.jd115 …t can redraw itself. Planning your widget resizing strategy across "size buckets" rather than vari…
/frameworks/base/docs/html/distribute/essentials/quality/
Dtablets.jd217 different layouts in the appropriate screen size buckets (such as