/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 394 public void selectNetworkManually(OperatorInfo network, boolean persistSelection, argument
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 1030 public void onAvailable(Network network) { argument 1032 UpstreamNetworkMonitor.EVENT_ON_AVAILABLE, 0, network); 1036 public void onCapabilitiesChanged(Network network, NetworkCapabilities newNc) { argument 1039 new NetworkState(null, null, newNc, network, null, null)); 1043 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { argument 1046 new NetworkState(null, newLp, null, network, null, null)); 1050 public void onLost(Network network) { argument 1052 UpstreamNetworkMonitor.EVENT_ON_LOST, 0, network); 1057 * A class to centralize all the network and link properties information 1058 * pertaining to the current and any potential upstream network 1110 lookup(Network network) argument 1480 setDnsForwarders(final Network network, final LinkProperties lp) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | ConnectivityServiceTest.java | 118 public synchronized boolean bindProcessToNetwork(Network network) { argument 119 mFakeBoundNetwork = network; 204 // Bring up a network that we can use to send messages to ConnectivityService. 265 throw new UnsupportedOperationException("unimplemented network type"); 336 * @param validated Indicate if network should pretend to be validated. 351 public void onCapabilitiesChanged(Network network, 353 if (network.equals(getNetwork()) && 366 // Wait for network to validate. 645 // can have odd side-effects, like network validations succeeding. 648 for (Network network 1096 public final Network network; field in class:ConnectivityServiceTest.TestNetworkCallback.CallbackInfo 1111 setLastCallback(CallbackState state, Network network, Object o) argument 1116 onAvailable(Network network) argument 1121 onLosing(Network network, int maxMsToLive) argument 1126 onLost(Network network) argument 1788 onCapabilitiesChanged(Network network, NetworkCapabilities netCap) argument 1793 onLinkPropertiesChanged(Network network, LinkProperties linkProp) argument 1854 isForegroundNetwork(MockNetworkAgent network) argument [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 540 char network[PROPERTY_VALUE_MAX], date[80]; local 547 property_get("gsm.operator.alpha", network, "(unknown)"); 559 printf("Network: %s\n", network);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | ConnectivityServiceMock.java | 165 * used to add a network request 171 * used to add a network listener - no request 177 * used to remove a network request, either a listener or a real request 280 // A network factory has connected. Send it all current NetworkRequests. 295 // A network agent has requested a connection. Establish the connection. 304 // mNetworkForNetId.remove(nai.network.netId); 305 // mNetIdInUse.delete(nai.network.netId); 320 // A network agent has disconnected. 321 // TODO - if we move the logic to the network agent (have them disconnect 347 // mNetworkForNetId.remove(nai.network 515 getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) argument 555 getLinkProperties(Network network) argument 565 getNetworkCapabilities(Network network) argument 603 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument 607 setAvoidUnvalidated(Network network) argument 675 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument 679 getProxyForNetwork(Network network) argument 782 requestBandwidthUpdate(Network network) argument 1011 startNattKeepalive(Network network, int intervalSeconds, Messenger messenger, IBinder binder, String srcAddr, int srcPort, String dstAddr) argument 1017 stopKeepalive(Network network, int slot) argument [all...] |
H A D | PhoneMock.java | 337 public void selectNetworkManually(OperatorInfo network, boolean persistSelection, argument
|
/frameworks/base/core/java/android/net/ |
H A D | ConnectivityManager.java | 64 * Class that answers queries about the state of network connectivity. It also 65 * notifies applications when network connectivity changes. Get an instance 71 * <li>Monitor network connections (Wi-Fi, GPRS, UMTS, etc.)</li> 72 * <li>Send broadcast intents when network connectivity changes</li> 73 * <li>Attempt to "fail over" to another network when connectivity to a network 85 * A change in network connectivity has occurred. A default connection has either 86 * been established or lost. The NetworkInfo for the affected network is 91 * disconnected network, then the FAILOVER_CONNECTION boolean extra is 95 * to connect (or has already connected) to another network, th 903 getNetworkInfo(Network network) argument 908 getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) argument 1038 getLinkProperties(Network network) argument 1075 getNetworkCapabilities(Network network) argument 1529 PacketKeepalive(Network network, PacketKeepaliveCallback callback) argument 1575 startNattKeepalive( Network network, int intervalSeconds, PacketKeepaliveCallback callback, InetAddress srcAddr, int srcPort, InetAddress dstAddr) argument 2278 reportBadNetwork(Network network) argument 2300 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument 2357 getProxyForNetwork(Network network) argument 2558 onPreCheck(Network network) argument 2567 onAvailable(Network network) argument 2583 onLosing(Network network, int maxMsToLive) argument 2591 onLost(Network network) argument 2607 onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) argument 2617 onLinkPropertiesChanged(Network network, LinkProperties linkProperties) argument 2628 onNetworkSuspended(Network network) argument 2637 onNetworkResumed(Network network) argument 3141 requestBandwidthUpdate(Network network) argument 3202 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument 3223 setAvoidUnvalidated(Network network) argument 3261 bindProcessToNetwork(Network network) argument 3288 setProcessDefaultNetwork(Network network) argument 3378 setProcessDefaultNetworkForHostResolution(Network network) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkManagementService.java | 140 * String to pass to netd to indicate that a network is only accessible 146 * String to pass to netd to indicate that a network is only 307 // the network actually went inactive. (It might be nice to still do this, 508 // on the mobile network, that is not coming from the radio itself, and we 801 * a network interface change occured 841 * An network interface class state changed (active/idle) 868 * A network address change occurred 1146 final Command cmd = new Command("network", "route", action, netId); 1300 // The RouteInfo constructor truncates the LinkAddress to a network prefix, thus making it 1331 public void setDnsForwarders(Network network, Strin argument [all...] |
H A D | ConnectivityService.java | 188 // TODO: create better separation between radio types and network types 190 // how long to wait before switching back to a radio's default network 196 // How long to wait before putting up a "This network doesn't have an Internet connection, 197 // connect anyway?" dialog after the user selects a network that doesn't validate. 224 /** Currently active network rules by UID. */ 259 // the highest scoring network satisfying a NetworkRequest. This should be passed when 268 LINGER, // Determine whether this network is unneeded and should be lingered. 269 TEARDOWN, // Determine whether this network is unneeded and should be torn down. 280 * network - EVENT_EXPIRE_NET_TRANSITION_WAKELOCK happens 281 * after a timeout if no network i 480 ValidationLog(Network network, String networkExtraInfo, ReadOnlyLocalLog log) argument 489 addValidationLogs(ReadOnlyLocalLog log, Network network, String networkExtraInfo) argument 961 getNetworkAgentInfoForNetwork(Network network) argument 1194 getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) argument 1328 getLinkProperties(Network network) argument 1351 getNetworkCapabilities(Network network) argument 2703 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2710 setAvoidUnvalidated(Network network) argument 2715 handleSetAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2755 handleSetAvoidUnvalidated(Network network) argument 2851 handlePromptUnvalidated(Network network) argument 3154 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument 3199 getProxyForNetwork(Network network) argument 4177 requestBandwidthUpdate(Network network) argument 5452 startNattKeepalive(Network network, int intervalSeconds, Messenger messenger, IBinder binder, String srcAddr, int srcPort, String dstAddr) argument 5462 stopKeepalive(Network network, int slot) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigManager.java | 125 * (key, value) pairs for a given network are grouped together and can 128 * network. A network is identified by a unique ID_KEY. If there is no 188 * The threshold for each kind of error. If a network continuously encounter the same error more 189 * than the threshold times, this network will be disabled. -1 means unavailable. 205 * Timeout for each kind of error. After the timeout minutes, unblock the network again. 254 /* configured networks with network id as the key */ 286 * The mLastSelectedConfiguration is used to remember which network 288 * The connection to this network may not be successful, as well 289 * the selection (i.e. network priorit 1621 sendConfiguredNetworksChangedBroadcast(WifiConfiguration network, int reason) argument 1860 setLatestUserSelectedConfiguration(WifiConfiguration network) argument 2515 getANQPData(NetworkDetail network) argument [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GnssLocationProvider.java | 288 // how long to wait if we have a network error in NTP or XTRA downloading 292 // how long to wait if we have a network error in NTP or XTRA downloading 308 // flags to trigger NTP or XTRA data download when network becomes available 309 // initialized to true so we do NTP and XTRA when the network comes up after booting 454 public void onAvailable(Network network) { 472 public void onAvailable(Network network) { 473 sendMessage(UPDATE_NETWORK_STATE, 0 /*arg*/, network); 477 public void onLost(Network network) { 822 private void handleUpdateNetworkState(Network network) { argument 824 NetworkInfo info = mConnMgr.getNetworkInfo(network); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ServiceStateTracker.java | 298 // Set the network type, in case the radio does not restore it. 321 // Remove old network selection sharedPreferences since SP key names are now 704 // If the phone is not registered on a network, no need to update. 800 * Re-register network by toggling preferred network type. 801 * This is a work-around to deregister and register network since there is 1128 // Don't care the result, only use for dereg network (COPS=2) 1163 // possible a network or baseband side error 1463 loge("CDMA_SUBSCRIPTION: error parsing network id: " + ex); 1973 * @return true if the roamInd is in the carrier-specified list of ERIs for home network 4963 isInNetwork(BaseBundle b, String network, String key) argument 4972 isRoamingInGsmNetwork(BaseBundle b, String network) argument 4976 isNonRoamingInGsmNetwork(BaseBundle b, String network) argument 4980 isRoamingInCdmaNetwork(BaseBundle b, String network) argument 4984 isNonRoamingInCdmaNetwork(BaseBundle b, String network) argument [all...] |
H A D | Phone.java | 124 // Key used to read and write the saved network selection numeric value 126 // Key used to read and write the saved network selection operator name 128 // Key used to read and write the saved network selection operator short name 358 * they are to simulate detaching from the network. 369 * they are to simulate attaching to the network. 451 * (i.e. voice) phone calls over the telephony network, and is allowed 553 // handle the select network completion callbacks. 1033 * its network activity and is in its final state. This may mean a state 1072 * Register for TTY mode change notifications from the network. 1093 * Switches network selectio 1167 selectNetworkManually(OperatorInfo network, boolean persistSelection, Message response) argument [all...] |