Home
last modified time | relevance | path

Searched refs:mNetworkInfo (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgent.java119 private NetworkInfo mNetworkInfo; field in NetworkAgent
471 mNetworkInfo = new NetworkInfo(ni); in NetworkAgent()
861 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null /* reason */, in markConnected()
862 mNetworkInfo.getExtraInfo()); in markConnected()
863 queueOrSendNetworkInfo(mNetworkInfo); in markConnected()
874 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null /* reason */, in unregister()
876 queueOrSendNetworkInfo(mNetworkInfo); in unregister()
916 mNetworkInfo.setSubtype(legacySubtype, legacySubtypeName); in setLegacySubtype()
917 queueOrSendNetworkInfo(mNetworkInfo); in setLegacySubtype()
938 mNetworkInfo.setExtraInfo(extraInfo); in setLegacyExtraInfo()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiNoInternetDialogTest.java73 private NetworkInfo mNetworkInfo; field in WifiNoInternetDialogTest
243 when(mNetworkInfo.isConnectedOrConnecting()).thenReturn(false); in networkNotConnectedOrConnecting_shouldFinish()
263 when(mNetworkInfo.isConnectedOrConnecting()).thenReturn(true); in setupNetworkComponents()
266 .thenReturn(mNetworkInfo); in setupNetworkComponents()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DWfcActivationControllerTest.java63 @Mock private NetworkInfo mNetworkInfo; field in WfcActivationControllerTest
283 when(mNetworkInfo.isConnected()).thenReturn(isConnected); in setNetworkConnected()
286 when(mConnectivityManager.getActiveNetworkInfo()).thenReturn(mNetworkInfo); in setNetworkConnected()
287 when(mNetworkInfo.isConnected()).thenReturn(isConnected); in setNetworkConnected()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProvider.java96 private NetworkInfo mNetworkInfo; field in WifiInfoProvider
210 return mNetworkInfo; in getNetworkInfo()
263 mNetworkInfo = mConnectivityManager.getNetworkInfo(mNetwork); in updateInfo()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java148 @Mock NetworkInfo mNetworkInfo; field in NetworkNotificationManagerTest
158 mWifiNai.networkInfo = mNetworkInfo; in setUp()
160 mCellNai.networkInfo = mNetworkInfo; in setUp()
162 mVpnNai.networkInfo = mNetworkInfo; in setUp()
173 when(mNetworkInfo.getExtraInfo()).thenReturn(TEST_EXTRA_INFO); in setUp()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java165 private NetworkInfo mNetworkInfo; field in WifiDetailPreferenceController2
504 mNetworkInfo = mConnectivityManager.getNetworkInfo(mNetwork); in updateNetworkInfo()
510 mNetworkInfo = null; in updateNetworkInfo()