/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/native/include/android/ |
H A D | multinetwork.h | 38 * The value NETWORK_UNSPECIFIED indicates no specific network. 44 * not used to indicate some notion of the "current default network". 56 * Set the network to be used by the given socket file descriptor. 65 int android_setsocknetwork(net_handle_t network, int fd); 69 * Binds the current process to |network|. All sockets created in the future 71 * |network|. All host name resolutions will be limited to |network| as well. 72 * Note that if the network identified by |network| ever disconnects, all 75 * accidentally use sockets it thinks are still bound to a particular network [all...] |
/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...] |
H A D | WifiAutoJoinController.java | 100 // weak network. Note that we cannot join weak network that are going to be marked as unanted by 107 * number of time we consecutively bailed out of an eligible network because its signal 129 logDbg("No network score service: Couldnt register as a WiFi score Manager, type=" 202 "] ->skipping this network"); 342 * network link quality changed, called directly from WifiTrafficPoller, 350 * compare a WifiConfiguration against the current network, return a delta score 352 * For instance if the candidate is a home network versus an unknown public wifi, 365 // network to... 416 * update the network histor 1927 getWifiConfiguration(WifiNative.WifiPnoNetwork network) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | AnqpCache.java | 47 * @param network The network to build the key for. 53 private static CacheKey buildKey(NetworkDetail network, boolean standardESS) { argument 57 if (network.getAnqpDomainID() == 0L || (network.getHESSID() == 0L && !standardESS)) { 58 ssid = network.getSSID(); 59 bssid = network.getBSSID(); 62 else if (network.getHESSID() != 0L && network.getAnqpDomainID() > 0) { 65 hessid = network 118 initiate(NetworkDetail network) argument 135 update(NetworkDetail network, Map<Constants.ANQPElementType, ANQPElement> anqpElements) argument 148 getEntry(NetworkDetail network) argument [all...] |
H A D | ANQPData.java | 38 public ANQPData(NetworkDetail network, argument 41 mNetwork = network; 48 else if (network.getAnqpDomainID() == 0) { 56 public ANQPData(NetworkDetail network, ANQPData existing) { argument 57 mNetwork = network;
|
/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 729 getNetworkInfo(Network network) argument 859 getLinkProperties(Network network) argument 876 getNetworkCapabilities(Network network) argument 1732 reportBadNetwork(Network network) argument 1753 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument 1808 getProxyForNetwork(Network network) argument 2001 onPreCheck(Network network) argument 2010 onAvailable(Network network) argument 2026 onLosing(Network network, int maxMsToLive) argument 2034 onLost(Network network) argument 2050 onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) argument 2060 onLinkPropertiesChanged(Network network, LinkProperties linkProperties) argument 2071 onNetworkSuspended(Network network) argument 2080 onNetworkResumed(Network network) argument 2517 requestBandwidthUpdate(Network network) argument 2574 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2609 bindProcessToNetwork(Network network) argument 2636 setProcessDefaultNetwork(Network network) argument 2726 setProcessDefaultNetworkForHostResolution(Network network) argument [all...] |
H A D | IConnectivityManager.aidl | 41 * state of network connectivity. 50 NetworkInfo getNetworkInfoForNetwork(in Network network); 60 LinkProperties getLinkProperties(in Network network); 62 NetworkCapabilities getNetworkCapabilities(in Network network); 97 void reportNetworkConnectivity(in Network network, boolean hasConnectivity); 131 boolean requestBandwidthUpdate(in Network network); 154 void setAcceptUnvalidated(in Network network, boolean accept, boolean always);
|
/frameworks/base/native/android/ |
H A D | net.c | 45 int android_setsocknetwork(net_handle_t network, int fd) { argument 47 if (!getnetidfromhandle(network, &netid)) { 60 int android_setprocnetwork(net_handle_t network) { argument 62 if (!getnetidfromhandle(network, &netid)) { 75 int android_getaddrinfofornetwork(net_handle_t network, argument 79 if (!getnetidfromhandle(network, &netid)) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | ThreeGPPNetworkElement.java | 31 CellularNetwork network = CellularNetwork.buildCellularNetwork(payload); 32 if (network != null) { 33 mPlmns.add(network);
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsConfig.aidl | 72 * Gets the value of the specified IMS feature item for specified network type. 77 * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 81 oneway void getFeatureValue(int feature, int network, ImsConfigListener listener); 84 * Sets the value for IMS feature item for specified network type. 89 * @param network. as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 94 oneway void setFeatureValue(int feature, int network, int value, ImsConfigListener listener);
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
H A D | JsonRequestCharsetTest.java | 59 NetworkResponse network = new NetworkResponse(data); 61 Response<JSONObject> objectResponse = objectRequest.parseNetworkResponse(network); 72 NetworkResponse network = new NetworkResponse(data); 74 Response<JSONArray> arrayResponse = arrayRequest.parseNetworkResponse(network); 86 NetworkResponse network = new NetworkResponse(data, headers); 88 Response<JSONObject> objectResponse = objectRequest.parseNetworkResponse(network); 100 NetworkResponse network = new NetworkResponse(data, headers); 102 Response<JSONArray> arrayResponse = arrayRequest.parseNetworkResponse(network);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CellNetworkScanResult.java | 92 for (OperatorInfo network : mOperators) { 93 network.writeToParcel(out, flags); 106 for (OperatorInfo network : mOperators) { 107 sb.append(" network:").append(network);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsConfig.java | 390 * Gets the value for IMS feature item for specified network type. 393 * @param network, defined as in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 399 public void getFeatureValue(int feature, int network, argument 402 Rlog.d(TAG, "getFeatureValue: feature = " + feature + ", network =" + network + 406 miConfig.getFeatureValue(feature, network, listener); 414 * Sets the value for IMS feature item for specified network type. 417 * @param network, as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 424 public void setFeatureValue(int feature, int network, int value, argument 427 Rlog.d(TAG, "setFeatureValue: feature = " + feature + ", network [all...] |
/frameworks/volley/src/main/java/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/services/core/java/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 45 // States of a network: 52 // ConnectivityService will tell netd to create the network and immediately transition to 55 // If this network can satisfy the default NetworkRequest, then NetworkMonitor will 57 // If this network cannot satisfy the default NetworkRequest, it will immediately be 59 // A network may remain in this state if NetworkMonitor fails to find Internet connectivity, 68 // The device's default network connection: 70 // Networks in states #3 and #4 may be used as a device's default network connection if they 72 // A network, that satisfies the default NetworkRequest, in state #4 should always be chosen 73 // in favor of a network, that satisfies the default NetworkRequest, in state #3. 75 // for the default network connectio 106 public final Network network; field in class:NetworkAgentInfo [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));
|
/frameworks/volley/src/main/java/com/android/volley/ |
H A D | RequestQueue.java | 37 * resolving from either cache or network on a worker thread, and then delivering 75 /** The queue of requests that are actually going out to the network. */ 79 /** Number of network request dispatcher threads to start. */ 91 /** The network dispatchers. */ 104 * @param network A Network interface for performing HTTP requests 105 * @param threadPoolSize Number of network dispatcher threads to create 108 public RequestQueue(Cache cache, Network network, int threadPoolSize, argument 111 mNetwork = network; 120 * @param network A Network interface for performing HTTP requests 121 * @param threadPoolSize Number of network dispatche 123 RequestQueue(Cache cache, Network network, int threadPoolSize) argument 134 RequestQueue(Cache cache, Network network) argument [all...] |
H A D | NetworkDispatcher.java | 28 * Provides a thread for performing network dispatch from a queue of requests. 30 * Requests added to the specified queue are processed from the network via a 38 /** The network interface for processing requests. */ 48 * Creates a new network dispatcher thread. You must call {@link #start()} 52 * @param network Network interface to use for performing requests 57 Network network, Cache cache, 60 mNetwork = network; 100 request.addMarker("network-queue-take"); 103 // network request. 105 request.finish("network 56 NetworkDispatcher(BlockingQueue<Request<?>> queue, Network network, Cache cache, ResponseDelivery delivery) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConnectivityService.java | 169 // TODO: create better separation between radio types and network types 171 // how long to wait before switching back to a radio's default network 177 // How long to wait before putting up a "This network doesn't have an Internet connection, 178 // connect anyway?" dialog after the user selects a network that doesn't validate. 199 /** Currently active network rules by UID. */ 225 // the highest scoring network satisfying a NetworkRequest. This should be passed when 241 * network - EVENT_EXPIRE_NET_TRANSITION_WAKELOCK happens 242 * after a timeout if no network is found (typically 1 min). 274 * used to add a network request 280 * indicates a timeout period is over - check if we had a network ye 419 addValidationLogs(ReadOnlyLocalLog log, Network network) argument 861 getNetworkAgentInfoForNetwork(Network network) argument 1034 getNetworkInfoForNetwork(Network network) argument 1170 getLinkProperties(Network network) argument 1193 getNetworkCapabilities(Network network) argument 2348 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2354 handleSetAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2401 handlePromptUnvalidated(Network network) argument 2649 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument 2693 getProxyForNetwork(Network network) argument 3603 requestBandwidthUpdate(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/native/cmds/dumpstate/ |
H A D | dumpstate.c | 270 char network[PROPERTY_VALUE_MAX], date[80]; local 278 property_get("gsm.operator.alpha", network, "(unknown)"); 290 printf("Network: %s\n", network); 455 property_get("dhcp.wlan0.gateway", network, ""); 456 if (network[0]) 457 run_command("PING GATEWAY", 10, "ping", "-c", "3", "-i", ".5", network, NULL); 458 property_get("dhcp.wlan0.dns1", network, ""); 459 if (network[0]) 460 run_command("PING DNS1", 10, "ping", "-c", "3", "-i", ".5", network, NULL); 461 property_get("dhcp.wlan0.dns2", network, ""); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityControllerImpl.java | 83 // TODO: re-register network callback on user change. 219 // Legacy VPNs should do nothing if the network is disconnected. Third-party 238 public void onAvailable(Network network) { 239 if (DEBUG) Log.d(TAG, "onAvailable " + network.netId); 247 public void onLost(Network network) { 248 if (DEBUG) Log.d(TAG, "onLost " + network.netId);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ServiceStateTracker.java | 260 // Set the network type, in case the radio does not restore it. 281 // Remove old network selection sharedPreferences since SP key names are now 406 // If the phone is not registered on a network, no need to update. 502 * Re-register network by toggling preferred network type. 503 * This is a work-around to deregister and register network since there is 710 * Registration point for transition into network attached. 773 // In some network, deactivate PDP connection cause releasing of RRC connection, 774 // which MM/IMSI detaching request needs. Without this detaching, network can 775 // not release the network resource 1121 isInNetwork(BaseBundle b, String network, String key) argument 1130 isRoamingInGsmNetwork(BaseBundle b, String network) argument 1134 isNonRoamingInGsmNetwork(BaseBundle b, String network) argument 1138 isRoamingInCdmaNetwork(BaseBundle b, String network) argument 1142 isNonRoamingInCdmaNetwork(BaseBundle b, String network) argument [all...] |