Home
last modified time | relevance | path

Searched refs:NetworkRequestInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkFactory.java100 private final SparseArray<NetworkRequestInfo> mNetworkRequests =
101 new SparseArray<NetworkRequestInfo>();
155 private class NetworkRequestInfo { class in NetworkFactory
160 public NetworkRequestInfo(NetworkRequest request, int score) { in NetworkRequestInfo() method in NetworkFactory.NetworkRequestInfo
174 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleAddRequest()
177 n = new NetworkRequestInfo(request, score); in handleAddRequest()
190 NetworkRequestInfo n = mNetworkRequests.get(request.requestId); in handleRemoveRequest()
230 private void evalRequest(NetworkRequestInfo n) { in evalRequest()
251 NetworkRequestInfo n = mNetworkRequests.valueAt(i); in evalRequests()
283 new NetworkRequestInfo(networkRequest, score))); in addNetworkRequest()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java157 handleRegisterNetworkRequest((NetworkRequestInfo) msg.obj); in handleMessage()
204 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in handleAsyncChannelHalfConnect()
326 private final HashMap<NetworkRequest, NetworkRequestInfo> mNetworkRequests =
327 new HashMap<NetworkRequest, NetworkRequestInfo>();
341 private class NetworkRequestInfo implements IBinder.DeathRecipient { class in ConnectivityServiceMock
354 NetworkRequestInfo(NetworkRequest r, PendingIntent pi, boolean isRequest) { in NetworkRequestInfo() method in ConnectivityServiceMock.NetworkRequestInfo
364 NetworkRequestInfo(Messenger m, NetworkRequest r, IBinder binder, boolean isRequest) { in NetworkRequestInfo() method in ConnectivityServiceMock.NetworkRequestInfo
700 NetworkRequestInfo nri = new NetworkRequestInfo(messenger, networkRequest, binder, true); in requestNetwork()
802 private void handleRegisterNetworkRequest(NetworkRequestInfo nri) { in handleRegisterNetworkRequest()
818 NetworkRequestInfo nri = mNetworkRequests.get(request); in handleReleaseNetworkRequest()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java758 NetworkRequestInfo defaultNRI = new NetworkRequestInfo(null, mDefaultRequest, new Binder()); in ConnectivityService()
980 handleRegisterNetworkRequest(new NetworkRequestInfo( in handleMobileDataAlwaysOn()
2075 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in doDump()
2413 for (NetworkRequestInfo nri : mNetworkRequests.values()) { in handleAsyncChannelHalfConnect()
2549 private NetworkRequestInfo findExistingNetworkRequestInfo(PendingIntent pendingIntent) { in findExistingNetworkRequestInfo()
2551 for (Map.Entry<NetworkRequest, NetworkRequestInfo> entry : mNetworkRequests.entrySet()) { in findExistingNetworkRequestInfo()
2562 final NetworkRequestInfo nri = (NetworkRequestInfo) (msg.obj); in handleRegisterNetworkRequestWithIntent()
2564 NetworkRequestInfo existingRequest = findExistingNetworkRequestInfo(nri.mPendingIntent); in handleRegisterNetworkRequestWithIntent()
2573 private void handleRegisterNetworkRequest(NetworkRequestInfo nri) { in handleRegisterNetworkRequest()
2592 NetworkRequestInfo nri = findExistingNetworkRequestInfo(pendingIntent); in handleReleaseNetworkRequestWithIntent()
[all …]
/frameworks/base/services/
Dart-profile1705 Lcom/android/server/ConnectivityService$NetworkRequestInfo;
/frameworks/base/config/
Dboot-image-profile.txt26150 HSPLandroid/net/NetworkFactory;->evalRequest(Landroid/net/NetworkFactory$NetworkRequestInfo;)V
56747 Landroid/net/NetworkFactory$NetworkRequestInfo;