Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DSimStatusImeiInfoPreferenceControllerTest.java59 ShadowConnectivityManager connectivityManager = in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() local
61 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, true); in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue()
71 ShadowConnectivityManager connectivityManager = in testIsAvailable_isAdminButNoMobile_shouldReturnFalse() local
73 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, false); in testIsAvailable_isAdminButNoMobile_shouldReturnFalse()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java151 ConnectivityManager connectivityManager = mConnectivityManagerSupplier.get(); in forceRefresh() local
152 if (connectivityManager == null) { in forceRefresh()
156 final Network network = connectivityManager.getActiveNetwork(); in forceRefresh()
157 final NetworkInfo ni = connectivityManager.getNetworkInfo(network); in forceRefresh()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DUntrustedWifiNetworkFactory.java41 WifiConnectivityManager connectivityManager) { in UntrustedWifiNetworkFactory() argument
43 mWifiConnectivityManager = connectivityManager; in UntrustedWifiNetworkFactory()
DWifiNetworkFactory.java352 WifiConnectivityManager connectivityManager, in WifiNetworkFactory() argument
365 mWifiConnectivityManager = connectivityManager; in WifiNetworkFactory()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java261 ConnectivityManager connectivityManager = (ConnectivityManager) in onResume() local
263 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onResume()
587 ConnectivityManager connectivityManager = (ConnectivityManager) in onReceive() local
589 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DWifiSignalController.java50 ConnectivityManager connectivityManager = in WifiSignalController() local
53 connectivityManager, this::handleStatusUpdated); in WifiSignalController()
DNetworkControllerImpl.java190 NetworkControllerImpl(Context context, ConnectivityManager connectivityManager, in NetworkControllerImpl() argument
206 mConnectivityManager = connectivityManager; in NetworkControllerImpl()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java80 NetworkScoreManager networkScoreManager, ConnectivityManager connectivityManager, in WifiStatusTracker() argument
86 mConnectivityManager = connectivityManager; in WifiStatusTracker()
DWifiTracker.java220 WifiManager wifiManager, ConnectivityManager connectivityManager, in WifiTracker() argument
226 mConnectivityManager = connectivityManager; in WifiTracker()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java370 final ConnectivityManager connectivityManager = in StatsCompanionService() local
372 connectivityManager.registerNetworkCallback(request, new ConnectivityStatsCallback()); in StatsCompanionService()