/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 110 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in makeNetworkFilter() 111 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in makeNetworkFilter() 112 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in makeNetworkFilter() 113 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_FOTA); in makeNetworkFilter() 114 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_IMS); in makeNetworkFilter() 115 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CBS); in makeNetworkFilter() 116 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_IA); in makeNetworkFilter() 117 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_RCS); in makeNetworkFilter() 118 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_XCAP); in makeNetworkFilter() 119 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_EIMS); in makeNetworkFilter() [all …]
|
D | DataConnection.java | 836 result.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in makeNetworkCapabilities() 837 result.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in makeNetworkCapabilities() 838 result.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in makeNetworkCapabilities() 839 result.addCapability(NetworkCapabilities.NET_CAPABILITY_FOTA); in makeNetworkCapabilities() 840 result.addCapability(NetworkCapabilities.NET_CAPABILITY_IMS); in makeNetworkCapabilities() 841 result.addCapability(NetworkCapabilities.NET_CAPABILITY_CBS); in makeNetworkCapabilities() 842 result.addCapability(NetworkCapabilities.NET_CAPABILITY_IA); in makeNetworkCapabilities() 846 result.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in makeNetworkCapabilities() 850 result.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in makeNetworkCapabilities() 854 result.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in makeNetworkCapabilities() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSwitcher.java | 139 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_MMS); in PhoneSwitcher() 140 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in PhoneSwitcher() 141 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in PhoneSwitcher() 142 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_FOTA); in PhoneSwitcher() 143 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_IMS); in PhoneSwitcher() 144 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_CBS); in PhoneSwitcher() 145 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_IA); in PhoneSwitcher() 146 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_RCS); in PhoneSwitcher() 147 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_XCAP); in PhoneSwitcher() 148 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_EIMS); in PhoneSwitcher() [all …]
|
D | Connection.java | 646 public static int addCapability(int capabilities, int capability) { in addCapability() method in Connection
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 117 addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET). in makeSubSpecificDefaultRequest() 118 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificDefaultRequest() 125 addCapability(NetworkCapabilities.NET_CAPABILITY_MMS). in makeSubSpecificMmsRequest() 126 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificMmsRequest()
|
D | DcTrackerTest.java | 718 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in testDDSResetAutoAttach()
|
/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 107 public Builder addCapability(int capability) { in addCapability() method in NetworkRequest.Builder 108 mNetworkCapabilities.addCapability(capability); in addCapability()
|
D | NetworkCapabilities.java | 254 public NetworkCapabilities addCapability(int capability) { in addCapability() method in NetworkCapabilities
|
D | ConnectivityManager.java | 1185 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR).addCapability(cap); in networkCapabilitiesForFeature() 1192 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_WIFI_P2P); in networkCapabilitiesForFeature()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 301 public void addCapability(int capability) { in addCapability() method in ConnectivityServiceTest.MockNetworkAgent 302 mNetworkCapabilities.addCapability(capability); in addCapability() 342 addCapability(NET_CAPABILITY_INTERNET); in connect() 1155 final NetworkCapabilities nc = new NetworkRequest.Builder().addCapability(capability) in tryNetworkFactoryRequests() 1167 filter.addCapability(capability); in tryNetworkFactoryRequests() 1183 NetworkRequest request = new NetworkRequest.Builder().addCapability(capability).build(); in tryNetworkFactoryRequests() 1207 testAgent.addCapability(capability); in tryNetworkFactoryRequests() 1220 builder.addCapability(capability); in tryNetworkFactoryRequests() 1270 builder.addCapability(NET_CAPABILITY_VALIDATED); in testNoMutableNetworkRequests() 1280 builder.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testNoMutableNetworkRequests() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 159 addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET). in makeSubSpecificDefaultRequest() 160 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificDefaultRequest() 168 addCapability(NetworkCapabilities.NET_CAPABILITY_MMS). in makeSubSpecificMmsRequest() 169 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificMmsRequest()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 230 capabilities = addCapability(capabilities, in applyLocalCallCapabilities() 234 capabilities = addCapability(capabilities, in applyLocalCallCapabilities() 249 capabilities = addCapability(capabilities, in applyRemoteCallCapabilities() 253 capabilities = addCapability(capabilities, in applyRemoteCallCapabilities()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 485 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in initNetworkCapabilities() 486 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in initNetworkCapabilities()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 1025 netCap.addCapability(NET_CAPABILITY_INTERNET); in addDefaultRequest() 1026 netCap.addCapability(NET_CAPABILITY_NOT_RESTRICTED); in addDefaultRequest()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 179 mNetCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivity()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Conference.java | 215 public void addCapability(int capability) { in addCapability() method in Conference
|
D | Connection.java | 440 public void addCapability(int capability) { in addCapability() method in Connection
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 1458 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in start() 1603 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in turnOnUpstreamMobileConnection() 1605 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in turnOnUpstreamMobileConnection()
|
D | Vpn.java | 645 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in agentConnect()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 790 netCap.addCapability(NET_CAPABILITY_INTERNET); in createInternetRequestForTransport() 791 netCap.addCapability(NET_CAPABILITY_NOT_RESTRICTED); in createInternetRequestForTransport() 4052 networkCapabilities.addCapability(NET_CAPABILITY_NOT_METERED); in enforceMeteredApnPolicy() 4425 networkCapabilities.addCapability(NET_CAPABILITY_VALIDATED); in updateCapabilities() 4430 networkCapabilities.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in updateCapabilities()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 1082 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in WifiStateMachine() 1083 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in WifiStateMachine() 1084 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in WifiStateMachine() 6229 networkCapabilities.addCapability( in updateCapabilities()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 853 requestBuilder.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in handleRequestSuplConnection()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17194 method public android.net.NetworkRequest.Builder addCapability(int);
|
/frameworks/base/api/ |
D | current.txt | 23670 method public android.net.NetworkRequest.Builder addCapability(int);
|
D | system-current.txt | 25504 method public android.net.NetworkRequest.Builder addCapability(int);
|