Home
last modified time | relevance | path

Searched refs:mNetworkRequest (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOemWifiNetworkFactoryTest.java52 NetworkRequest mNetworkRequest; field in OemWifiNetworkFactoryTest
75 mNetworkRequest = new NetworkRequest.Builder() in setUp()
93 mNetworkRequest.networkCapabilities.addCapability( in testOemPaidHandleNetworkRequest()
96 mOemWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testOemPaidHandleNetworkRequest()
103 mOemWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testOemPaidHandleNetworkRequest()
112 mNetworkRequest.networkCapabilities.addCapability( in testHandleOemPaidNetworkRelease()
115 mOemWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleOemPaidNetworkRelease()
119 mOemWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleOemPaidNetworkRelease()
123 mOemWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleOemPaidNetworkRelease()
133 mNetworkRequest.networkCapabilities.addCapability( in testOemPrivateHandleNetworkRequest()
[all …]
DWifiNetworkFactoryTest.java193 NetworkRequest mNetworkRequest; field in WifiNetworkFactoryTest
328 mNetworkRequest = new NetworkRequest.Builder() in setUp()
362 mWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRequestWithNoSpecifier()
369 mWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRequestWithNoSpecifier()
379 mWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkReleaseWithNoSpecifier()
382 mWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkReleaseWithNoSpecifier()
386 mWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkReleaseWithNoSpecifier()
396 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest)); in testHandleAcceptNetworkRequestWithNoSpecifier()
406 mNetworkRequest = new NetworkRequest.Builder() in testHandleAcceptNetworkRequestFromWithUnsupportedSpecifier()
411 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest)); in testHandleAcceptNetworkRequestFromWithUnsupportedSpecifier()
[all …]
DUntrustedWifiNetworkFactoryTest.java44 NetworkRequest mNetworkRequest; field in UntrustedWifiNetworkFactoryTest
64 mNetworkRequest = new NetworkRequest.Builder() in setUp()
83 mUntrustedWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRequest()
90 mUntrustedWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRequest()
100 mUntrustedWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkRelease()
104 mUntrustedWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRelease()
108 mUntrustedWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkRelease()
DRestrictedWifiNetworkFactoryTest.java49 NetworkRequest mNetworkRequest; field in RestrictedWifiNetworkFactoryTest
69 mNetworkRequest = new NetworkRequest.Builder() in setUp()
88 mRestrictedWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRequest()
95 mRestrictedWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRequest()
105 mRestrictedWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkRelease()
110 mRestrictedWifiNetworkFactory.needNetworkFor(mNetworkRequest); in testHandleNetworkRelease()
114 mRestrictedWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkRelease()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRequestStateInfo.java31 private final NetworkRequest mNetworkRequest; field in NetworkRequestStateInfo
45 mNetworkRequest = networkRequest; in NetworkRequestStateInfo()
53 mNetworkRequest = new NetworkRequest(anotherNetworkRequestStateInfo.mNetworkRequest); in NetworkRequestStateInfo()
77 return mNetworkRequest.requestId; in getRequestId()
81 return mNetworkRequest.networkCapabilities.getRequestorUid(); in getPackageUid()
85 return (int) BitUtils.packBits(mNetworkRequest.networkCapabilities.getTransportTypes()); in getTransportTypes()
89 return mNetworkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getNetCapabilityNotMetered()
93 return mNetworkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in getNetCapabilityInternet()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataConnectivityListener.java31 private final NetworkRequest mNetworkRequest; field in DataConnectivityListener
42 mNetworkRequest = new NetworkRequest.Builder() in DataConnectivityListener()
48 mConnectivityManager.registerNetworkCallback(mNetworkRequest, this, in start()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java73 private final NetworkRequest mNetworkRequest; field in MmsNetworkManager
316 mNetworkRequest = builder.build(); in MmsNetworkManager()
452 mNetworkRequest, mNetworkCallback, networkRequestTimeoutMillis); in startNewNetworkRequestLocked()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProvider.java99 private final NetworkRequest mNetworkRequest = new NetworkRequest.Builder() field in WifiInfoProvider
178 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback, in onStart()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java334 private final NetworkRequest mNetworkRequest; field in WifiNetworkFactory.NetworkFactoryUserSelectionCallback
337 mNetworkRequest = networkRequest; in NetworkFactoryUserSelectionCallback()
348 if (mActiveSpecificNetworkRequest != mNetworkRequest) { in select()
359 if (mActiveSpecificNetworkRequest != mNetworkRequest) { in reject()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java190 private final NetworkRequest mNetworkRequest = new NetworkRequest.Builder() field in WifiDetailPreferenceController2
494 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback, in onResume()