/frameworks/base/core/java/android/net/ |
NetworkState.aidl | 19 parcelable NetworkState;
|
NetworkState.java | 27 public class NetworkState implements Parcelable { 28 public static final NetworkState EMPTY = new NetworkState(null, null, null, null, null, null); 37 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, 48 public NetworkState(Parcel in) { 72 public static final Creator<NetworkState> CREATOR = new Creator<NetworkState>() { 74 public NetworkState createFromParcel(Parcel in) { 75 return new NetworkState(in); 79 public NetworkState[] newArray(int size) [all...] |
INetworkPolicyManager.aidl | 22 import android.net.NetworkState; 74 NetworkQuotaInfo getNetworkQuotaInfo(in NetworkState state); 75 boolean isNetworkMetered(in NetworkState state);
|
IConnectivityManager.aidl | 27 import android.net.NetworkState; 65 NetworkState[] getAllNetworkState();
|
/external/webrtc/webrtc/ |
stream.h | 17 enum NetworkState { 33 virtual void SignalNetworkState(NetworkState state) = 0;
|
call.h | 136 virtual void SignalNetworkState(NetworkState state) = 0;
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
NetworkMonitorAutoDetect.java | 69 static class NetworkState { 78 public NetworkState(boolean connected, int type, int subtype) { 120 NetworkState getNetworkState() { 122 return new NetworkState(false, -1, -1); 132 NetworkState getNetworkState(Network network) { 134 return new NetworkState(false, -1, -1); 142 NetworkState getNetworkState(NetworkInfo networkInfo) { 144 return new NetworkState(false, -1, -1); 146 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype()); 294 final NetworkState networkState = connectivityManagerDelegate.getNetworkState() [all...] |
NetworkMonitor.java | 161 final NetworkMonitorAutoDetect.NetworkState networkState = 163 updateCurrentConnectionType(autoDetector.getCurrentConnectionType(networkState));
|
/external/webrtc/talk/media/webrtc/ |
fakewebrtccall.h | 68 void SignalNetworkState(webrtc::NetworkState state) override {} 97 void SignalNetworkState(webrtc::NetworkState state) override {} 142 void SignalNetworkState(webrtc::NetworkState state) override {} 183 void SignalNetworkState(webrtc::NetworkState state) override {} 216 webrtc::NetworkState GetNetworkState() const; 251 void SignalNetworkState(webrtc::NetworkState state) override; 255 webrtc::NetworkState network_state_;
|
fakewebrtccall.cc | 296 webrtc::NetworkState FakeCall::GetNetworkState() const { 436 void FakeCall::SignalNetworkState(webrtc::NetworkState state) {
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
IPv6TetheringCoordinator.java | 25 import android.net.NetworkState; 50 private NetworkState mUpstreamNetworkState; 73 public void updateUpstreamNetworkState(NetworkState ns) { 98 private void setUpstreamNetworkState(NetworkState ns) { 103 mUpstreamNetworkState = new NetworkState( 150 private static boolean canTetherIPv6(NetworkState ns) { 266 private static String toDebugString(NetworkState ns) { 268 return "NetworkState{null}"; 270 return String.format("NetworkState{%s, %s, %s}",
|
/external/webrtc/webrtc/audio/ |
audio_send_stream.h | 38 void SignalNetworkState(NetworkState state) override;
|
audio_receive_stream.h | 39 void SignalNetworkState(NetworkState state) override;
|
audio_receive_stream.cc | 150 void AudioReceiveStream::SignalNetworkState(NetworkState state) {
|
/external/webrtc/webrtc/call/mock/ |
mock_congestion_controller.h | 34 MOCK_METHOD1(SignalNetworkState, void(NetworkState state));
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
NetworkMonitorTest.java | 32 import static org.webrtc.NetworkMonitorAutoDetect.NetworkState; 84 public NetworkState getNetworkState() { 85 return new NetworkState(activeNetworkExists, networkType, networkSubtype); 101 public NetworkState getNetworkState(Network network) { 102 return new NetworkState(false, -1, -1); 179 final NetworkMonitorAutoDetect.NetworkState networkState = 181 return receiver.getCurrentConnectionType(networkState);
|
/external/webrtc/webrtc/call/ |
congestion_controller.h | 54 virtual void SignalNetworkState(NetworkState state);
|
/external/webrtc/webrtc/video/ |
video_receive_stream.h | 54 void SignalNetworkState(NetworkState state) override;
|
video_send_stream.h | 57 void SignalNetworkState(NetworkState state) override;
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
NetworkState.java | 28 public class NetworkState { 35 private final String LOG_TAG = "NetworkState"; 41 public NetworkState() { 47 public NetworkState(State currentState) {
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Tethering.java | 42 import android.net.NetworkState; [all...] |
NetworkAgentInfo.java | 28 import android.net.NetworkState; 383 public NetworkState getNetworkState() { 388 return new NetworkState(new NetworkInfo(networkInfo),
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | 67 import android.net.NetworkState; 549 NetworkState[] state = null; 561 state = new NetworkState[] { buildWifi() }; 627 NetworkState[] state = null; 639 state = new NetworkState[] {}; 663 state = new NetworkState[] { buildWifi() }; 759 NetworkState[] state = null; 771 state = new NetworkState[] { buildWifi() }; [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 43 import com.android.bandwidthtest.NetworkState; 44 import com.android.bandwidthtest.NetworkState.StateTransitionDirection; 80 private NetworkState[] mConnectivityState = new NetworkState[NUM_NETWORK_TYPES]; 256 mConnectivityState[networkType] = new NetworkState(); 262 public void recordNetworkState(int networkType, State networkState) { 265 ", state is " + networkState); 266 mConnectivityState[networkType].recordState(networkState);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsServiceTest.java | 68 import android.net.NetworkState; [all...] |