Searched refs:mNetworkRequests (Results 1 – 5 of 5) sorted by relevance
100 private final SparseArray<NetworkRequestInfo> mNetworkRequests = field in NetworkFactory174 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleAddRequest()178 mNetworkRequests.put(n.request.requestId, n); in handleAddRequest()190 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleRemoveRequest()192 mNetworkRequests.remove(request.requestId); in handleRemoveRequest()250 for (int i = 0; i < mNetworkRequests.size(); i++) { in evalRequests()251 NetworkRequestInfo n = mNetworkRequests.valueAt(i); in evalRequests()300 return mNetworkRequests.size(); in getRequestCount()311 for (int i = 0; i < mNetworkRequests.size(); i++) { in dump()312 pw.println(mNetworkRequests.valueAt(i)); in dump()[all …]
403 private final ArrayList<NetworkRequest> mNetworkRequests = new ArrayList<>(); field in ApnContext416 if (mLocalLogs.contains(log) || mNetworkRequests.contains(networkRequest)) { in requestNetwork()417 log.log("ApnContext.requestNetwork has duplicate add - " + mNetworkRequests.size()); in requestNetwork()420 mNetworkRequests.add(networkRequest); in requestNetwork()433 if (mNetworkRequests.contains(networkRequest) == false) { in releaseNetwork()437 mNetworkRequests.remove(networkRequest); in releaseNetwork()438 log.log("ApnContext.releaseNetwork left with " + mNetworkRequests.size() + in releaseNetwork()440 if (mNetworkRequests.size() == 0) { in releaseNetwork()449 return new ArrayList<NetworkRequest>(mNetworkRequests); in getNetworkRequests()455 for (NetworkRequest nr : mNetworkRequests) { in hasNoRestrictedRequests()[all …]
228 private final SparseArray<NetworkRequest> mNetworkRequests = new SparseArray<>(); field in NetworkAgentInfo313 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId); in addRequest()322 mNetworkRequests.put(networkRequest.requestId, networkRequest); in addRequest()331 NetworkRequest existing = mNetworkRequests.get(requestId); in removeRequest()334 mNetworkRequests.remove(requestId); in removeRequest()344 return mNetworkRequests.get(id) != null; in isSatisfyingRequest()352 return mNetworkRequests.valueAt(index); in requestAt()382 return mNetworkRequests.size(); in numNetworkRequests()
195 return mNetworkRequests.get(request).isRequest; in isRequest()204 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in handleAsyncChannelHalfConnect()326 private final HashMap<NetworkRequest, NetworkRequestInfo> mNetworkRequests = field in ConnectivityServiceMock803 mNetworkRequests.put(nri.request, nri); in handleRegisterNetworkRequest()818 NetworkRequestInfo nri = mNetworkRequests.get(request); in handleReleaseNetworkRequest()822 mNetworkRequests.remove(request); in handleReleaseNetworkRequest()
759 mNetworkRequests.put(mDefaultRequest, defaultNRI); in ConnectivityService()974 final boolean isEnabled = (mNetworkRequests.get(mDefaultMobileDataRequest) != null); in handleMobileDataAlwaysOn()2075 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in doDump()2413 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in handleAsyncChannelHalfConnect()2551 for (Map.Entry<NetworkRequest, NetworkRequestInfo> entry : mNetworkRequests.entrySet()) { in findExistingNetworkRequestInfo()2574 mNetworkRequests.put(nri.request, nri); in handleRegisterNetworkRequest()2623 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in unneeded()2650 final NetworkRequestInfo nri = mNetworkRequests.get(request); in getNriForAppRequest()2664 if (mNetworkRequests.get(nri.request) == null) { in handleTimedOutNetworkRequest()2691 mNetworkRequests.remove(nri.request); in handleRemoveNetworkRequest()[all …]