Home
last modified time | relevance | path

Searched refs:InternetUpdater (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/
DConnectedEthernetNetworkController.java19 import static com.android.settings.network.InternetUpdater.INTERNET_ETHERNET;
36 implements InternetUpdater.InternetChangeListener {
41 private InternetUpdater mInternetUpdater;
42 private @InternetUpdater.InternetType int mInternetType;
46 mInternetUpdater = new InternetUpdater(context, lifecycle, this); in ConnectedEthernetNetworkController()
77 public void onInternetTypeChanged(@InternetUpdater.InternetType int internetType) { in onInternetTypeChanged()
DInternetPreferenceController.java22 import static com.android.settings.network.InternetUpdater.INTERNET_CELLULAR;
23 import static com.android.settings.network.InternetUpdater.INTERNET_ETHERNET;
24 import static com.android.settings.network.InternetUpdater.INTERNET_NETWORKS_AVAILABLE;
25 import static com.android.settings.network.InternetUpdater.INTERNET_OFF;
26 import static com.android.settings.network.InternetUpdater.INTERNET_WIFI;
65 InternetUpdater.InternetChangeListener, MobileNetworkRepository.MobileNetworkCallback,
74 private InternetUpdater mInternetUpdater;
75 private @InternetUpdater.InternetType int mInternetType;
111 mInternetUpdater = new InternetUpdater(context, lifecycle, this); in InternetPreferenceController()
216 public void onInternetTypeChanged(@InternetUpdater.InternetType int internetType) { in onInternetTypeChanged()
DProviderModelSlice.java122 if (getInternetType() == InternetUpdater.INTERNET_ETHERNET) { in getSlice()
329 private @InternetUpdater.InternetType int getInternetType() { in getInternetType()
332 return InternetUpdater.INTERNET_NETWORKS_AVAILABLE; in getInternetType()
398 && getInternetType() != InternetUpdater.INTERNET_WIFI) { in getWifiSliceItemLevelIcon()
DInternetUpdater.java55 public class InternetUpdater implements AirplaneModeEnabler.OnAirplaneModeChangedListener, class
167 public InternetUpdater(Context context, Lifecycle lifecycle, InternetChangeListener listener) { in InternetUpdater() method in InternetUpdater
DNetworkProviderSettings.java107 AirplaneModeEnabler.OnAirplaneModeChangedListener, InternetUpdater.InternetChangeListener {
217 InternetUpdater mInternetUpdater;
449 mInternetUpdater = new InternetUpdater(getContext(), getSettingsLifecycle(), this); in onActivityCreated()
820 public void onInternetTypeChanged(@InternetUpdater.InternetType int internetType) { in onInternetTypeChanged()
1048 if (mInternetUpdater.getInternetType() == InternetUpdater.INTERNET_WIFI) { in getConnectedWifiPreferenceCategory()
1061 if (mInternetUpdater.getInternetType() == InternetUpdater.INTERNET_WIFI) { in createConnectedWifiEntryPreference()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetUpdaterTest.java23 import static com.android.settings.network.InternetUpdater.INTERNET_CELLULAR;
24 import static com.android.settings.network.InternetUpdater.INTERNET_ETHERNET;
25 import static com.android.settings.network.InternetUpdater.INTERNET_NETWORKS_AVAILABLE;
26 import static com.android.settings.network.InternetUpdater.INTERNET_OFF;
27 import static com.android.settings.network.InternetUpdater.INTERNET_WIFI;
72 private InternetUpdater mInternetUpdater;
82 mInternetUpdater = new InternetUpdater(mContext, lifecycle, null); in setUp()
DConnectedEthernetNetworkControllerTest.java19 import static com.android.settings.network.InternetUpdater.INTERNET_CELLULAR;
20 import static com.android.settings.network.InternetUpdater.INTERNET_ETHERNET;
21 import static com.android.settings.network.InternetUpdater.INTERNET_NETWORKS_AVAILABLE;
22 import static com.android.settings.network.InternetUpdater.INTERNET_OFF;
23 import static com.android.settings.network.InternetUpdater.INTERNET_WIFI;
DInternetPreferenceControllerTest.java19 import static com.android.settings.network.InternetUpdater.INTERNET_NETWORKS_AVAILABLE;
20 import static com.android.settings.network.InternetUpdater.INTERNET_WIFI;
DProviderModelSliceTest.java304 .thenReturn(InternetUpdater.INTERNET_ETHERNET); in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow()
328 .thenReturn(InternetUpdater.INTERNET_ETHERNET); in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkProviderWorker.java19 import static com.android.settings.network.InternetUpdater.INTERNET_ETHERNET;
41 import com.android.settings.network.InternetUpdater;
58 DataConnectivityListener.Client, InternetUpdater.InternetChangeListener,
88 private InternetUpdater mInternetUpdater;
89 private @InternetUpdater.InternetType int mInternetType;
109 mInternetUpdater = new InternetUpdater(mContext, getLifecycle(), this); in NetworkProviderWorker()
316 public void onInternetTypeChanged(@InternetUpdater.InternetType int internetType) { in onInternetTypeChanged()
331 public @InternetUpdater.InternetType int getInternetType() { in getInternetType()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DNetworkProviderWorkerTest.java19 import static com.android.settings.network.InternetUpdater.INTERNET_CELLULAR;
20 import static com.android.settings.network.InternetUpdater.INTERNET_ETHERNET;
21 import static com.android.settings.network.InternetUpdater.INTERNET_WIFI;
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkProviderSettingsTest.java148 InternetUpdater mInternetUpdater;
594 doReturn(InternetUpdater.INTERNET_WIFI).when(mInternetUpdater).getInternetType(); in getConnectedWifiPreferenceCategory_internetWiFi_getConnectedAccessPoints()
603 doReturn(InternetUpdater.INTERNET_CELLULAR).when(mInternetUpdater).getInternetType(); in getConnectedWifiPreferenceCategory_internetCellular_getFirstAccessPoints()
612 doReturn(InternetUpdater.INTERNET_WIFI).when(mInternetUpdater).getInternetType(); in createConnectedWifiEntryPreference_internetWiFi_createConnectedPreference()
621 doReturn(InternetUpdater.INTERNET_CELLULAR).when(mInternetUpdater).getInternetType(); in createConnectedWifiEntryPreference_internetCellular_createFirstWifiPreference()