/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsConfigListener.aidl | 29 * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 34 void onGetFeatureResponse(int feature, int network, int value, int status); 44 * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 50 void onSetFeatureResponse(int feature, int network, int value, int status);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNetworkScoreCache.java | 39 // scorer to provide an RSSI threshold below which a network should not be used. 62 for (ScoredNetwork network : networks) { 63 String networkKey = buildNetworkKey(network); 65 mNetworkCache.put(networkKey, network); 80 * scores from the network scorer. 89 * A null score curve has special meaning - we should never connect to an ephemeral network if 93 ScoredNetwork network = getScoredNetwork(result); 94 return network != null && network.rssiCurve != null; 101 ScoredNetwork network 141 buildNetworkKey(ScoredNetwork network) argument [all...] |
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsConfig.aidl | 92 * Gets the value of the specified IMS feature item for specified network type. 97 * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 101 oneway void getFeatureValue(int feature, int network, ImsConfigListener listener); 104 * Sets the value for IMS feature item for specified network type. 109 * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 114 oneway void setFeatureValue(int feature, int network, int value, ImsConfigListener listener);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkState.java | 23 * Snapshot of network state. 32 public final Network network; field in class:NetworkState 37 NetworkCapabilities networkCapabilities, Network network, String subscriberId, 42 this.network = network; 51 network = in.readParcelable(null); 66 out.writeParcelable(network, flags); 36 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, Network network, String subscriberId, String networkId) argument
|
H A D | ConnectivityManager.java | 56 * Class that answers queries about the state of network connectivity. It also 57 * notifies applications when network connectivity changes. Get an instance 63 * <li>Monitor network connections (Wi-Fi, GPRS, UMTS, etc.)</li> 64 * <li>Send broadcast intents when network connectivity changes</li> 65 * <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 659 getNetworkInfo(Network network) argument 801 getLinkProperties(Network network) argument 816 getNetworkCapabilities(Network network) argument 1724 reportBadNetwork(Network network) argument 2032 onPreCheck(Network network) argument 2041 onAvailable(Network network) argument 2057 onLosing(Network network, int maxMsToLive) argument 2065 onLost(Network network) argument 2081 onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) argument 2091 onLinkPropertiesChanged(Network network, LinkProperties linkProperties) argument 2500 setProcessDefaultNetwork(Network network) argument 2542 setProcessDefaultNetworkForHostResolution(Network network) argument [all...] |
H A D | IConnectivityManager.aidl | 40 * state of network connectivity. 48 NetworkInfo getNetworkInfoForNetwork(in Network network); 60 LinkProperties getLinkProperties(in Network network); 62 NetworkCapabilities getNetworkCapabilities(in Network network); 97 void reportBadNetwork(in Network network);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 43 public Network network; field in class:NetworkAgentInfo 58 // The result of the last validation attempt on this network (true if validated, false if not). 59 // This bit exists only because we never unvalidate a network once it's been validated, and that 60 // is because the network scoring and revalidation code does not (may not?) deal properly with 62 // TODO: Fix the network scoring code, remove this, and rename everValidated to validated. 70 // Score for explicitly connected network. 91 network = null; 107 // Does this network satisfy request? 150 return "NetworkAgentInfo{ ni{" + networkInfo + "} network{" + 151 network [all...] |
H A D | PermissionMonitor.java | 184 List<Integer> network = new ArrayList<Integer>(); 187 List<Integer> list = app.getValue() ? system : network; 194 mNetd.setPermission("NETWORK", toIntArray(network)); 197 mNetd.clearPermission(toIntArray(network));
|
H A D | NetworkMonitor.java | 101 // After a network has been tested this result can be sent with EVENT_NETWORK_TESTED. 102 // The network should be used as a default internet connection. It was found to be: 103 // 1. a functioning network providing internet access, or 106 // After a network has been tested this result can be sent with EVENT_NETWORK_TESTED. 107 // The network should not be used as a default internet connection. It was found to be: 110 // 3. a broken network (e.g. DNS failed, connect failed, HTTP request failed). 116 * Inform NetworkMonitor that their network is connected. 122 * Inform ConnectivityService that the network has been tested. 129 * Inform NetworkMonitor to linger a network. The Monitor should 133 * event should be sent and the network wil [all...] |
H A D | Tethering.java | 1357 Network network = getConnectivityManager().getNetworkForType(upType); 1358 if (network == null) { 1362 Log.d(TAG, "Setting DNS forwarders: Network=" + network + 1365 mNMService.setDnsForwarders(network, dnsServers);
|
/frameworks/volley/tests/src/com/android/volley/ |
H A D | RequestQueueTest.java | 72 OrderCheckingNetwork network = new OrderCheckingNetwork(); 73 RequestQueue queue = new RequestQueue(new NoCache(), network, 1, mDelivery); 79 network.setExpectedRequests(requestsToMake); 81 network.waitUntilExpectedDone(2000); // 2 seconds 86 OrderCheckingNetwork network = new OrderCheckingNetwork(); 100 network.setExpectedRequests(2); 101 RequestQueue queue = new RequestQueue(new NoCache(), network, 3, mDelivery); 105 network.waitUntilExpectedDone(2000); 110 MockNetwork network = new MockNetwork(); 111 RequestQueue queue = new RequestQueue(new NoCache(), network, [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsConfig.java | 361 * Gets the value for IMS feature item for specified network type. 364 * @param network, defined as in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 370 public void getFeatureValue(int feature, int network, argument 373 Rlog.d(TAG, "getFeatureValue: feature = " + feature + ", network =" + network + 377 miConfig.getFeatureValue(feature, network, listener); 385 * Sets the value for IMS feature item for specified network type. 388 * @param network, as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 395 public void setFeatureValue(int feature, int network, int value, argument 399 Rlog.d(TAG, "setFeatureValue: feature = " + feature + ", network [all...] |
/frameworks/volley/src/com/android/volley/ |
H A D | RequestQueue.java | 35 * 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...] |
H A D | NetworkDispatcher.java | 27 * 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...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | Volley.java | 39 * @param stack An {@link HttpStack} to use for the network, or null for default. 63 Network network = new BasicNetwork(stack); 65 RequestQueue queue = new RequestQueue(new DiskBasedCache(cacheDir), network);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityControllerImpl.java | 71 // TODO: re-register network callback on user change. 189 public void onAvailable(Network network) { 191 mConnectivityManager.getNetworkCapabilities(network); 192 if (DEBUG) Log.d(TAG, "onAvailable " + network.netId + " : " + networkCapabilities); 194 setCurrentNetid(network.netId); 201 public void onLost(Network network) { 202 if (DEBUG) Log.d(TAG, "onLost " + network.netId); 203 if (mCurrentVpnNetworkId == network.netId) {
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 106 char network[PROPERTY_VALUE_MAX], date[80]; local 114 property_get("gsm.operator.alpha", network, "(unknown)"); 126 printf("Network: %s\n", network); 274 property_get("dhcp.wlan0.gateway", network, ""); 275 if (network[0]) 276 run_command("PING GATEWAY", 10, "ping", "-c", "3", "-i", ".5", network, NULL); 277 property_get("dhcp.wlan0.dns1", network, ""); 278 if (network[0]) 279 run_command("PING DNS1", 10, "ping", "-c", "3", "-i", ".5", network, NULL); 280 property_get("dhcp.wlan0.dns2", network, ""); [all...] |
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
H A D | CaptivePortalLoginActivity.java | 95 // System misconfigured, bail out in a way that at least provides network access. 100 final Network network = new Network(mNetId); 102 cm.setProcessDefaultNetwork(network); 111 final NetworkCapabilities networkCapabilities = cm.getNetworkCapabilities(network); 119 if (network.equals(lostNetwork)) done(CAPTIVE_PORTAL_APP_RETURN_UNWANTED);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConnectivityService.java | 156 // network sampling debugging 161 // TODO: create better separation between radio types and network types 163 // how long to wait before switching back to a radio's default network 186 // Set network sampling interval at 12 minutes, this way, even if the timers get 191 // start network sampling a minute after booting ... 210 /** Currently active network rules by UID. */ 216 * Sometimes we want to refer to the individual network state 244 // Indicates a network was just validated for the first time. If the network is found to 247 // Indicates a network wa 826 getNetworkAgentInfoForNetwork(Network network) argument 1012 getNetworkInfoForNetwork(Network network) argument 1165 getLinkProperties(Network network) argument 1177 getNetworkCapabilities(Network network) argument 2650 reportBadNetwork(Network network) argument [all...] |
H A D | NetworkScoreService.java | 154 for (ScoredNetwork network : networks) { 155 List<ScoredNetwork> networkList = networksByType.get(network.networkKey.type); 158 networksByType.put(network.networkKey.type, networkList); 160 networkList.add(network); 163 // Pass the scores of each type down to the appropriate network scorer.
|
/frameworks/base/core/java/android/os/ |
H A D | INetworkManagementService.aidl | 49 * Returns a list of currently known network interfaces 100 * Retrieves the network routes currently configured on the specified 173 void setDnsForwarders(in Network network, in String[] dns); 183 * the NAT'ed network. 239 * Return global network statistics summarized at an interface level, 246 * Return detailed network statistics with UID-level granularity, 252 * Return detailed network statistics for the requested UID, 258 * Return summary of network statistics all tethering interfaces. 288 * Control network activity of a UID over interfaces with a quota limit. 307 * {@link removeIdleTimer} to cleanup when the network disconnect [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QSTileHost.java | 93 RotationLockController rotation, NetworkController network, 103 mNetwork = network; 91 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/docs/html/training/ |
H A D | training_toc.cs | 537 <a href="<?cs var:toroot ?>training/basics/network-ops/index.html" 539 "How to create a network connection, monitor the connection for changes 544 <li><a href="<?cs var:toroot ?>training/basics/network-ops/connecting.html"> 548 <li><a href="<?cs var:toroot ?>training/basics/network-ops/managing.html"> 552 <li><a href="<?cs var:toroot ?>training/basics/network-ops/xml.html"> 563 and other network transactions." 567 <li><a href="<?cs var:toroot ?>training/efficient-downloads/efficient-network-access.html"> 644 description="How to perform fast, scalable UI operations over the network using Volley" 1731 "How to ensure that your app is secure when performing network transactions."
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneBase.java | 113 // Key used to read and write the saved network selection numeric value 115 // Key used to read and write the saved network selection operator name 238 * they are to simulate detaching from the network. 249 * they are to simulate attaching to the network. 392 * (i.e. voice) phone calls over the telephony network, and is allowed 505 // handle the select network completion callbacks. 901 public void selectNetworkManually(OperatorInfo network, Message response) { argument 906 nsm.operatorNumeric = network.getOperatorNumeric(); 907 nsm.operatorAlphaLong = network.getOperatorAlphaLong(); 910 mCi.setNetworkSelectionModeManual(network [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneBase.java | 428 OperatorInfo network, 427 selectNetworkManually( OperatorInfo network, Message response) argument
|