/system/connectivity/wificond/ |
ap_interface_binder.cpp | 47 int bandwidth; local 50 bandwidth = IApInterfaceEventCallback::BANDWIDTH_INVALID; 53 bandwidth = IApInterfaceEventCallback::BANDWIDTH_20_NOHT; 56 bandwidth = IApInterfaceEventCallback::BANDWIDTH_20; 59 bandwidth = IApInterfaceEventCallback::BANDWIDTH_40; 62 bandwidth = IApInterfaceEventCallback::BANDWIDTH_80; 65 bandwidth = IApInterfaceEventCallback::BANDWIDTH_80P80; 68 bandwidth = IApInterfaceEventCallback::BANDWIDTH_160; 71 bandwidth = IApInterfaceEventCallback::BANDWIDTH_INVALID; 73 ap_interface_event_callback_->onSoftApChannelSwitched(frequency, bandwidth); [all...] |
/external/libopus/tests/ |
opus_decode_fuzzer.c | 49 const int bandwidth = opus_packet_get_bandwidth(toc); local 51 info->fs = samp_freqs[bandwidth - OPUS_BANDWIDTH_NARROWBAND];
|
/libcore/ojluni/src/main/java/jdk/net/ |
SocketFlow.java | 34 * The priority and bandwidth parameters must be set before 40 * until it takes effect. The priority and bandwidth values are only valid when 55 private long bandwidth = UNSET; field in class:SocketFlow 128 * Sets this SocketFlow's bandwidth. Must be greater than or equal to zero. 131 * @throws IllegalArgumentException if bandwidth is less than zero. 133 public SocketFlow bandwidth(long bandwidth) { method in class:SocketFlow 134 if (bandwidth < 0) { 135 throw new IllegalArgumentException("invalid bandwidth"); 137 this.bandwidth = bandwidth 154 public long bandwidth() { method in class:SocketFlow [all...] |
/external/aac/libAACenc/src/ |
bandwidth.cpp | 15 full-bandwidth communications codec by independent studies and is widely 99 Description: bandwidth expert 104 #include "bandwidth.h" 166 INT bandwidth = -1; local 225 bandwidth = (entryNo == 0) ? pBwTab[i].bandWidthMono 244 bandwidth = 250 bandwidth = -1; 257 return bandwidth; 264 const CHANNEL_MODE encoderMode, INT *const bandWidth) { 276 *bandWidth = proposedBandWidth [all...] |
/frameworks/av/media/libeffects/testlibs/ |
AudioEqualizer.h | 31 // filters have an additional bandwidth control. 40 // Bandwidth in cents (ignored on shelving filters). 41 uint32_t bandwidth; member in struct:android::AudioEqualizer::BandConfig 94 // bandwidth: 1200 cents. 130 // Sets bandwidth value. Actual change will only take place upon commit(). 134 // cents Bandwidth value in cents (1/1200 octave). 137 // Gets bandwidth of a certain band. This is always the last value set (or 140 // band The band to get the bandwidth for. 141 // returns Bandwidth value in cents (1/1200 octave).
|
/external/tcpdump/ |
print-igrp.c | 59 uint8_t igr_bw[3]; /* bandwidth in units of 1 kb/s */ 72 register u_int delay, bandwidth; local 86 bandwidth = EXTRACT_24BITS(igr->igr_bw); 87 metric = bandwidth + delay; 93 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth,
|
print-eigrp.c | 126 uint8_t bandwidth[4]; member in struct:eigrp_tlv_ip_int_t 146 uint8_t bandwidth[4]; member in struct:eigrp_tlv_ip_ext_t 165 uint8_t bandwidth[4]; member in struct:eigrp_tlv_at_int_t 184 uint8_t bandwidth[4]; member in struct:eigrp_tlv_at_ext_t 366 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 368 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->bandwidth), 408 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 410 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->bandwidth), 450 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 452 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->bandwidth), [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
KernelMemoryBandwidthStats.java | 47 Slog.w(TAG, "No kernel memory bandwidth stats available"); 51 Slog.e(TAG, "Failed to read memory bandwidth: " + e.getMessage()); 59 Slog.w(TAG, "Reading memory bandwidth file took " + readTime + "ms"); 71 int bandwidth = 0; local 74 if ((index = mBandwidthEntries.indexOfKey(bandwidth)) >= 0) { 75 mBandwidthEntries.put(bandwidth, mBandwidthEntries.valueAt(index) 78 mBandwidthEntries.put(bandwidth, Long.parseLong(splitter.next()) / 1000000); 81 Slog.d(TAG, String.format("bandwidth: %s time: %s", bandwidth, 82 mBandwidthEntries.get(bandwidth))); [all...] |
/developers/build/prebuilts/gradle/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/ |
MainActivity.java | 37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases 38 * that require a minimum network bandwidth, such as streaming media or downloading large files. 40 * for high-bandwidth network operations, if currently available networks are inadequate. 52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before 56 // The minimum network bandwidth required by the app for high-bandwidth operations. 149 // Determine if there is a high-bandwidth network exists. Checks both the active 150 // and bound networks. Returns false if no network is available (low or high-bandwidth). 159 int bandwidth = mConnectivityManager local 162 if (bandwidth >= MIN_NETWORK_BANDWIDTH_KBPS) [all...] |
/developers/samples/android/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/ |
MainActivity.java | 37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases 38 * that require a minimum network bandwidth, such as streaming media or downloading large files. 40 * for high-bandwidth network operations, if currently available networks are inadequate. 52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before 56 // The minimum network bandwidth required by the app for high-bandwidth operations. 149 // Determine if there is a high-bandwidth network exists. Checks both the active 150 // and bound networks. Returns false if no network is available (low or high-bandwidth). 159 int bandwidth = mConnectivityManager local 162 if (bandwidth >= MIN_NETWORK_BANDWIDTH_KBPS) [all...] |
/development/samples/browseable/WearHighBandwidthNetworking/src/com.example.android.wearable.wear.wearhighbandwidthnetworking/ |
MainActivity.java | 37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases 38 * that require a minimum network bandwidth, such as streaming media or downloading large files. 40 * for high-bandwidth network operations, if currently available networks are inadequate. 52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before 56 // The minimum network bandwidth required by the app for high-bandwidth operations. 149 // Determine if there is a high-bandwidth network exists. Checks both the active 150 // and bound networks. Returns false if no network is available (low or high-bandwidth). 159 int bandwidth = mConnectivityManager local 162 if (bandwidth >= MIN_NETWORK_BANDWIDTH_KBPS) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
LoessInterpolator.java | 47 /** Default value of the bandwidth parameter. */ 63 * The bandwidth parameter: when computing the loess fit at 70 private final double bandwidth; field in class:LoessInterpolator 89 * with a bandwidth of {@link #DEFAULT_BANDWIDTH}, 96 this.bandwidth = DEFAULT_BANDWIDTH; 103 * with given bandwidth and number of robustness iterations. 106 * #LoessInterpolator(double, int, double) LoessInterpolator(bandwidth, 110 * @param bandwidth when computing the loess fit at 120 * @throws MathException if bandwidth does not lie in the interval [0,1] 124 public LoessInterpolator(double bandwidth, int robustnessIters) throws MathException [all...] |
/external/libopus/celt/ |
celt.h | 63 int bandwidth; member in struct:__anon25584
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_unittest.cc | 96 opus_int32 bandwidth; local 99 OPUS_GET_MAX_BANDWIDTH(&bandwidth)); 100 EXPECT_EQ(expect, bandwidth);
|
/external/webrtc/webrtc/base/ |
virtualsocketserver.h | 46 // Limits the network bandwidth (maximum bytes per second). Zero means that 48 uint32_t bandwidth() const { return bandwidth_; } function in class:rtc::VirtualSocketServer 49 void set_bandwidth(uint32_t bandwidth) { bandwidth_ = bandwidth; } 331 // Network model that enforces bandwidth and capacity constraints
|
virtualsocket_unittest.cc | 79 bandwidth(bw), 119 if (bandwidth > 0) 120 ASSERT_TRUE(sec_count <= 5 * bandwidth / 4); 127 uint32_t bandwidth; member in struct:Receiver 667 uint32_t bandwidth = 64 * 1024; local 668 ss_->set_bandwidth(bandwidth); 672 Receiver receiver(pthMain, recv_socket, bandwidth); 678 ASSERT_TRUE(receiver.count >= 5 * 3 * bandwidth / 4); 679 ASSERT_TRUE(receiver.count <= 6 * bandwidth); // queue could drain for 1s [all...] |
/external/libopus/src/ |
opus_decoder.c | 68 int bandwidth; member in struct:OpusDecoder 358 if( st->bandwidth == OPUS_BANDWIDTH_NARROWBAND ) { 360 } else if( st->bandwidth == OPUS_BANDWIDTH_MEDIUMBAND ) { 362 } else if( st->bandwidth == OPUS_BANDWIDTH_WIDEBAND ) { 433 switch(st->bandwidth) 664 st->bandwidth = packet_bandwidth; 684 st->bandwidth = packet_bandwidth; 824 *value = st->bandwidth; 943 int bandwidth; local 946 bandwidth = OPUS_BANDWIDTH_MEDIUMBAND + ((data[0]>>5)&0x3) [all...] |
opus_demo.c | 58 fprintf(stderr, "-bandwidth <NB|MB|WB|SWB|FB> : audio bandwidth (from narrowband to fullband); default: sampling rate\n" ); 248 int bandwidth=OPUS_AUTO; local 353 } else if( strcmp( argv[ args ], "-bandwidth" ) == 0 ) { 354 check_encoder_option(decode_only, "-bandwidth"); 356 bandwidth = OPUS_BANDWIDTH_NARROWBAND; 358 bandwidth = OPUS_BANDWIDTH_MEDIUMBAND; 360 bandwidth = OPUS_BANDWIDTH_WIDEBAND; 362 bandwidth = OPUS_BANDWIDTH_SUPERWIDEBAND; 364 bandwidth = OPUS_BANDWIDTH_FULLBAND [all...] |
/external/syslinux/extlinux/ |
btrfs.h | 96 uint8_t bandwidth; member in struct:btrfs_super_block::btrfs_dev_item
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.h | 104 /** Bandwidth in Hz */ 105 int bandwidth; member in struct:inv_single_sensor_t
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
data_builder.h | 102 /** Bandwidth in Hz */ 103 int bandwidth; member in struct:inv_single_sensor_t
|
/system/connectivity/wificond/net/ |
netlink_manager.cpp | 58 ChannelBandwidth getBandwidthType(uint32_t bandwidth) { 59 switch (bandwidth) { 73 LOG(ERROR) << "Unknown bandwidth type: " << bandwidth; 717 uint32_t bandwidth = 0; local 718 if (!packet->GetAttributeValue(NL80211_ATTR_CHANNEL_WIDTH, &bandwidth)) { 726 handler->second(frequency, getBandwidthType(bandwidth));
|
/bionic/libc/kernel/uapi/linux/ |
firewire-cdev.h | 94 __s32 bandwidth; member in struct:fw_cdev_event_iso_resource 248 __u32 bandwidth; member in struct:fw_cdev_allocate_iso_resource
|
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/ |
dfs.c | 84 uint32_t bandwidth; local 91 bandwidth = 8 * (1 << ch->bw); 93 die = bandwidth / die_bandwidth; 95 (bandwidth / 16))); [all...] |
/external/kernel-headers/original/uapi/linux/ |
firewire-cdev.h | 310 * @bandwidth: Bandwidth allocation units which were (de)allocated, if any 314 * @bandwidth for whether the allocation actually succeeded. 321 * @bandwidth is 0 if no bandwidth was (de)allocated or if reallocation failed. 328 __s32 bandwidth; member in struct:fw_cdev_event_iso_resource 971 __u32 bandwidth; member in struct:fw_cdev_allocate_iso_resource [all...] |