Home
last modified time | relevance | path

Searched refs:addCapability (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java110 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 …]
DDataConnection.java836 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/
DPhoneSwitcher.java139 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 …]
DConnection.java646 public static int addCapability(int capabilities, int capability) { in addCapability() method in Connection
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java117 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()
DDcTrackerTest.java718 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in testDDSResetAutoAttach()
/frameworks/base/core/java/android/net/
DNetworkRequest.java107 public Builder addCapability(int capability) { in addCapability() method in NetworkRequest.Builder
108 mNetworkCapabilities.addCapability(capability); in addCapability()
DNetworkCapabilities.java254 public NetworkCapabilities addCapability(int capability) { in addCapability() method in NetworkCapabilities
DConnectivityManager.java1185 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/
DConnectivityServiceTest.java301 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/
DPhoneSwitcherTest.java159 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/
DImsPhoneConnection.java230 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/
DEthernetNetworkFactory.java485 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/
DConnectivityServiceMock.java1025 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/
DNetworkControllerBaseTest.java179 mNetCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivity()
/frameworks/base/telecomm/java/android/telecom/
DConference.java215 public void addCapability(int capability) { in addCapability() method in Conference
DConnection.java440 public void addCapability(int capability) { in addCapability() method in Connection
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1458 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in start()
1603 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in turnOnUpstreamMobileConnection()
1605 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in turnOnUpstreamMobileConnection()
DVpn.java645 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in agentConnect()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java790 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/
DWifiStateMachine.java1082 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/
DGnssLocationProvider.java853 requestBuilder.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in handleRequestSuplConnection()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17194 method public android.net.NetworkRequest.Builder addCapability(int);
/frameworks/base/api/
Dcurrent.txt23670 method public android.net.NetworkRequest.Builder addCapability(int);
Dsystem-current.txt25504 method public android.net.NetworkRequest.Builder addCapability(int);

12