/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | NetworkRequestsStats.java | 34 public static void addNetworkRequest(NetworkRequest networkRequest, int subId) { in addNetworkRequest() argument 41 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_PRIORITIZE_LATENCY)) { in addNetworkRequest() 47 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_PRIORITIZE_BANDWIDTH)) { in addNetworkRequest() 53 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in addNetworkRequest() 58 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_ENTERPRISE)) { in addNetworkRequest() 63 if (networkRequest.hasTransport(NetworkCapabilities.TRANSPORT_SATELLITE) in addNetworkRequest() 64 && !networkRequest.hasCapability( in addNetworkRequest() 67 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in addNetworkRequest() 73 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in addNetworkRequest() 79 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in addNetworkRequest() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | TelephonyNetworkFactory.java | 207 private int getTransportTypeFromNetworkRequest(TelephonyNetworkRequest networkRequest) { in getTransportTypeFromNetworkRequest() argument 209 int capability = networkRequest.getApnTypeNetworkCapability(); in getTransportTypeFromNetworkRequest() 231 TelephonyNetworkRequest networkRequest = entry.getKey(); in onActivePhoneSwitch() local 235 networkRequest, mPhone.getPhoneId()); in onActivePhoneSwitch() 241 ? "Requesting" : "Releasing") + " network request " + networkRequest); in onActivePhoneSwitch() 242 int transportType = getTransportTypeFromNetworkRequest(networkRequest); in onActivePhoneSwitch() 244 NetworkRequestsStats.addNetworkRequest(networkRequest.getNativeNetworkRequest(), in onActivePhoneSwitch() 246 mPhone.getDataNetworkController().addNetworkRequest(networkRequest); in onActivePhoneSwitch() 248 mPhone.getDataNetworkController().removeNetworkRequest(networkRequest); in onActivePhoneSwitch() 251 mNetworkRequests.put(networkRequest, in onActivePhoneSwitch() [all …]
|
D | DataNetworkController.java | 524 TelephonyNetworkRequest networkRequest = get(index); in add() local 525 if (networkRequest.equals(newRequest)) { in add() 528 if (newRequest.getPriority() > networkRequest.getPriority()) { in add() 544 for (TelephonyNetworkRequest networkRequest : requests) { in addAll() 545 add(networkRequest); in addAll() 561 TelephonyNetworkRequest networkRequest = get(index); in get() local 563 if (Arrays.stream(networkRequest.getCapabilities()) in get() 568 return networkRequest; in get() 582 for (TelephonyNetworkRequest networkRequest : this) { in hasNetworkRequestsFromPackage() 584 networkRequest.getNativeNetworkRequest().getRequestorPackageName())) { in hasNetworkRequestsFromPackage() [all …]
|
D | PhoneSwitcher.java | 1066 protected void needNetworkFor(@NonNull NetworkRequest networkRequest) { in needNetworkFor() argument 1067 if (VDBG) log("needNetworkFor " + networkRequest); in needNetworkFor() 1069 msg.obj = networkRequest; in needNetworkFor() 1074 protected void releaseNetworkFor(@NonNull NetworkRequest networkRequest) { in releaseNetworkFor() argument 1075 if (VDBG) log("releaseNetworkFor " + networkRequest); in releaseNetworkFor() 1077 msg.obj = networkRequest; in releaseNetworkFor() 1082 private void onRequestNetwork(NetworkRequest networkRequest) { in onRequestNetwork() argument 1084 networkRequest, PhoneFactory.getDefaultPhone(), mFlags); in onRequestNetwork() 1091 private void onReleaseNetwork(NetworkRequest networkRequest) { in onReleaseNetwork() argument 1093 networkRequest, PhoneFactory.getDefaultPhone(), mFlags); in onReleaseNetwork() [all …]
|
D | DataUtils.java | 409 for (TelephonyNetworkRequest networkRequest : networkRequestList) { 411 Arrays.stream(networkRequest.getCapabilities()) 413 Arrays.stream(networkRequest.getNativeNetworkRequest() 416 Arrays.stream(networkRequest.getTransportTypes()) 419 v -> new NetworkRequestList()).add(networkRequest); 425 for (TelephonyNetworkRequest networkRequest : networkRequestList) { 426 requestsMap.computeIfAbsent(Arrays.stream(networkRequest.getCapabilities()) 428 v -> new NetworkRequestList()).add(networkRequest);
|
D | DataProfileManager.java | 681 @NonNull TelephonyNetworkRequest networkRequest, @NetworkType int networkType, in getDataProfileForNetworkRequest() 684 if (networkRequest.hasAttribute(TelephonyNetworkRequest in getDataProfileForNetworkRequest() 686 apnSetting = getApnSettingForNetworkRequest(networkRequest, networkType, isNtn, in getDataProfileForNetworkRequest() 691 if (networkRequest.hasAttribute(TelephonyNetworkRequest in getDataProfileForNetworkRequest() 698 if (networkRequest.hasAttribute( in getDataProfileForNetworkRequest() 700 TrafficDescriptor.OsAppId osAppId = networkRequest.getOsAppId(); in getDataProfileForNetworkRequest() 711 log("Unable to find a data profile for " + networkRequest); in getDataProfileForNetworkRequest() 737 log("Created data profile " + dataProfile + " for " + networkRequest); in getDataProfileForNetworkRequest() 753 @NonNull TelephonyNetworkRequest networkRequest, @NetworkType int networkType, in getApnSettingForNetworkRequest() 755 if (!networkRequest.hasAttribute( in getApnSettingForNetworkRequest() [all …]
|
D | DataNetwork.java | 981 @NonNull TelephonyNetworkRequest networkRequest); in onRetryUnsatisfiedNetworkRequest() 1362 for (TelephonyNetworkRequest networkRequest : mAttachedNetworkRequestList) { 1363 networkRequest.setState(TelephonyNetworkRequest.REQUEST_STATE_UNSATISFIED); 1364 networkRequest.setAttachedNetwork(null); 2073 for (TelephonyNetworkRequest networkRequest : requestList) { 2074 if (!mDataNetworkController.isNetworkRequestExisting(networkRequest)) { 2075 failedList.add(networkRequest); 2076 log("Attached failed. Network request was already removed. " + networkRequest); 2077 } else if (!networkRequest.canBeSatisfiedBy(getNetworkCapabilities())) { 2078 failedList.add(networkRequest); [all …]
|
D | DataRetryManager.java | 1763 @NonNull TelephonyNetworkRequest networkRequest, @TransportType int transport) { 1783 == networkRequest.getApnTypeNetworkCapability()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | TelephonyNetworkFactoryTest.java | 93 NetworkRequest networkRequest = new NetworkRequest(netCap, -1, in makeSubSpecificInternetRequest() local 95 mTelephonyNetworkFactoryUT.obtainMessage(CMD_REQUEST_NETWORK, 0, 0, networkRequest) in makeSubSpecificInternetRequest() 97 return networkRequest; in makeSubSpecificInternetRequest() 105 NetworkRequest networkRequest = new NetworkRequest(netCap, -1, in makeDefaultInternetRequest() local 107 mTelephonyNetworkFactoryUT.obtainMessage(CMD_REQUEST_NETWORK, 0, 0, networkRequest) in makeDefaultInternetRequest() 109 return networkRequest; in makeDefaultInternetRequest() 119 NetworkRequest networkRequest = new NetworkRequest(netCap, -1, in makeSubSpecificMmsRequest() local 121 mTelephonyNetworkFactoryUT.obtainMessage(CMD_REQUEST_NETWORK, 0, 0, networkRequest) in makeSubSpecificMmsRequest() 123 return networkRequest; in makeSubSpecificMmsRequest() 126 private void releaseNetworkRequest(NetworkRequest networkRequest) { in releaseNetworkRequest() argument [all …]
|
D | DataUtilsTest.java | 75 TelephonyNetworkRequest networkRequest; in testGetGroupedNetworkRequestList() local 78 networkRequest = new TelephonyNetworkRequest(new NetworkRequest( in testGetGroupedNetworkRequestList() 86 networkRequest = new TelephonyNetworkRequest(new NetworkRequest( in testGetGroupedNetworkRequestList() 93 networkRequest = new TelephonyNetworkRequest(new NetworkRequest( in testGetGroupedNetworkRequestList() 99 requestList.add(networkRequest); in testGetGroupedNetworkRequestList()
|
D | PhoneSwitcherTest.java | 2263 NetworkRequest networkRequest = new NetworkRequest(netCap, ConnectivityManager.TYPE_NONE, in addInternetNetworkRequest() local 2269 message.obj = networkRequest; in addInternetNetworkRequest() 2273 return networkRequest; in addInternetNetworkRequest() 2288 NetworkRequest networkRequest = new NetworkRequest(netCap, ConnectivityManager.TYPE_NONE, in addMmsNetworkRequest() local 2294 message.obj = networkRequest; in addMmsNetworkRequest() 2298 return networkRequest; in addMmsNetworkRequest() 2304 private void releaseNetworkRequest(NetworkRequest networkRequest) throws Exception { in releaseNetworkRequest() argument 2307 message.obj = networkRequest; in releaseNetworkRequest()
|
D | DataNetworkControllerTest.java | 1026 TelephonyNetworkRequest networkRequest = in setUp() 1036 && dataProfile.canSatisfy(networkRequest.getCapabilities()) in setUp() 1050 logd("Cannot find data profile to satisfy " + networkRequest + ", network type=" in setUp() 1349 TelephonyNetworkRequest networkRequest = in testSetupDataNetworkWithSimilarDataProfile() 1354 if (dataProfile.canSatisfy(networkRequest.getCapabilities()) in testSetupDataNetworkWithSimilarDataProfile() 1361 logd("Cannot find data profile to satisfy " + networkRequest + ", network type=" in testSetupDataNetworkWithSimilarDataProfile() 3066 TelephonyNetworkRequest networkRequest = createNetworkRequest( in testHandoverDataNetworkRetryReachedMaximumNetworkRequestRemoved() local 3068 mDataNetworkControllerUT.addNetworkRequest(networkRequest); in testHandoverDataNetworkRetryReachedMaximumNetworkRequestRemoved() 3073 mDataNetworkControllerUT.removeNetworkRequest(networkRequest); in testHandoverDataNetworkRetryReachedMaximumNetworkRequestRemoved() 3967 TelephonyNetworkRequest networkRequest = createNetworkRequest( in testDelayImsTearDownCsRequestsToTearDown() local [all …]
|
D | DataNetworkTest.java | 1220 TelephonyNetworkRequest networkRequest = new TelephonyNetworkRequest( in testNetworkRequestDetachedBeforePduSessionIdAllocated() local 1224 networkRequestList.add(networkRequest); in testNetworkRequestDetachedBeforePduSessionIdAllocated() 1239 mDataNetworkUT.detachNetworkRequest(networkRequest, false); in testNetworkRequestDetachedBeforePduSessionIdAllocated() 1785 TelephonyNetworkRequest networkRequest = new TelephonyNetworkRequest( in testGetApnTypeCapability() local 1788 mDataNetworkUT.attachNetworkRequests(new NetworkRequestList(networkRequest)); in testGetApnTypeCapability() 1794 mDataNetworkUT.detachNetworkRequest(networkRequest, false); in testGetApnTypeCapability() 1808 TelephonyNetworkRequest networkRequest = new TelephonyNetworkRequest( in testGetPriority() local 1811 mDataNetworkUT.attachNetworkRequests(new NetworkRequestList(networkRequest)); in testGetPriority() 1817 mDataNetworkUT.detachNetworkRequest(networkRequest, false); in testGetPriority()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobInfo.java | 481 private final NetworkRequest networkRequest; field in JobInfo 641 if (networkRequest == null) { in getNetworkType() 643 } else if (networkRequest.hasCapability(NET_CAPABILITY_NOT_METERED)) { in getNetworkType() 645 } else if (networkRequest.hasCapability(NET_CAPABILITY_NOT_ROAMING)) { in getNetworkType() 647 } else if (networkRequest.hasTransport(TRANSPORT_CELLULAR)) { in getNetworkType() 661 return networkRequest; in getRequiredNetwork() 889 if (!Objects.equals(networkRequest, j.networkRequest)) { in equals() 967 if (networkRequest != null) { in hashCode() 968 hashCode = 31 * hashCode + networkRequest.hashCode(); in hashCode() 1012 networkRequest = NetworkRequest.CREATOR.createFromParcel(in); in JobInfo() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 316 NetworkRequest networkRequest = networkRequestBuilder.build(); in registerNetworkCallbacks() local 318 mConnMgr.registerNetworkCallback(networkRequest, mNetworkConnectivityCallback, mHandler); in registerNetworkCallbacks() 645 NetworkRequest networkRequest = networkRequestBuilder.build(); 653 networkRequest,
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/config/ |
D | boot-image-profile.txt | 22737 HSPLcom/android/okhttp/internal/http/HttpEngine;->networkRequest(Lcom/android/okhttp/Request;)Lcom/…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 7172 Landroid/app/job/JobInfo;->networkRequest:Landroid/net/NetworkRequest;
|