Home
last modified time | relevance | path

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

12

/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.java1125 public final void sendNetworkInfo(NetworkInfo networkInfo) { in sendNetworkInfo()
1129 private void queueOrSendNetworkInfo(NetworkInfo networkInfo) { in queueOrSendNetworkInfo()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfoTest.kt92 val networkInfo = NetworkInfo(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_LTE, in testConstructor() constant
121 val networkInfo = NetworkInfo(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_LTE, in testSetDetailedState() constant
DNetworkAgentTest.kt421 val networkInfo = mCM.getNetworkInfo(agent.network) in testSetSubtypeNameAndExtraInfoByAgentConfig() constant
446 val networkInfo = mCM.getNetworkInfo(agent.network!!)!! in testSetLegacySubtypeInNetworkAgent() constant
DNetworkStatsManagerTest.java217 NetworkInfo networkInfo = mCm.getNetworkInfo(network); in exerciseRemoteHost() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSActiveNetworkInfoTest.kt62 val networkInfo = cm.activeNetworkInfo in nc() constant
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java230 final NetworkInfo networkInfo = in testGetActiveNetworkInfo() local
234 assertEquals(mUtils.getActiveNetworkInfo(mockContext), networkInfo); in testGetActiveNetworkInfo() local
439 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/modules/Connectivity/tests/cts/hostside-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/
DCommon.java94 NetworkInfo networkInfo) { in createNetworkCheckResult()
209 final NetworkInfo networkInfo = cm.getActiveNetworkInfo(); in checkNetworkStatus() 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.java200 final NetworkInfo networkInfo = mock(NetworkInfo.class); in lastGroupForm_whenGroupFormInWifiP2pInfoIsFalse_beSetAsFalse() local
217 final NetworkInfo networkInfo = mock(NetworkInfo.class); in lastGroupForm_whenGroupFormInWifiP2pInfoIsTrue_beSetAsTrue() local
288 final NetworkInfo networkInfo = mock(NetworkInfo.class); in noLastGroupForm_whenP2pDisconnected_shouldStartSearch() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java295 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet() local
392 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in updateConnectivityStatus() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DConnectivityListener.java326 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet() local
422 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
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java90 NetworkInfo networkInfo = in connect() local
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/snippet/
DWifiP2pManagerSnippet.java154 NetworkInfo networkInfo = intent.getParcelableExtra( in onReceive() local
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DLocationHelper.java247 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected() local
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java298 private void handleNetworkStateChanged(NetworkInfo networkInfo) { in handleNetworkStateChanged()
DWifiDialogActivity.java320 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.java622 NetworkInfo networkInfo = null; in onReceive() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java513 final NetworkInfo networkInfo = getActiveNetworkInfo(context); in isNetworkTypeConnected() local
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java170 @NonNull public NetworkInfo networkInfo; field in NetworkAgentInfo
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java544 final NetworkInfo networkInfo = networkCheckResult.networkInfo; in checkForAvailabilityInNetworkCheckResult() local
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java1032 TargetNetworkInfo networkInfo = new TargetNetworkInfo(); in UserActionEventWithTime() local
1094 TargetNetworkInfo networkInfo = mUserActionEvent.targetNetworkInfo; in toString() local

12