Searched refs:bandwidth (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/jdk/net/
H A DSocketFlow.java34 * 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) { argument
134 if (bandwidth < 0) {
135 throw new IllegalArgumentException("invalid bandwidth");
137 this.bandwidth
154 public long bandwidth() { method in class:SocketFlow
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DSocketImplTest.java140 int bandwidth) {
141 super.setPerformancePreferences(connectionTime, latency, bandwidth);
139 setPerformancePreference(int connectionTime, int latency, int bandwidth) argument
/libcore/ojluni/src/main/java/java/net/
H A DSocketImpl.java334 * low latency, and high bandwidth. The absolute values of the integers
339 * bandwidth, for example, then it could invoke this method with the values
340 * {@code (1, 0, 0)}. If the application prefers high bandwidth above low
355 * @param bandwidth
357 * bandwidth
363 int bandwidth)
361 setPerformancePreferences(int connectionTime, int latency, int bandwidth) argument
H A DServerSocket.java891 * low latency, and high bandwidth. The absolute values of the integers
895 * bandwidth, for example, then it could invoke this method with the values
896 * {@code (1, 0, 0)}. If the application prefers high bandwidth above low
912 * @param bandwidth
914 * bandwidth
920 int bandwidth)
918 setPerformancePreferences(int connectionTime, int latency, int bandwidth) argument
H A DSocket.java1742 * low latency, and high bandwidth. The absolute values of the integers
1747 * bandwidth, for example, then it could invoke this method with the values
1748 * {@code (1, 0, 0)}. If the application prefers high bandwidth above low
1763 * @param bandwidth
1765 * bandwidth
1771 int bandwidth)
1769 setPerformancePreferences(int connectionTime, int latency, int bandwidth) argument
/libcore/luni/src/test/java/libcore/java/net/
H A DOldServerSocketTest.java53 int bandwidth) throws Exception {
55 theSocket.setPerformancePreferences(connectionTime, latency, bandwidth);
52 performancePreferenceTest(int connectionTime, int latency, int bandwidth) argument
H A DURLConnectionTest.java3351 @Override public void setPerformancePreferences(int connectionTime, int latency, int bandwidth) { delegate.setPerformancePreferences(connectionTime, latency, bandwidth); } argument
3615 int bandwidth) {
3616 delegate.setPerformancePreferences(connectionTime, latency, bandwidth);
3614 setPerformancePreferences(int connectionTime, int latency, int bandwidth) argument

Completed in 4386 milliseconds