Searched defs:network (Results 1 - 17 of 17) sorted by last modified time

/frameworks/volley/src/com/android/volley/
H A DNetworkDispatcher.java27 * Provides a thread for performing network dispatch from a queue of requests.
29 * Requests added to the specified queue are processed from the network via a
37 /** The network interface for processing requests. */
47 * Creates a new network dispatcher thread. You must call {@link #start()}
51 * @param network Network interface to use for performing requests
56 Network network, Cache cache,
59 mNetwork = network;
98 request.addMarker("network-queue-take");
101 // network request.
103 request.finish("network
55 NetworkDispatcher(BlockingQueue<Request<?>> queue, Network network, Cache cache, ResponseDelivery delivery) argument
[all...]
H A DRequestQueue.java35 * resolving from either cache or network on a worker thread, and then delivering
67 /** The queue of requests that are actually going out to the network. */
71 /** Number of network request dispatcher threads to start. */
83 /** The network dispatchers. */
93 * @param network A Network interface for performing HTTP requests
94 * @param threadPoolSize Number of network dispatcher threads to create
97 public RequestQueue(Cache cache, Network network, int threadPoolSize, argument
100 mNetwork = network;
109 * @param network A Network interface for performing HTTP requests
110 * @param threadPoolSize Number of network dispatche
112 RequestQueue(Cache cache, Network network, int threadPoolSize) argument
123 RequestQueue(Cache cache, Network network) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhone.java121 // Used for preferred network type
467 * its network activity and is in its final state. This may mean a state
527 * Register for Supplementary Service notifications from the network.
1073 * Switches network selection mode to "automatic", re-scanning and
1074 * re-selecting a network if appropriate.
1076 * @param response The message to dispatch when the network selection
1084 * Manually selects a network. <code>response</code> is
1091 void selectNetworkManually(OperatorInfo network, argument
1095 * Requests to set the preferred network type for searching and registering
1103 * Query the preferred network typ
[all...]
H A DPhoneBase.java105 // Key used to read and write the saved network selection numeric value
107 // Key used to read and write the saved network selection operator name
211 * they are to simulate detaching from the network.
222 * they are to simulate attaching to the network.
362 * (i.e. voice) phone calls over the telephony network, and is allowed
495 // handle the select network completion callbacks.
828 public void selectNetworkManually(OperatorInfo network, Message response) { argument
833 nsm.operatorNumeric = network.getOperatorNumeric();
834 nsm.operatorAlphaLong = network.getOperatorAlphaLong();
837 mCi.setNetworkSelectionModeManual(network
[all...]
H A DPhoneProxy.java840 public void selectNetworkManually(OperatorInfo network, Message response) { argument
841 mActivePhone.selectNetworkManually(network, response);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java413 OperatorInfo network,
412 selectNetworkManually( OperatorInfo network, Message response) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java393 OperatorInfo network,
392 selectNetworkManually( OperatorInfo network, Message response) argument
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsConfig.java283 * Gets the value for IMS feature item for specified network type.
286 * @param network, defined as in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
292 public void getFeatureValue(int feature, int network, argument
295 Rlog.d(TAG, "getFeatureValue: feature = " + feature + ", network =" + network +
299 miConfig.getFeatureValue(feature, network, listener);
307 * Sets the value for IMS feature item for specified network type.
310 * @param network, as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
317 public void setFeatureValue(int feature, int network, int value, argument
321 Rlog.d(TAG, "setFeatureValue: feature = " + feature + ", network
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStore.java101 * (key, value) pairs for a given network are grouped together and can
104 * network. A network is identified by a unique ID_KEY. If there is no
139 /* configured networks with network id as the key */
143 /* A network id is a unique identifier for a network configured in the
147 * that is generated from SSID and security type of the network. A mapping
148 * from the generated unique id to network id of the network is needed to
400 * If Connectivity Service has triggered an unwanted network disconnec
1328 sendConfiguredNetworksChangedBroadcast(WifiConfiguration network, int reason) argument
[all...]
H A DWifiNetworkScoreCache.java60 for (ScoredNetwork network : networks) {
61 String networkKey = buildNetworkKey(network);
63 mNetworkCache.put(networkKey, network);
80 ScoredNetwork network = mNetworkCache.get(key);
81 if (network != null) {
97 ScoredNetwork network = mNetworkCache.get(key);
98 if (network != null && network.rssiCurve != null) {
99 score = network.rssiCurve.lookupScore(result.level);
101 Log.e(TAG, "getNetworkScore found scored network "
133 buildNetworkKey(ScoredNetwork network) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c83 char network[PROPERTY_VALUE_MAX], date[80]; local
91 property_get("gsm.operator.alpha", network, "(unknown)");
103 printf("Network: %s\n", network);
249 property_get("dhcp.wlan0.gateway", network, "");
250 if (network[0])
251 run_command("PING GATEWAY", 10, "ping", "-c", "3", "-i", ".5", network, NULL);
252 property_get("dhcp.wlan0.dns1", network, "");
253 if (network[0])
254 run_command("PING DNS1", 10, "ping", "-c", "3", "-i", ".5", network, NULL);
255 property_get("dhcp.wlan0.dns2", network, "");
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQSTileHost.java92 RotationLockController rotation, NetworkController network,
102 mNetwork = network;
90 QSTileHost(Context context, PhoneStatusBar statusBar, BluetoothController bluetooth, LocationController location, RotationLockController rotation, NetworkController network, ZenModeController zen, HotspotController hotspot, CastController cast, FlashlightController flashlight, UserSwitcherController userSwitcher, KeyguardMonitor keyguard, SecurityController security) argument
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java193 // network sampling debugging
198 // TODO: create better separation between radio types and network types
200 // how long to wait before switching back to a radio's default network
219 // Set network sampling interval at 12 minutes, this way, even if the timers get
224 // start network sampling a minute after booting ...
245 /** Currently active network rules by UID. */
251 * Sometimes we want to refer to the individual network state
285 * network - EVENT_EXPIRE_NET_TRANSITION_WAKELOCK happens
286 * after a timeout if no network is found (typically 1 min).
341 * used to add a network reques
965 getNetworkInfoForNetwork(Network network) argument
1049 getLinkProperties(Network network) argument
1065 getNetworkCapabilities(Network network) argument
2486 reportBadNetwork(Network network) argument
[all...]
H A DNetworkManagementService.java229 // the network actually went inactive. (It might be nice to still do this,
433 // on the mobile network, that is not coming from the radio itself, and we
645 * a network interface change occured
685 * An network interface class state changed (active/idle)
707 * A network address change occurred
955 final Command cmd = new Command("network", "route", action, netId);
1184 // The RouteInfo constructor truncates the LinkAddress to a network prefix, thus making it
1214 public void setDnsForwarders(Network network, String[] dns) { argument
1217 int netId = (network != null) ? network
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNat464Xlat.java55 // Current LinkProperties of the network. Includes mLP as a stacked link when clat is active.
59 // Marker to connote which network we're augmenting.
88 * Determines whether a network requires clat.
89 * @param network the NetworkAgentInfo corresponding to the network.
90 * @return true if the network requires clat, false otherwise.
104 public boolean isRunningClat(NetworkAgentInfo network) { argument
105 return mNetworkMessenger == network.messenger;
112 public void startClat(NetworkAgentInfo network) { argument
113 if (mNetworkMessenger != null && mNetworkMessenger != network
[all...]
H A DNetworkAgentInfo.java43 public Network network; field in class:NetworkAgentInfo
56 // Score for explicitly connected network.
71 network = null;
113 return "NetworkAgentInfo{ ni{" + networkInfo + "} network{" +
114 network + "} lp{" +
124 (network == null ? "null" : network.toString()) + "]";
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java55 * Class that answers queries about the state of network connectivity. It also
56 * notifies applications when network connectivity changes. Get an instance
62 * <li>Monitor network connections (Wi-Fi, GPRS, UMTS, etc.)</li>
63 * <li>Send broadcast intents when network connectivity changes</li>
64 * <li>Attempt to "fail over" to another network when connectivity to a network
77 * A change in network connectivity has occurred. A default connection has either
78 * been established or lost. The NetworkInfo for the affected network is
83 * disconnected network, then the FAILOVER_CONNECTION boolean extra is
87 * to connect (or has already connected) to another network, th
664 getNetworkInfo(Network network) argument
793 getLinkProperties(Network network) argument
808 getNetworkCapabilities(Network network) argument
1705 reportBadNetwork(Network network) argument
2046 onPreCheck(Network network) argument
2055 onAvailable(Network network) argument
2071 onLosing(Network network, int maxMsToLive) argument
2079 onLost(Network network) argument
2095 onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) argument
2105 onLinkPropertiesChanged(Network network, LinkProperties linkProperties) argument
2488 setProcessDefaultNetwork(Network network) argument
2527 setProcessDefaultNetworkForHostResolution(Network network) argument
[all...]

Completed in 569 milliseconds