Searched defs:linkProperties (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkState.java34 public final LinkProperties linkProperties; field in class:NetworkState
40 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, argument
44 this.linkProperties = linkProperties;
63 linkProperties = in.readParcelable(null);
78 out.writeParcelable(linkProperties, flags);
H A DNetworkAgent.java347 public void sendLinkProperties(LinkProperties linkProperties) { argument
348 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties));
H A DConnectivityManager.java2762 * @param linkProperties The {@link LinkProperties} of the satisfying network.
2766 LinkProperties linkProperties) {
2776 onLinkPropertiesChanged(network, linkProperties);
2840 * @param linkProperties The new {@link LinkProperties} for this network.
2842 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) {} argument
2765 onAvailable(Network network, NetworkCapabilities networkCapabilities, LinkProperties linkProperties) argument
/frameworks/base/telephony/java/android/telephony/
H A DPreciseDataConnectionState.java58 LinkProperties linkProperties, String failCause) {
64 mLinkProperties = linkProperties;
56 PreciseDataConnectionState(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DOsuNetworkConnection.java217 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { argument
220 + " isProvisioned?" + linkProperties.isProvisioned());
222 if (linkProperties.isProvisioned() && mNetwork == null) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DCellularDataService.java146 boolean allowRoaming, int reason, LinkProperties linkProperties,
159 linkProperties, message);
145 setupDataCall(int radioTechnology, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, DataServiceCallback callback) argument
H A DDataServiceManager.java357 * @param linkProperties If {@code reason} is {@link DataService#REQUEST_REASON_HANDOVER}, this
363 boolean allowRoaming, int reason, LinkProperties linkProperties,
379 isRoaming, allowRoaming, reason, linkProperties, callback);
362 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message onCompleteMessage) argument
H A DDataConnection.java1070 LinkProperties linkProperties) {
1082 linkProperties.clear();
1087 linkProperties.setInterfaceName(response.getIfname());
1097 linkProperties.addLinkAddress(la);
1108 linkProperties.addDnsServer(dns);
1122 linkProperties.addDnsServer(ia);
1132 linkProperties.addRoute(new RouteInfo(gateway));
1137 linkProperties.setMtu(response.getMtu());
1154 linkProperties.clear();
1300 if (VDBG) log("REQ_GET_LINK_PROPERTIES linkProperties"
1069 setLinkProperties(DataCallResponse response, LinkProperties linkProperties) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDataConnectionTest.java261 LinkProperties linkProperties)
268 return (SetupResult) method.invoke(mDc, response, linkProperties);
529 LinkProperties linkProperties = new LinkProperties();
530 assertEquals(SetupResult.SUCCESS, setLinkProperties(response, linkProperties));
531 logd(linkProperties.toString());
532 assertEquals(response.getIfname(), linkProperties.getInterfaceName());
533 assertEquals(response.getAddresses().size(), linkProperties.getAddresses().size());
536 NetworkUtils.numericToInetAddress(linkProperties.getLinkAddresses().get(i)
540 assertEquals(response.getDnses().size(), linkProperties.getDnsServers().size());
543 linkProperties
260 setLinkProperties(DataCallResponse response, LinkProperties linkProperties) argument
[all...]
/frameworks/base/telephony/java/android/telephony/data/
H A DDataService.java150 * @param linkProperties If {@code reason} is {@link #REQUEST_REASON_HANDOVER}, this is the
157 @Nullable LinkProperties linkProperties,
265 public final LinkProperties linkProperties; field in class:DataService.SetupDataCallRequest
268 boolean allowRoaming, int reason, LinkProperties linkProperties,
274 this.linkProperties = linkProperties;
365 setupDataCallRequest.linkProperties,
493 LinkProperties linkProperties, IDataServiceCallback callback) {
496 allowRoaming, reason, linkProperties, callback))
155 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, @SetupDataReason int reason, @Nullable LinkProperties linkProperties, @Nullable DataServiceCallback callback) argument
267 SetupDataCallRequest(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, IDataServiceCallback callback) argument
491 setupDataCall(int slotId, int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, IDataServiceCallback callback) argument
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetNetworkFactory.java303 void onIpLayerStarted(LinkProperties linkProperties) { argument
309 mLinkProperties = linkProperties;
328 void onIpLayerStopped(LinkProperties linkProperties) { argument
335 void updateLinkProperties(LinkProperties linkProperties) { argument
336 mLinkProperties = linkProperties;
338 mNetworkAgent.sendLinkProperties(linkProperties);
429 + "linkProperties: " + mLinkProperties
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java126 public LinkProperties linkProperties; field in class:NetworkAgentInfo
255 linkProperties = lp;
477 new LinkProperties(linkProperties),
601 "lp{" + linkProperties + "} " +
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DTetherInterfaceStateMachine.java179 public LinkProperties linkProperties() { return new LinkProperties(mLinkProperties); } method in class:TetherInterfaceStateMachine
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DTelephonyRegistryMock.java237 String reason, String apn, String apnType, LinkProperties linkProperties,
245 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
236 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
243 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
H A DConnectivityServiceMock.java266 //updateClat(null, nai.linkProperties, nai);
775 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
779 // linkProperties), new NetworkCapabilities(networkCapabilities), currentScore,
774 registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int currentScore, NetworkMisc networkMisc) argument
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java1170 String reason, String apn, String apnType, LinkProperties linkProperties,
1173 isDataAllowed,reason, apn, apnType, linkProperties,
1179 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
1222 apnType, apn, reason, linkProperties, "");
1238 apnType, linkProperties, networkCapabilities, roaming, subId);
1240 linkProperties, "");
1609 String reason, String apn, String apnType, LinkProperties linkProperties,
1623 if (linkProperties != null) {
1624 intent.putExtra(PhoneConstants.DATA_LINK_PROPERTIES_KEY, linkProperties);
1625 String iface = linkProperties
1169 notifyDataConnection(int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1177 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1607 broadcastDataConnectionStateChanged(int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument
1662 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
[all...]
H A DConnectivityService.java1149 if (state == null || state.networkInfo == null || state.linkProperties == null) return;
1151 if (isNetworkWithLinkPropertiesBlocked(state.linkProperties, uid, ignoreBlocked)) {
1212 && isNetworkWithLinkPropertiesBlocked(nai.linkProperties, uid, ignoreBlocked)) {
1284 if (!isNetworkWithLinkPropertiesBlocked(state.linkProperties, uid, false)) {
1370 return state.linkProperties;
1379 return new LinkProperties(nai.linkProperties);
1397 return new LinkProperties(nai.linkProperties);
1550 lp = nai.linkProperties;
1839 final String iface = networkAgent.linkProperties.getInterfaceName();
1875 final String iface = networkAgent.linkProperties
4646 registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int currentScore, NetworkMisc networkMisc) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManager.java510 LinkProperties linkProperties = new LinkProperties();
533 networkInfo, networkCapabilities, linkProperties)) {
540 networkCapabilities, linkProperties, NETWORK_FACTORY_SCORE_AVAIL,
1292 LinkProperties linkProperties) {
1335 linkProperties.setInterfaceName(nnri.interfaceName);
1336 linkProperties.addLinkAddress(new LinkAddress(linkLocal, 64));
1337 linkProperties.addRoute(
1289 configureAgentProperties(AwareNetworkRequestInformation nnri, Set<WifiAwareNetworkSpecifier> networkSpecifiers, int ndpId, NetworkInfo networkInfo, NetworkCapabilities networkCapabilities, LinkProperties linkProperties) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java274 boolean allowRoaming, int reason, LinkProperties linkProperties,
273 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message result) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java275 boolean allowRoaming, int reason, LinkProperties linkProperties,
274 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message result) argument
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java385 MockNetworkAgent(int transport, LinkProperties linkProperties) { argument
415 linkProperties, mScore, new NetworkMisc()) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java1141 boolean allowRoaming, int reason, LinkProperties linkProperties,
1145 isRoaming, allowRoaming, reason, linkProperties, result);
1140 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message result) argument
H A DSimulatedCommandsVerifier.java1167 boolean allowRoaming, int reason, LinkProperties linkProperties,
1166 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message result) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCommandsInterface.java1651 * @param linkProperties
1658 boolean allowRoaming, int reason, LinkProperties linkProperties,
1657 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message result) argument
H A DRIL.java1174 boolean allowRoaming, int reason, LinkProperties linkProperties,
1217 if (linkProperties != null) {
1218 for (InetAddress address : linkProperties.getAddresses()) {
1221 for (InetAddress dns : linkProperties.getDnsServers()) {
1173 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message result) argument

Completed in 195 milliseconds