/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 164 for (NetworkRequest networkRequest : requestMap.keySet()) { in applyRequests() 165 LocalLog localLog = requestMap.get(networkRequest); in applyRequests() 168 mDcTracker.requestNetwork(networkRequest, localLog); in applyRequests() 170 mDcTracker.releaseNetwork(networkRequest, localLog); in applyRequests() 216 public void needNetworkFor(NetworkRequest networkRequest, int score) { in needNetworkFor() argument 218 msg.obj = networkRequest; in needNetworkFor() 223 NetworkRequest networkRequest = (NetworkRequest)msg.obj; in onNeedNetworkFor() local 226 if (TextUtils.isEmpty(networkRequest.networkCapabilities.getNetworkSpecifier())) { in onNeedNetworkFor() 228 localLog = mDefaultRequests.get(networkRequest); in onNeedNetworkFor() 231 localLog.log("created for " + networkRequest); in onNeedNetworkFor() [all …]
|
D | DcRequest.java | 40 public final NetworkRequest networkRequest; field in DcRequest 46 networkRequest = nr; in DcRequest() 47 apnId = apnIdForNetworkRequest(networkRequest); in DcRequest() 52 return networkRequest.toString() + ", priority=" + priority + ", apnId=" + apnId; in toString() 56 return networkRequest.hashCode(); in hashCode() 61 return networkRequest.equals(((DcRequest)o).networkRequest); in equals()
|
D | DcTracker.java | 951 public void requestNetwork(NetworkRequest networkRequest, LocalLog log) { in requestNetwork() argument 952 final int apnId = ApnContext.apnIdForNetworkRequest(networkRequest); in requestNetwork() 954 log.log("DcTracker.requestNetwork for " + networkRequest + " found " + apnContext); in requestNetwork() 958 public void releaseNetwork(NetworkRequest networkRequest, LocalLog log) { in releaseNetwork() argument 959 final int apnId = ApnContext.apnIdForNetworkRequest(networkRequest); in releaseNetwork() 961 log.log("DcTracker.releaseNetwork for " + networkRequest + " found " + apnContext); in releaseNetwork()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSwitcher.java | 226 protected void needNetworkFor(NetworkRequest networkRequest, int score) { in needNetworkFor() argument 227 if (VDBG) log("needNetworkFor " + networkRequest + ", " + score); in needNetworkFor() 229 msg.obj = networkRequest; in needNetworkFor() 234 protected void releaseNetworkFor(NetworkRequest networkRequest) { in releaseNetworkFor() argument 235 if (VDBG) log("releaseNetworkFor " + networkRequest); in releaseNetworkFor() 237 msg.obj = networkRequest; in releaseNetworkFor() 242 private void onRequestNetwork(NetworkRequest networkRequest) { in onRequestNetwork() argument 243 final DcRequest dcRequest = new DcRequest(networkRequest, mContext); in onRequestNetwork() 251 private void onReleaseNetwork(NetworkRequest networkRequest) { in onReleaseNetwork() argument 252 final DcRequest dcRequest = new DcRequest(networkRequest, mContext); in onReleaseNetwork() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 197 public boolean addRequest(NetworkRequest networkRequest) { in addRequest() argument 198 if (networkRequests.get(networkRequest.requestId) == networkRequest) return false; in addRequest() 199 networkRequests.put(networkRequest.requestId, networkRequest); in addRequest()
|
/frameworks/base/core/java/android/net/ |
D | NetworkFactory.java | 262 protected void needNetworkFor(NetworkRequest networkRequest, int score) { in needNetworkFor() argument 266 protected void releaseNetworkFor(NetworkRequest networkRequest) { in releaseNetworkFor() argument 271 public void addNetworkRequest(NetworkRequest networkRequest, int score) { in addNetworkRequest() argument 273 new NetworkRequestInfo(networkRequest, score))); in addNetworkRequest() 276 public void removeNetworkRequest(NetworkRequest networkRequest) { in removeNetworkRequest() argument 277 sendMessage(obtainMessage(CMD_CANCEL_REQUEST, networkRequest)); in removeNetworkRequest()
|
D | ConnectivityManager.java | 1107 Log.d(TAG, "renewing startUsingNetworkFeature request " + l.networkRequest); in startUsingNetworkFeature() 1309 NetworkRequest networkRequest; field in ConnectivityManager.LegacyRequest 1342 if (l != null) return l.networkRequest; in findRequestForFeature() 1376 l.networkRequest = sendRequestForNetwork(netCap, l.networkCallback, 0, in requestNetworkForFeatureLocked() 1378 if (l.networkRequest == null) return null; in requestNetworkForFeatureLocked() 1381 return l.networkRequest; in requestNetworkForFeatureLocked() 2580 private NetworkRequest networkRequest; field in ConnectivityManager.NetworkCallback 2787 networkCallback.networkRequest = mService.listenForNetwork(need, in sendRequestForNetwork() 2790 networkCallback.networkRequest = mService.requestNetwork(need, in sendRequestForNetwork() 2793 if (networkCallback.networkRequest != null) { in sendRequestForNetwork() [all …]
|
D | IConnectivityManager.aidl | 159 void releaseNetworkRequest(in NetworkRequest networkRequest); in releaseNetworkRequest() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | DcTrackerMock.java | 176 public void requestNetwork(NetworkRequest networkRequest, LocalLog log) { in requestNetwork() argument 178 mRequestedNetworks.add(networkRequest); in requestNetwork() 183 public void releaseNetwork(NetworkRequest networkRequest, LocalLog log) { in releaseNetwork() argument 185 mRequestedNetworks.remove(networkRequest); in releaseNetwork()
|
D | ConnectivityServiceMock.java | 757 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, legacyType, in requestNetwork() local 759 NetworkRequestInfo nri = new NetworkRequestInfo(messenger, networkRequest, binder, in requestNetwork() 765 return networkRequest; in requestNetwork() 798 public void releaseNetworkRequest(NetworkRequest networkRequest) { in releaseNetworkRequest() argument 800 0, networkRequest)); in releaseNetworkRequest() 960 private void sendUpdatedScoreToFactories(NetworkRequest networkRequest, int score) { in sendUpdatedScoreToFactories() argument 961 if (VDBG) log("sending new Min Network Score(" + score + "): " + networkRequest.toString()); in sendUpdatedScoreToFactories() 964 networkRequest); in sendUpdatedScoreToFactories()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 1797 NetworkRequest networkRequest = new NetworkRequest.Builder().build(); in testNetworkRequestMaximum() local 1802 mCm.requestNetwork(networkRequest, networkCallback); in testNetworkRequestMaximum() 1815 mCm.registerNetworkCallback(networkRequest, networkCallback); in testNetworkRequestMaximum() 1830 mCm.requestNetwork(networkRequest, pendingIntent); in testNetworkRequestMaximum() 1845 mCm.registerNetworkCallback(networkRequest, pendingIntent); in testNetworkRequestMaximum() 1860 mCm.requestNetwork(networkRequest, networkCallback); in testNetworkRequestMaximum() 1866 mCm.registerNetworkCallback(networkRequest, networkCallback); in testNetworkRequestMaximum() 1873 mCm.requestNetwork(networkRequest, pendingIntent); in testNetworkRequestMaximum() 1880 mCm.registerNetworkCallback(networkRequest, pendingIntent); in testNetworkRequestMaximum()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 3995 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, legacyType, in requestNetwork() local 3997 NetworkRequestInfo nri = new NetworkRequestInfo(messenger, networkRequest, binder, type); in requestNetwork() 4005 return networkRequest; in requestNetwork() 4066 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, TYPE_NONE, in pendingRequestForNetwork() local 4068 NetworkRequestInfo nri = new NetworkRequestInfo(networkRequest, operation, in pendingRequestForNetwork() 4073 return networkRequest; in pendingRequestForNetwork() 4118 NetworkRequest networkRequest = new NetworkRequest( in listenForNetwork() local 4120 NetworkRequestInfo nri = new NetworkRequestInfo(messenger, networkRequest, binder, in listenForNetwork() 4125 return networkRequest; in listenForNetwork() 4136 NetworkRequest networkRequest = new NetworkRequest( in pendingListenForNetwork() local [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 2169 NetworkRequest networkRequest = networkRequestBuilder.build(); 2170 mConnMgr.registerNetworkCallback(networkRequest, mNetworkConnectivityCallback);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 3885 protected void needNetworkFor(NetworkRequest networkRequest, int score) { in needNetworkFor() argument 3890 protected void releaseNetworkFor(NetworkRequest networkRequest) { in releaseNetworkFor() argument 3908 protected void needNetworkFor(NetworkRequest networkRequest, int score) { in needNetworkFor() argument 3909 if (!networkRequest.networkCapabilities.hasCapability( in needNetworkFor() 3920 protected void releaseNetworkFor(NetworkRequest networkRequest) { in releaseNetworkFor() argument 3921 if (!networkRequest.networkCapabilities.hasCapability( in releaseNetworkFor()
|