Home
last modified time | relevance | path

Searched refs:mNetworkRequests (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/android/net/
DNetworkFactoryLegacyImpl.java104 private final Map<NetworkRequest, NetworkRequestInfo> mNetworkRequests = field in NetworkFactoryLegacyImpl
212 NetworkRequestInfo n = mNetworkRequests.get(request); in handleAddRequest()
219 mNetworkRequests.put(n.request, n); in handleAddRequest()
234 NetworkRequestInfo n = mNetworkRequests.get(request); in handleRemoveRequest()
236 mNetworkRequests.remove(request); in handleRemoveRequest()
326 for (NetworkRequestInfo n : mNetworkRequests.values()) { in evalRequests()
373 return mNetworkRequests.size(); in getRequestCount()
387 for (NetworkRequestInfo n : mNetworkRequests.values()) { in dump()
395 + ", requests=" + mNetworkRequests.size(); in toString()
DNetworkFactoryImpl.java109 private final Map<NetworkRequest, NetworkRequestInfo> mNetworkRequests = field in NetworkFactoryImpl
238 NetworkRequestInfo n = mNetworkRequests.get(request); in handleAddRequest()
242 mNetworkRequests.put(n.request, n); in handleAddRequest()
255 NetworkRequestInfo n = mNetworkRequests.get(request); in handleRemoveRequest()
257 mNetworkRequests.remove(request); in handleRemoveRequest()
307 return mNetworkRequests.size(); in getRequestCount()
312 for (NetworkRequestInfo n : mNetworkRequests.values()) { in dump()
320 + ", requests=" + mNetworkRequests.size(); in toString()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java597 private final SparseArray<NetworkRequest> mNetworkRequests = new SparseArray<>(); field in NetworkAgentInfo
1146 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId); in addRequest()
1155 mNetworkRequests.put(networkRequest.requestId, networkRequest); in addRequest()
1169 NetworkRequest existing = mNetworkRequests.get(requestId); in removeRequest()
1172 mNetworkRequests.remove(requestId); in removeRequest()
1182 return mNetworkRequests.get(id) != null; in isSatisfyingRequest()
1195 return mNetworkRequests.valueAt(index); in requestAt()
1230 return mNetworkRequests.size(); in numNetworkRequests()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1795 mNetworkRequests.put(defaultInternetRequest, mDefaultRequest);
2201 final boolean isEnabled = (mNetworkRequests.get(networkRequest) != null);
2667 builder.setNetworkRequestCount(sampleNetworkRequestCount(mNetworkRequests.values()));
5392 handleRemoveNetworkRequest(mNetworkRequests.get(selector));
5422 final NetworkRequestInfo nri = mNetworkRequests.get(request);
5510 final NetworkRequestInfo nri = mNetworkRequests.get(selector);
5530 final NetworkRequestInfo nri = mNetworkRequests.get(selector);
5626 for (Map.Entry<NetworkRequest, NetworkRequestInfo> entry : mNetworkRequests.entrySet()) {
5638 for (final NetworkRequestInfo n : mNetworkRequests.values()) {
5693 mNetworkRequests.put(req, nri);
[all …]
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt728 Landroid/net/NetworkFactory;->mNetworkRequests:Landroid/util/SparseArray;
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1450 private SparseArray<NetworkRequest> mNetworkRequests = new SparseArray<>(); field in ConnectivityServiceTest.MockNetworkFactory
1478 mNetworkRequests.put(request.requestId, request); in needNetworkFor()
1485 mNetworkRequests.remove(request.requestId); in releaseNetworkFor()