Home
last modified time | relevance | path

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

/frameworks/libs/net/common/device/android/net/
DNetworkFactory.java99 private final Map<NetworkRequest, NetworkRequestInfo> mNetworkRequests = field in NetworkFactory
207 NetworkRequestInfo n = mNetworkRequests.get(request); in handleAddRequest()
214 mNetworkRequests.put(n.request, n); in handleAddRequest()
230 NetworkRequestInfo n = mNetworkRequests.get(request); in handleRemoveRequest()
232 mNetworkRequests.remove(request); in handleRemoveRequest()
322 for (NetworkRequestInfo n : mNetworkRequests.values()) { in evalRequests()
379 return mNetworkRequests.size(); in getRequestCount()
397 for (NetworkRequestInfo n : mNetworkRequests.values()) { in dump()
407 + mNetworkRequests.size() + ", refCount=" + mRefCount in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java406 private final ArrayList<NetworkRequest> mNetworkRequests = new ArrayList<>(); field in ApnContext
418 mNetworkRequests.add(networkRequest); in requestNetwork()
433 if (mNetworkRequests.contains(networkRequest) == false) { in releaseNetwork()
436 mNetworkRequests.remove(networkRequest); in releaseNetwork()
442 logl("releaseNetwork left with " + mNetworkRequests.size() in releaseNetwork()
444 if (mNetworkRequests.size() == 0 in releaseNetwork()
459 for (NetworkRequest nr : mNetworkRequests) { in hasRestrictedRequests()
615 return new ArrayList<NetworkRequest>(mNetworkRequests); in getNetworkRequests()
643 if (mNetworkRequests.size() > 0) { in dump()
646 for (NetworkRequest nr : mNetworkRequests) { in dump()
DTelephonyNetworkFactory.java78 private final Map<NetworkRequest, Integer> mNetworkRequests = new HashMap<>(); field in TelephonyNetworkFactory
244 for (HashMap.Entry<NetworkRequest, Integer> entry : mNetworkRequests.entrySet()) { in onActivePhoneSwitch()
265 mNetworkRequests.put(networkRequest, in onActivePhoneSwitch()
294 mNetworkRequests.put(networkRequest, shouldApply in onNeedNetworkFor()
315 boolean applied = mNetworkRequests.get(networkRequest) in onReleaseNetworkFor()
318 mNetworkRequests.remove(networkRequest); in onReleaseNetworkFor()
340 for (HashMap.Entry<NetworkRequest, Integer> entry : mNetworkRequests.entrySet()) { in onDataHandoverNeeded()
416 mNetworkRequests.put(networkRequest, targetTransport); in onDataHandoverSetupCompleted()
435 for (HashMap.Entry<NetworkRequest, Integer> entry : mNetworkRequests.entrySet()) { in dump()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java242 private final SparseArray<NetworkRequest> mNetworkRequests = new SparseArray<>(); field in NetworkAgentInfo
380 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId); in addRequest()
389 mNetworkRequests.put(networkRequest.requestId, networkRequest); in addRequest()
398 NetworkRequest existing = mNetworkRequests.get(requestId); in removeRequest()
401 mNetworkRequests.remove(requestId); in removeRequest()
411 return mNetworkRequests.get(id) != null; in isSatisfyingRequest()
419 return mNetworkRequests.valueAt(index); in requestAt()
449 return mNetworkRequests.size(); in numNetworkRequests()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java980 mNetworkRequests.put(mDefaultRequest, defaultNRI); in ConnectivityService()
1211 final boolean isEnabled = (mNetworkRequests.get(networkRequest) != null); in handleAlwaysOnNetworkRequest()
2679 requests = mNetworkRequests.values().toArray(requests); in requestsSortedById()
3352 final NetworkRequestInfo nri = mNetworkRequests.get(request); in disconnectAndDestroyNetwork()
3423 for (Map.Entry<NetworkRequest, NetworkRequestInfo> entry : mNetworkRequests.entrySet()) { in findExistingNetworkRequestInfo()
3448 mNetworkRequests.put(nri.request, nri); in handleRegisterNetworkRequest()
3498 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in unneeded()
3525 final NetworkRequestInfo nri = mNetworkRequests.get(request); in getNriForAppRequest()
3541 if (mNetworkRequests.get(nri.request) == null) { in handleTimedOutNetworkRequest()
3574 mNetworkRequests.remove(nri.request); in handleRemoveNetworkRequest()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java877 private SparseArray<NetworkRequest> mNetworkRequests = new SparseArray<>(); field in ConnectivityServiceTest.MockNetworkFactory
931 mNetworkRequests.put(request.requestId, request); in handleAddRequest()
949 mNetworkRequests.remove(request.requestId); in handleRemoveRequest()
1003 return mNetworkRequests; in waitForNetworkRequests()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44428 Landroid/net/NetworkFactory;->mNetworkRequests:Landroid/util/SparseArray;