Home
last modified time | relevance | path

Searched refs:mNetwork (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java74 private final NetworkAgentInfo mNetwork; field in Nat464Xlat
94 mNetwork = nai; in Nat464Xlat()
175 Slog.e(TAG, "Can't register interface observer for clat on " + mNetwork.name()); in enterStartingState()
215 if (requiresClat(mNetwork)) { in leaveStartedState()
230 if (mNetwork.linkProperties == null) { in start()
235 String baseIface = mNetwork.linkProperties.getInterfaceName(); in start()
268 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in stop()
270 mNetwork.connService().handleUpdateLinkProperties(mNetwork, lp); in stop()
296 if (requiresClat(mNetwork)) { in update()
299 } else if (shouldStartClat(mNetwork)) { in update()
[all …]
DNetworkDiagnostics.java101 private final Network mNetwork; field in NetworkDiagnostics
170 mNetwork = network; in NetworkDiagnostics()
212 + " network{" + mNetwork + "}" in NetworkDiagnostics()
213 + " nethandle{" + mNetwork.getNetworkHandle() + "}"; in NetworkDiagnostics()
398 mNetwork.bindSocket(mFileDescriptor); in setupSocket()
/frameworks/base/core/java/android/net/
DIpSecConfig.java43 private Network mNetwork; field in IpSecConfig
112 mNetwork = network; in setNetwork()
185 return mNetwork; in getNetwork()
228 out.writeParcelable(mNetwork, flags); in writeToParcel()
251 mNetwork = c.mNetwork; in IpSecConfig()
269 mNetwork = (Network) in.readParcelable(Network.class.getClassLoader()); in IpSecConfig()
297 .append(mNetwork) in toString()
343 && ((lhs.mNetwork != null && lhs.mNetwork.equals(rhs.mNetwork)) in equals()
344 || (lhs.mNetwork == rhs.mNetwork)) in equals()
DTcpSocketKeepalive.java58 mService.startTcpKeepalive(mNetwork, fd, intervalSec, mCallback); in startImpl()
71 mService.stopKeepalive(mNetwork, mSlot); in stopImpl()
DNattSocketKeepalive.java54 mService.startNattKeepaliveWithFd(mNetwork, mPfd.getFileDescriptor(), mResourceId, in startImpl()
69 mService.stopKeepalive(mNetwork, mSlot); in stopImpl()
DSocketKeepalive.java162 @NonNull final Network mNetwork; field in SocketKeepalive
173 mNetwork = network; in SocketKeepalive()
DDnsResolver.java251 private final Network mNetwork; field in DnsResolver.InetAddressAnswerAccumulator
260 mNetwork = network; in InetAddressAnswerAccumulator()
281 mUserCallback.onAnswer(rfc6724Sort(mNetwork, mAllAnswers), mRcode); in maybeReportAnswer()
DConnectivityManager.java1823 private final Network mNetwork; field in ConnectivityManager.PacketKeepalive
1835 mService.stopKeepalive(mNetwork, mSlot); in stop()
1850 mNetwork = network; in PacketKeepalive()
/frameworks/base/tests/net/common/java/android/net/
DNetworkTest.java48 final Network mNetwork = new Network(99); field in NetworkTest
57 mNetwork.bindSocket(fd); in testBindSocketOfInvalidFdThrows()
72 mNetwork.bindSocket(fis.getFD()); in testBindSocketOfNonSocketFdThrows()
85 mNetwork.bindSocket(mDgramSocket); in testBindSocketOfConnectedDatagramSocketThrows()
97 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows()
106 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows()
163 final Network copy = mNetwork.getPrivateDnsBypassingCopy(); in testGetPrivateDnsBypassingCopy()
164 assertEquals(mNetwork.netId, copy.netId); in testGetPrivateDnsBypassingCopy()
166 assertNotEqual(mNetwork.getNetIdForResolv(), copy.getNetIdForResolv()); in testGetPrivateDnsBypassingCopy()
/frameworks/base/services/net/java/android/net/shared/
DProvisioningConfiguration.java175 mConfig.mNetwork = network; in withNetwork()
205 public Network mNetwork = null; field in ProvisioningConfiguration
223 mNetwork = other.mNetwork; in ProvisioningConfiguration()
244 p.network = mNetwork; in toStableParcelable()
268 config.mNetwork = p.network; in fromStableParcelable()
286 .add("mNetwork: " + mNetwork) in toString()
305 && Objects.equals(mNetwork, other.mNetwork) in equals()
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java72 private Network mNetwork; field in SntpClientTest
77 mNetwork = new Network(ConnectivityManager.NETID_UNSET); in setUp()
85 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testBasicWorkingSntpClientQuery() local
92 assertFalse(mClient.requestTime("ntp.server.doesnotexist.example", 5000, mNetwork)); in testDnsResolutionFailure()
98 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure() local
108 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync() local
122 mNetwork); in testAcceptOnlyServerAndBroadcastModes()
148 mNetwork); in testAcceptableStrataOnly()
164 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testZeroTransmitTime() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsTransport.java32 private Network mNetwork; field in HttpsTransport
38 mNetwork = network; in HttpsTransport()
56 mServiceConnection = new HttpsServiceConnection(mNetwork, mUrl); in getServiceConnection()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DHttpsTransportTest.java46 @Mock Network mNetwork; field in HttpsTransportTest
56 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
57 mHttpsTransport = HttpsTransport.createInstance(mNetwork, mUrl); in setUp()
DHttpsServiceConnectionTest.java57 @Mock Network mNetwork; field in HttpsServiceConnectionTest
70 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
71 mHttpsServiceConnection = new HttpsServiceConnection(mNetwork, mUrl); in setUp()
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java59 private Network mNetwork; field in OsuLoginActivity
89 mNetwork = getIntent().getParcelableExtra(WifiManager.EXTRA_OSU_NETWORK); in onCreate()
90 if (mNetwork == null) { in onCreate()
118 if (!mCm.bindProcessToNetwork(mNetwork)) { in onCreate()
124 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate()
149 if (mNetwork.equals(network)) { in onCreate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java53 private Network mNetwork = null; field in OsuNetworkConnection
143 mNetwork = null; in disconnectIfNeeded()
251 mNetwork = network; in onAvailable()
261 if (mNetwork == null) { in onLinkPropertiesChanged()
287 if (network != mNetwork) { in onLost()
DOsuServerConnection.java76 private Network mNetwork; field in OsuServerConnection
221 if (mNetwork == null) { in exchangeSoapMessage()
252 if (mNetwork == null) { in retrieveTrustRootCerts()
271 mNetwork = network; in performTlsConnection()
276 urlConnection = (HttpsURLConnection) mNetwork.openConnection(mUrl); in performTlsConnection()
300 mServiceConnection = getServiceConnection(mUrl, mNetwork); in performSoapMessageExchange()
424 mServiceConnection = getServiceConnection(serverUrl, mNetwork); in getCert()
DPasspointProvisioner.java183 private Network mNetwork; field in PasspointProvisioner.ProvisioningStateMachine
653 mNetwork = null; in handleDisconnect()
671 mNetwork = network; in initiateServerConnection()
784 intent.putExtra(WifiManager.EXTRA_OSU_NETWORK, mNetwork); in launchOsuWebView()
/frameworks/base/tests/net/java/android/net/shared/
DProvisioningConfigurationTest.java67 mConfig.mNetwork = new Network(321); in setUp()
98 mConfig.mNetwork = null; in testParcelUnparcel_NullNetwork()
127 assertNotEqualsAfterChange(c -> c.mNetwork = new Network(123)); in testEquals()
128 assertNotEqualsAfterChange(c -> c.mNetwork = null); in testEquals()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java72 private NetworkStateBroadcastReceiver mNetwork; field in TrackerService
150 mNetwork = new NetworkStateBroadcastReceiver(); in initLocationListeners()
157 registerReceiver(mNetwork, mIntentFilter); in initLocationListeners()
256 if (mNetwork != null) { in stopListeners()
257 unregisterReceiver(mNetwork); in stopListeners()
259 mNetwork = null; in stopListeners()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java79 private Network mNetwork; field in CaptivePortalLoginActivity
142 if (mNetwork.equals(mCm.getActiveNetwork())) break; in onDestroy()
167 mNetwork = network; in setNetwork()
245 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal()
329 mNetwork = null; in releaseNetworkRequest()
366 if (mNetwork != null) { in onPageStarted()
385 if (mNetwork != null) { in onPageFinished()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java101 @Mock Network mNetwork; field in OsuServerConnectionTest
120 when(mNetwork.openConnection(any(URL.class))).thenReturn(mUrlConnection); in setUp()
182 doThrow(new IOException()).when(mNetwork).openConnection(any(URL.class)); in verifyInitAndNetworkOpenURLConnectionFailed()
188 assertTrue(mOsuServerConnection.connect(mValidServerUrl, mNetwork)); in verifyInitAndNetworkOpenURLConnectionFailed()
206 assertTrue(mOsuServerConnection.connect(mValidServerUrl, mNetwork)); in verifyInitAndServerConnectFailure()
484 assertTrue(mOsuServerConnection.connect(mValidServerUrl, mNetwork)); in establishServerConnection()
DPasspointProvisionerTest.java179 @Mock Network mNetwork; field in PasspointProvisionerTest
328 mOsuNetworkCallbacks.onConnected(mNetwork); in stopAfterStep()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3513 private final Network mNetwork; field in ConnectivityService.CaptivePortalImpl
3516 mNetwork = network; in CaptivePortalImpl()
3526 final NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(mNetwork); in appResponse()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45735 Landroid/net/ConnectivityManager$PacketKeepalive;->mNetwork:Landroid/net/Network;
46810 Landroid/net/IpSecConfig;->mNetwork:Landroid/net/Network;