/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImplTest.java | 110 when(mMockConnectivityManager.getNetworkInfo(any(Network.class))) in setUp() 133 assertThat(mWifiInfoProviderImpl.getNetworkInfo()).isNotNull(); in onStart_allFieldsInitialized() 176 assertThat(mWifiInfoProviderImpl.getNetworkInfo()).isEqualTo(mMockNetworkInfo); in networkStateChangedIntent_shouldRefetchInfo() 179 when(mMockConnectivityManager.getNetworkInfo(any(Network.class))) in networkStateChangedIntent_shouldRefetchInfo() 186 assertThat(mWifiInfoProviderImpl.getNetworkInfo()).isEqualTo(mMockNetworkInfo2); in networkStateChangedIntent_shouldRefetchInfo() 195 assertThat(mWifiInfoProviderImpl.getNetworkInfo()).isEqualTo(mMockNetworkInfo); in rssiChangedIntent_shouldRefetchInfo() 198 when(mMockConnectivityManager.getNetworkInfo(any(Network.class))) in rssiChangedIntent_shouldRefetchInfo() 205 assertThat(mWifiInfoProviderImpl.getNetworkInfo()).isEqualTo(mMockNetworkInfo2); in rssiChangedIntent_shouldRefetchInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 267 when(mockConnectivityManager.getNetworkInfo(any(Network.class))) in setUp() 438 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class)); in latestNetworkInfo_shouldBeFetchedInDisplayPreferenceForConnectedNetwork() 447 verify(mockConnectivityManager, never()).getNetworkInfo(any(Network.class)); in latestNetworkInfo_shouldNotBeFetchedInDisplayPreferenceForDisconnectedNetwork() 456 verify(mockConnectivityManager, never()).getNetworkInfo(any(Network.class)); in latestNetworkInfo_shouldNotBeFetchedInDisplayPreferenceForNotInRangeNetwork() 1176 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class)); in networkStateChangedIntent_shouldRefetchInfo() 1181 verify(mockConnectivityManager, times(2)).getNetworkInfo(any(Network.class)); in networkStateChangedIntent_shouldRefetchInfo() 1191 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class)); in networkStateChangedIntent_shouldRefetchInfoForConnectedNetwork() 1196 verify(mockConnectivityManager, times(2)).getNetworkInfo(any(Network.class)); in networkStateChangedIntent_shouldRefetchInfoForConnectedNetwork() 1206 verify(mockConnectivityManager, times(1)).getNetworkInfo(any(Network.class)); in rssiChangedIntent_shouldRefetchInfo() 1211 verify(mockConnectivityManager, times(2)).getNetworkInfo(any(Network.class)); in rssiChangedIntent_shouldRefetchInfo() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiDialogActivity.java | 104 if (accessPoint.getNetworkInfo() != null && in onForget() 105 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget() 143 NetworkInfo networkInfo = accessPoint.getNetworkInfo(); in onSubmit()
|
D | WifiSettings.java | 319 NetworkInfo info = connectivity.getNetworkInfo( in onActivityCreated() 1065 if (mSelectedAccessPoint.getNetworkInfo() != null && in forget() 1066 mSelectedAccessPoint.getNetworkInfo().getState() != State.DISCONNECTED) { in forget()
|
D | WifiNoInternetDialog.java | 112 final NetworkInfo ni = mCM.getNetworkInfo(mNetwork); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 112 if (accessPoint.getNetworkInfo() != null && in onForget() 113 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget() 151 NetworkInfo networkInfo = accessPoint.getNetworkInfo(); in onSubmit()
|
D | WifiSettings.java | 320 NetworkInfo info = connectivity.getNetworkInfo( in onActivityCreated() 1096 if (mSelectedAccessPoint.getNetworkInfo() != null && in forget() 1097 mSelectedAccessPoint.getNetworkInfo().getState() != State.DISCONNECTED) { in forget()
|
D | WifiNoInternetDialog.java | 113 final NetworkInfo ni = mCM.getNetworkInfo(mNetwork); in onCreate()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 197 final NetworkInfo mmsNetworkInfo = mConnectivityManager.getNetworkInfo( in getApnName() 217 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); in onMmsConnectivityChange()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImpl.java | 212 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in WifiInfoProviderImpl 248 mNetworkInfo = mConnectivityManager.getNetworkInfo(mNetwork); in updateInfo()
|
D | WifiInfoProvider.java | 81 NetworkInfo getNetworkInfo(); in getNetworkInfo() method
|
D | WifiDetailsFragment.java | 218 || mWifiInfoProvider.getNetworkInfo() == null in updateUi()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiUtil.java | 212 if (accessPoint.getNetworkInfo() != null in forget() 213 && accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in forget()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 299 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in run() 343 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in run() 720 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, mIgnoreBlocked); in checkConnectivity()
|
D | SystemFacade.java | 40 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked); in getNetworkInfo() method
|
D | RealSystemFacade.java | 60 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() method in RealSystemFacade
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | JobPreconditions.java | 31 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in isWifiConnected()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/ |
D | WifiSlice.java | 218 final NetworkInfo.State state = accessPoint.getNetworkInfo().getState(); in getAccessPointLevelIcon() 369 final NetworkInfo networkInfo = accessPoint.getNetworkInfo(); in getSummary()
|
D | WifiScanWorker.java | 142 final NetworkInfo networkInfo = accessPoint.getNetworkInfo(); in getState()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | JobPreconditionsTest.java | 113 when(mConnectivityManager.getNetworkInfo(any(Network.class))).thenAnswer( in hookUpMocks()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | FakeSystemFacade.java | 96 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() method in FakeSystemFacade
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 315 final NetworkInfo mmsNetworkInfo = connectivityManager.getNetworkInfo(network); in getApnName()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkListFragmentTest.java | 153 assertThat(accessPoint.getNetworkInfo()).isNotNull(); in setupConnectedAccessPoint()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 235 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 147 doReturn(networkInfo).when(accessPoint).getNetworkInfo(); in createAccessPoint()
|