Home
last modified time | relevance | path

Searched refs:mDefaultRequest (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java90 private static final NetworkRequest mDefaultRequest = new NetworkRequest.Builder().build(); field in UpstreamNetworkMonitorTest
143 mUNM.startTrackDefaultNetwork(mDefaultRequest, mEntitleMgr); in testDefaultNetworkIsTracked()
156 mUNM.startTrackDefaultNetwork(mDefaultRequest, mEntitleMgr); in testListensForAllNetworks()
167 mUNM.startTrackDefaultNetwork(mDefaultRequest, mEntitleMgr); in testCallbacksRegistered()
169 eq(mDefaultRequest), any(NetworkCallback.class), any(Handler.class)); in testCallbacksRegistered()
290 mUNM.startTrackDefaultNetwork(mDefaultRequest, mEntitleMgr); in testSelectPreferredUpstreamType()
372 mUNM.startTrackDefaultNetwork(mDefaultRequest, mEntitleMgr); in testGetCurrentPreferredUpstream()
421 mUNM.startTrackDefaultNetwork(mDefaultRequest, mEntitleMgr); in testLocalPrefixes()
528 mUNM.startTrackDefaultNetwork(mDefaultRequest, mEntitleMgr); in testSelectMobileWhenMobileIsNotDefault()
633 if (mDefaultRequest.equals(req)) { in requestNetwork()
/frameworks/base/core/proto/android/net/
Dnetworkrequest.proto45 // (mDefaultRequest), but which cannot cause the framework to either
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java852 mDefaultRequest = createDefaultInternetRequestForTransport(-1, NetworkRequest.Type.REQUEST); in ConnectivityService()
853 NetworkRequestInfo defaultNRI = new NetworkRequestInfo(null, mDefaultRequest, new Binder()); in ConnectivityService()
854 mNetworkRequests.put(mDefaultRequest, defaultNRI); in ConnectivityService()
1051 return mDefaultRequest; in makeTethering()
1790 if (nai != null && nai.satisfies(mDefaultRequest)) {
3052 if (nai.isSatisfyingRequest(mDefaultRequest.requestId)) { in disconnectAndDestroyNetwork()
3736 return mDefaultRequest; in getDefaultRequest()
5380 private final NetworkRequest mDefaultRequest; field in ConnectivityService
5409 return getNetworkForRequest(mDefaultRequest.requestId); in getDefaultNetwork()
5431 return nri.request.requestId == mDefaultRequest.requestId; in isDefaultRequest()
[all …]