Searched refs:mInternetUpdater (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | InternetUpdaterTest.java | 72 private InternetUpdater mInternetUpdater; field in InternetUpdaterTest 82 mInternetUpdater = new InternetUpdater(mContext, lifecycle, null); in setUp() 83 mInternetUpdater.mAirplaneModeEnabler = mAirplaneModeEnabler; in setUp() 88 mInternetUpdater.onResume(); in onResume_shouldRegisterCallback() 96 mInternetUpdater.onPause(); in onResume_shouldRegisterCallback() 102 mInternetUpdater.onResume(); in onPause_shouldUnregisterCallback() 104 mInternetUpdater.onPause(); in onPause_shouldUnregisterCallback() 114 mInternetUpdater.onDestroy(); in onDestroy_shouldCloseCallback() 126 mInternetUpdater.updateInternetAvailable(networkCapabilities); in updateInternetAvailable_wifiConnectedAndNoValidated_internetUnavailable() 128 assertThat(mInternetUpdater.mInternetAvailable).isEqualTo(false); in updateInternetAvailable_wifiConnectedAndNoValidated_internetUnavailable() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ConnectedEthernetNetworkController.java | 41 private InternetUpdater mInternetUpdater; field in ConnectedEthernetNetworkController 46 mInternetUpdater = new InternetUpdater(context, lifecycle, this); in ConnectedEthernetNetworkController() 47 mInternetType = mInternetUpdater.getInternetType(); in ConnectedEthernetNetworkController()
|
D | InternetPreferenceController.java | 74 private InternetUpdater mInternetUpdater; field in InternetPreferenceController 111 mInternetUpdater = new InternetUpdater(context, lifecycle, this); in InternetPreferenceController() 112 mInternetType = mInternetUpdater.getInternetType(); in InternetPreferenceController()
|
D | NetworkProviderSettings.java | 217 InternetUpdater mInternetUpdater; field in NetworkProviderSettings 449 mInternetUpdater = new InternetUpdater(getContext(), getSettingsLifecycle(), this); in onActivityCreated() 1048 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/ |
D | NetworkProviderWorker.java | 88 private InternetUpdater mInternetUpdater; field in NetworkProviderWorker 109 mInternetUpdater = new InternetUpdater(mContext, getLifecycle(), this); in NetworkProviderWorker() 110 mInternetType = mInternetUpdater.getInternetType(); in NetworkProviderWorker()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | NetworkProviderSettingsTest.java | 148 InternetUpdater mInternetUpdater; field in NetworkProviderSettingsTest 181 mNetworkProviderSettings.mInternetUpdater = mInternetUpdater; in setUp() 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()
|