/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 | 14 audio codecs. AAC-ELD is considered the best-performing full-bandwidth communications codec by 87 contents/description: bandwidth expert 92 #include "bandwidth.h" 202 INT bandwidth = -1; local 256 bandwidth = (entryNo==0) 270 bandwidth = (INT)scaleValue(fMult(bwFac_fix, (FIXP_DBL)(endBw-startBw)),q_res) + startBw; 274 bandwidth = -1; 281 return bandwidth; 285 AAC_ENCODER_ERROR FDKaacEnc_DetermineBandWidth(INT* bandWidth, 306 *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 | 125 uint8_t bandwidth[4]; member in struct:eigrp_tlv_ip_int_t 145 uint8_t bandwidth[4]; member in struct:eigrp_tlv_ip_ext_t 164 uint8_t bandwidth[4]; member in struct:eigrp_tlv_at_int_t 183 uint8_t bandwidth[4]; member in struct:eigrp_tlv_at_ext_t 339 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 341 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->bandwidth), 376 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 378 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->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_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 | 60 int bandwidth; member in struct:__anon24132
|
/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/ |
analysis.c | 233 int bandwidth=0; local 414 bandwidth = 0; 446 bandwidth = b; 449 bandwidth = 20; 639 info->bandwidth = bandwidth; 640 /*printf("%d %d\n", info->bandwidth, info->opus_bandwidth);*/
|
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; 923 int bandwidth; local 926 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 352 } else if( strcmp( argv[ args ], "-bandwidth" ) == 0 ) { 353 check_encoder_option(decode_only, "-bandwidth"); 355 bandwidth = OPUS_BANDWIDTH_NARROWBAND; 357 bandwidth = OPUS_BANDWIDTH_MEDIUMBAND; 359 bandwidth = OPUS_BANDWIDTH_WIDEBAND; 361 bandwidth = OPUS_BANDWIDTH_SUPERWIDEBAND; 363 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
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
firewire-cdev.h | 176 * @bandwidth: Bandwidth allocation units which were (de)allocated, if any 180 * @bandwidth for whether the allocation actually succeeded. 187 * @bandwidth is 0 if no bandwidth was (de)allocated or if reallocation failed. 194 __s32 bandwidth; member in struct:fw_cdev_event_iso_resource 557 * struct fw_cdev_allocate_iso_resource - (De)allocate a channel or bandwidth 560 * @bandwidth: Isochronous bandwidth units to be (de)allocated 565 * isochronous channel and/or of isochronous bandwidth at the isochronou 603 __u32 bandwidth; member in struct:fw_cdev_allocate_iso_resource [all...] |
/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
|
/development/ndk/platforms/android-21/include/linux/ |
firewire-cdev.h | 112 __s32 bandwidth; member in struct:fw_cdev_event_iso_resource 305 __u32 bandwidth; member in struct:fw_cdev_allocate_iso_resource
|
/external/aac/libSBRenc/src/ |
sbr_encoder.cpp | 14 audio codecs. AAC-ELD is considered the best-performing full-bandwidth communications codec by 125 #define DELAY_QMF_ANA(dwnsmp) ((320<<((dwnsmp)-1)) - (32<<((dwnsmp)-1))) /* Full bandwidth */ 2143 int bandwidth = *coreBandwidth; local [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...] |