Home
last modified time | relevance | path

Searched defs:networkInfo (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfoTest.kt88 val networkInfo = NetworkInfo(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_LTE, in testConstructor() constant
111 val networkInfo = NetworkInfo(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_LTE, in testSetDetailedState() constant
DNetworkAgentTest.kt462 val networkInfo = mCM.getNetworkInfo(agent.network) in testSetSubtypeNameAndExtraInfoByAgentConfig() constant
489 val networkInfo = mCM.getNetworkInfo(agent.network) in testSetLegacySubtypeInNetworkAgent() constant
/packages/modules/Connectivity/framework/src/android/net/
DNetworkState.java38 public final NetworkInfo networkInfo; field in NetworkState
63 public NetworkState(@NonNull NetworkInfo networkInfo, @NonNull LinkProperties linkProperties, in NetworkState()
70 public NetworkState(int legacyNetworkType, @NonNull NetworkInfo networkInfo, in NetworkState()
DNetworkAgent.java947 public final void sendNetworkInfo(NetworkInfo networkInfo) { in sendNetworkInfo()
951 private void queueOrSendNetworkInfo(NetworkInfo networkInfo) { in queueOrSendNetworkInfo()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java228 final NetworkInfo networkInfo = in testGetActiveNetworkInfo() local
232 assertEquals(mUtils.getActiveNetworkInfo(mockContext), networkInfo); in testGetActiveNetworkInfo() local
437 NetworkInfo networkInfo = new NetworkInfo(type, 0, null, null); in setCurrentNetworkMock() local
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DJobPreconditions.java31 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in isWifiConnected() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DCaptivePortalWaitingState.java64 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in openCaptivePortalPage() local
DConnectState.java266 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getActiveWifiNetworkCapabilities() local
279 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getActiveWifiNetworkInfo() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DNetworkTypeLogger.java68 final NetworkInfo networkInfo = mUtils.getActiveNetworkInfo(mContext); in log() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pSettingsTest.java174 final NetworkInfo networkInfo = mock(NetworkInfo.class); in lastGroupForm_whenGroupFormInWifiP2pInfoIsFalse_beSetAsFalse() local
191 final NetworkInfo networkInfo = mock(NetworkInfo.class); in lastGroupForm_whenGroupFormInWifiP2pInfoIsTrue_beSetAsTrue() local
262 final NetworkInfo networkInfo = mock(NetworkInfo.class); in noLastGroupForm_whenP2pDisconnected_shouldStartSearch() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java293 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet() local
371 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in updateConnectivityStatus() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java40 NetworkInfo networkInfo = new NetworkInfo(0, 0, "", ""); in sendNetworkStateChanged() local
DClientModeImplTest.java760 NetworkInfo networkInfo = intent.getParcelableExtra(WifiManager.EXTRA_NETWORK_INFO); in matches() local
5709 NetworkInfo networkInfo = (NetworkInfo) intent.getExtra(WifiManager.EXTRA_NETWORK_INFO); in testRoamAfterConnectDoesNotChangeNetworkInfoInNetworkStateChangeBroadcast() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java90 NetworkInfo networkInfo = in connect() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestClient.java148 NetworkInfo networkInfo = getActiveNetworkInfo(); in isNetworkConnected() local
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DLocationHelper.java247 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected() local
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java164 final NetworkInfo networkInfo = cm.getActiveNetworkInfo(); in checkNetworkStatus() local
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java296 private void handleNetworkStateChanged(NetworkInfo networkInfo) { in handleNetworkStateChanged()
DWifiDialogActivity.java288 NetworkInfo networkInfo = accessPoint.getNetworkInfo(); in onSubmit() local
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java315 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in lookupAddress() local
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java619 NetworkInfo networkInfo = null; in onReceive() local
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java149 @NonNull public NetworkInfo networkInfo; field in NetworkAgentInfo
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java519 final NetworkInfo networkInfo = getActiveNetworkInfo(context); in isNetworkTypeConnected() local
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java435 final String networkInfo = parts[4]; in checkForAvailabilityInResultData() local
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java823 void onNetworkInfoAvailable(@NonNull NetworkInfo networkInfo); in onNetworkInfoAvailable()

12