Searched refs:mNetworkRequests (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/staticlibs/device/android/net/ |
D | NetworkFactoryLegacyImpl.java | 104 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()
|
D | NetworkFactoryImpl.java | 109 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/ |
D | NetworkAgentInfo.java | 597 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/ |
D | ConnectivityService.java | 1795 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/ |
D | hiddenapi-max-target-o-low-priority.txt | 728 Landroid/net/NetworkFactory;->mNetworkRequests:Landroid/util/SparseArray;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1450 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()
|