Searched refs:getInternetType (Results 1 – 10 of 10) sorted by relevance
152 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()
303 when(mMockNetworkProviderWorker.getInternetType()) in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow()327 when(mMockNetworkProviderWorker.getInternetType()) in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow()
267 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()
122 if (getInternetType() == InternetUpdater.INTERNET_ETHERNET) { in getSlice()329 private @InternetUpdater.InternetType int getInternetType() { in getInternetType() method334 return worker.getInternetType(); in getInternetType()398 && getInternetType() != InternetUpdater.INTERNET_WIFI) { in getWifiSliceItemLevelIcon()
47 mInternetType = mInternetUpdater.getInternetType(); in ConnectedEthernetNetworkController()
280 public @InternetType int getInternetType() { in getInternetType() method in InternetUpdater
112 mInternetType = mInternetUpdater.getInternetType(); in InternetPreferenceController()
1048 if (mInternetUpdater.getInternetType() == InternetUpdater.INTERNET_WIFI) { in getConnectedWifiPreferenceCategory()1061 if (mInternetUpdater.getInternetType() == InternetUpdater.INTERNET_WIFI) { in createConnectedWifiEntryPreference()
110 mInternetType = mInternetUpdater.getInternetType(); in NetworkProviderWorker()331 public @InternetUpdater.InternetType int getInternetType() { in getInternetType() method in NetworkProviderWorker
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()