Home
last modified time | relevance | path

Searched refs:NetworkState (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DNetworkMonitorAutoDetect.java53 static class NetworkState { class in NetworkMonitorAutoDetect
66 public NetworkState(boolean connected, int type, int subtype, int underlyingNetworkTypeForVpn, in NetworkState() method in NetworkMonitorAutoDetect.NetworkState
221 NetworkState getNetworkState() { in getNetworkState()
223 return new NetworkState(false, -1, -1, -1, -1); in getNetworkState()
233 NetworkState getNetworkState(@Nullable Network network) { in getNetworkState()
235 return new NetworkState(false, -1, -1, -1, -1); in getNetworkState()
240 return new NetworkState(false, -1, -1, -1, -1); in getNetworkState()
269 return new NetworkState(networkInfo.isConnected(), ConnectivityManager.TYPE_VPN, -1, in getNetworkState()
290 return new NetworkState(networkInfo.isConnected(), ConnectivityManager.TYPE_VPN, -1, in getNetworkState()
294 return new NetworkState( in getNetworkState()
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/
DTaskScheduler.java59 enum NetworkState { enum
132 void schedulePeriodicTask(String tag, long period, NetworkState networkState); in schedulePeriodicTask()
145 NetworkState networkState, in schedulePeriodicTask()
DMobileDataDownloadImpl.java35 import com.google.android.libraries.mobiledatadownload.TaskScheduler.NetworkState;
1614 NetworkState.NETWORK_STATE_ANY,
1622 NetworkState.NETWORK_STATE_ANY,
1629 NetworkState.NETWORK_STATE_CONNECTED,
1637 NetworkState.NETWORK_STATE_UNMETERED,
/external/cronet/net/android/java/src/org/chromium/net/
DNetworkChangeNotifierAutoDetect.java63 public static class NetworkState { class in NetworkChangeNotifierAutoDetect
76 public NetworkState(boolean connected, int type, int subtype, boolean isMetered, in NetworkState() method in NetworkChangeNotifierAutoDetect.NetworkState
257 NetworkState getNetworkState(WifiManagerDelegate wifiManagerDelegate) { in getNetworkState()
268 return new NetworkState(false, -1, -1, false, null, false, ""); in getNetworkState()
278 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype(), in getNetworkState()
281 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype(), in getNetworkState()
291 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype(), in getNetworkState()
295 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype(), in getNetworkState()
298 return new NetworkState( in getNetworkState()
637 connectionTypeChangedTo(new NetworkState(false, -1, -1, false, null, false, ""));
[all …]
DNetworkChangeNotifier.java234 final NetworkChangeNotifierAutoDetect.NetworkState networkState = in setAutoDetectConnectivityStateInternal()
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dfec_controller_plr_based_unittest.cc386 struct NetworkState { in TEST() struct
391 std::vector<NetworkState> below{ in TEST()
398 std::vector<NetworkState> on{ in TEST()
407 std::vector<NetworkState> above{ in TEST()
415 for (NetworkState net_state : below) { in TEST()
426 for (const std::vector<NetworkState>& states_list : {on, above}) { in TEST()
427 for (NetworkState net_state : states_list) { in TEST()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DNetworkMonitorTest.java47 import org.webrtc.NetworkMonitorAutoDetect.NetworkState;
102 public NetworkState getNetworkState() { in getNetworkState()
103 return new NetworkState(activeNetworkExists, networkType, networkSubtype, in getNetworkState()
120 public NetworkState getNetworkState(Network network) { in getNetworkState()
121 return new NetworkState(false, -1, -1, -1, -1); in getNetworkState()
223 final NetworkMonitorAutoDetect.NetworkState networkState = receiver.getCurrentNetworkState(); in getCurrentConnectionType()
/external/webrtc/media/engine/
Dfake_webrtc_call.h410 webrtc::NetworkState GetNetworkState(webrtc::MediaType media) const;
470 webrtc::NetworkState state) override;
489 webrtc::NetworkState audio_network_state_;
490 webrtc::NetworkState video_network_state_;
Dfake_webrtc_call.cc541 webrtc::NetworkState FakeCall::GetNetworkState(webrtc::MediaType media) const { in GetNetworkState()
727 webrtc::NetworkState state) { in SignalChannelNetworkState()
/external/webrtc/api/
Drtp_headers.h173 enum NetworkState { enum
/external/webrtc/call/
Dcall.h124 NetworkState state) = 0;
Ddegraded_call.h101 void SignalChannelNetworkState(MediaType media, NetworkState state) override;
Dcall.cc261 void SignalChannelNetworkState(MediaType media, NetworkState state) override;
385 NetworkState audio_network_state_ RTC_GUARDED_BY(worker_thread_);
386 NetworkState video_network_state_ RTC_GUARDED_BY(worker_thread_);
1184 void Call::SignalChannelNetworkState(MediaType media, NetworkState state) { in SignalChannelNetworkState()
Ddegraded_call.cc360 NetworkState state) { in SignalChannelNetworkState()
/external/webrtc/video/end_to_end_tests/
Dnetwork_state_tests.cc231 NetworkState network_state) { in TEST_F()
367 NetworkState sender_state_ RTC_GUARDED_BY(test_mutex_); in TEST_F()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/
DMobileDataDownloadTest.java43 import com.google.android.libraries.mobiledatadownload.TaskScheduler.NetworkState;
3390 NetworkState.NETWORK_STATE_ANY, in schedulePeriodicTasks()
3397 NetworkState.NETWORK_STATE_ANY, in schedulePeriodicTasks()
3404 NetworkState.NETWORK_STATE_CONNECTED, in schedulePeriodicTasks()
3411 NetworkState.NETWORK_STATE_UNMETERED, in schedulePeriodicTasks()
3467 NetworkState.NETWORK_STATE_ANY, in schedulePeriodicBackgroundTasks()
3474 NetworkState.NETWORK_STATE_ANY, in schedulePeriodicBackgroundTasks()
3481 NetworkState.NETWORK_STATE_CONNECTED, in schedulePeriodicBackgroundTasks()
3488 NetworkState.NETWORK_STATE_UNMETERED, in schedulePeriodicBackgroundTasks()
3559 NetworkState.NETWORK_STATE_ANY, in schedulePeriodicBackgroundTasks_withConstraintOverrides()
[all …]
/external/cronet/net/android/javatests/src/org/chromium/net/
DNetworkChangeNotifierTest.java51 import org.chromium.net.NetworkChangeNotifierAutoDetect.NetworkState;
200 public NetworkState getNetworkState(WifiManagerDelegate wifiManagerDelegate) { in getNetworkState()
201 return new NetworkState(mActiveNetworkExists, mNetworkType, mNetworkSubtype, mIsMetered, in getNetworkState()
/external/webrtc/video/
Dvideo_receive_stream2.h132 void SignalNetworkState(NetworkState state);
Drtp_video_stream_receiver2.h124 void SignalNetworkState(NetworkState state);
Dvideo_receive_stream2.cc303 void VideoReceiveStream2::SignalNetworkState(NetworkState state) { in SignalNetworkState()
Drtp_video_stream_receiver2.cc1225 void RtpVideoStreamReceiver2::SignalNetworkState(NetworkState state) { in SignalNetworkState()