Home
last modified time | relevance | path

Searched refs:getInternetType (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetUpdaterTest.java152 assertThat(mInternetUpdater.getInternetType()).isEqualTo(INTERNET_OFF); in updateInternetType_apmOnWifiOff_getInternetApm()
163 assertThat(mInternetUpdater.getInternetType()).isEqualTo(INTERNET_NETWORKS_AVAILABLE); in updateInternetType_apmOnWifiOnNotConnected_getInternetNetworksAvailable()
175 assertThat(mInternetUpdater.getInternetType()).isEqualTo(INTERNET_WIFI); in updateInternetType_apmOnWifiConnected_getInternetWifi()
186 assertThat(mInternetUpdater.getInternetType()).isEqualTo(INTERNET_CELLULAR); in updateInternetType_apmOnCellularConnected_getInternetCellular()
197 assertThat(mInternetUpdater.getInternetType()).isEqualTo(INTERNET_ETHERNET); in updateInternetType_apmOnEthernetConnected_getInternetEthernet()
210 assertThat(mInternetUpdater.getInternetType()).isEqualTo(INTERNET_CELLULAR); in updateInternetType_carrierWifiConnected_getInternetCellular()
DProviderModelSliceTest.java303 when(mMockNetworkProviderWorker.getInternetType()) in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow()
327 when(mMockNetworkProviderWorker.getInternetType()) in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DNetworkProviderWorkerTest.java267 assertThat(mMockNetworkProviderWorker.getInternetType()).isEqualTo(INTERNET_ETHERNET); in getInternetType_connectedEthernet_returnInternetEthernet()
274 assertThat(mMockNetworkProviderWorker.getInternetType()).isEqualTo(INTERNET_WIFI); in getInternetType_connectedWifi_returnInternetWifi()
281 assertThat(mMockNetworkProviderWorker.getInternetType()).isEqualTo(INTERNET_CELLULAR); in getInternetType__connectedCarrier_returnInternetCellular()
/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSlice.java122 if (getInternetType() == InternetUpdater.INTERNET_ETHERNET) { in getSlice()
329 private @InternetUpdater.InternetType int getInternetType() { in getInternetType() method
334 return worker.getInternetType(); in getInternetType()
398 && getInternetType() != InternetUpdater.INTERNET_WIFI) { in getWifiSliceItemLevelIcon()
DConnectedEthernetNetworkController.java47 mInternetType = mInternetUpdater.getInternetType(); in ConnectedEthernetNetworkController()
DInternetUpdater.java280 public @InternetType int getInternetType() { in getInternetType() method in InternetUpdater
DInternetPreferenceController.java112 mInternetType = mInternetUpdater.getInternetType(); in InternetPreferenceController()
DNetworkProviderSettings.java1048 if (mInternetUpdater.getInternetType() == InternetUpdater.INTERNET_WIFI) { in getConnectedWifiPreferenceCategory()
1061 if (mInternetUpdater.getInternetType() == InternetUpdater.INTERNET_WIFI) { in createConnectedWifiEntryPreference()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkProviderWorker.java110 mInternetType = mInternetUpdater.getInternetType(); in NetworkProviderWorker()
331 public @InternetUpdater.InternetType int getInternetType() { in getInternetType() method in NetworkProviderWorker
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkProviderSettingsTest.java594 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()