Home
last modified time | relevance | path

Searched refs:getNetworkInfo (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java200 when(mockConnectivityManager.getNetworkInfo(any(Network.class))) in setUp()
298 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class)); in latestNetworkInfo_shouldBeFetchedInDisplayPreference()
620 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class)); in networkStateChangedIntent_shouldRefetchInfo()
625 verify(mockConnectivityManager, times(2)).getNetworkInfo(any(Network.class)); in networkStateChangedIntent_shouldRefetchInfo()
633 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class)); in rssiChangedIntent_shouldRefetchInfo()
638 verify(mockConnectivityManager, times(2)).getNetworkInfo(any(Network.class)); in rssiChangedIntent_shouldRefetchInfo()
646 when(mockConnectivityManager.getNetworkInfo(any(Network.class))).thenReturn(null); in networkDisconnectedState_shouldFinishActivity()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java75 if (accessPoint.getNetworkInfo() != null && in onForget()
76 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget()
113 NetworkInfo networkInfo = accessPoint.getNetworkInfo(); in onSubmit()
DWifiSettings.java311 NetworkInfo info = connectivity.getNetworkInfo( in onActivityCreated()
981 if (mSelectedAccessPoint.getNetworkInfo() != null && in forget()
982 mSelectedAccessPoint.getNetworkInfo().getState() != State.DISCONNECTED) { in forget()
DWifiNoInternetDialog.java109 final NetworkInfo ni = mCM.getNetworkInfo(mNetwork); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiDetailActivity.java120 if (mAccessPoint.getNetworkInfo() != null && in forget()
121 mAccessPoint.getNetworkInfo().getState() != State.DISCONNECTED) { in forget()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java197 final NetworkInfo mmsNetworkInfo = mConnectivityManager.getNetworkInfo( in getApnName()
217 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); in onMmsConnectivityChange()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java293 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in run()
337 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in run()
738 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in checkConnectivity()
DSystemFacade.java36 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked); in getNetworkInfo() method
DRealSystemFacade.java58 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() method in RealSystemFacade
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DJobPreconditions.java31 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in isWifiConnected()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DWifiMonitor.java76 NetworkInfo networkInfo = cm.getNetworkInfo(network); in isConnected()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java87 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() method in FakeSystemFacade
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DJobPreconditionsTest.java115 when(mConnectivityManager.getNetworkInfo(any(Network.class))).thenAnswer( in hookUpMocks()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java291 final NetworkInfo mmsNetworkInfo = connectivityManager.getNetworkInfo(network); in getApnName()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java121 assertThat(accessPoint.getNetworkInfo()).isNotNull(); in setupConnectedAccessPoint()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java145 return mCM.getNetworkInfo(ConnectivityManager.TYPE_WIMAX) != null; in hasWimax()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DStatusFragment.java194 return mCM.getNetworkInfo(ConnectivityManager.TYPE_WIMAX) != null; in hasWimax()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java202 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java301 mNetworkInfo = mConnectivityManager.getNetworkInfo(mNetwork); in updateInfo()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java145 NetworkInfo info = connectivityManager.getNetworkInfo(mNetwork); in isRoaming()