/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 | 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); 164 void startNattKeepalive(in Network network, int intervalSeconds, in Messenger messenger, 167 void stopKeepalive(in Network network, int slot);
|
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 739 getNetworkInfo(Network network) argument 869 getLinkProperties(Network network) argument 886 getNetworkCapabilities(Network network) argument 1279 PacketKeepalive(Network network, PacketKeepaliveCallback callback) argument 1325 startNattKeepalive( Network network, int intervalSeconds, PacketKeepaliveCallback callback, InetAddress srcAddr, int srcPort, InetAddress dstAddr) argument 1912 reportBadNetwork(Network network) argument 1933 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument 1988 getProxyForNetwork(Network network) argument 2181 onPreCheck(Network network) argument 2190 onAvailable(Network network) argument 2206 onLosing(Network network, int maxMsToLive) argument 2214 onLost(Network network) argument 2230 onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) argument 2240 onLinkPropertiesChanged(Network network, LinkProperties linkProperties) argument 2251 onNetworkSuspended(Network network) argument 2260 onNetworkResumed(Network network) argument 2709 requestBandwidthUpdate(Network network) argument 2766 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2801 bindProcessToNetwork(Network network) argument 2828 setProcessDefaultNetwork(Network network) argument 2918 setProcessDefaultNetworkForHostResolution(Network network) argument [all...] |
/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 | 542 * Gets the value for IMS feature item for specified network type. 545 * @param network, defined as in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 551 public void getFeatureValue(int feature, int network, argument 554 Rlog.d(TAG, "getFeatureValue: feature = " + feature + ", network =" + network + 558 miConfig.getFeatureValue(feature, network, listener); 566 * Sets the value for IMS feature item for specified network type. 569 * @param network, as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX. 576 public void setFeatureValue(int feature, int network, int value, argument 579 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));
|
H A D | NetworkMonitor.java | 98 // After a network has been tested this result can be sent with EVENT_NETWORK_TESTED. 99 // The network should be used as a default internet connection. It was found to be: 100 // 1. a functioning network providing internet access, or 103 // After a network has been tested this result can be sent with EVENT_NETWORK_TESTED. 104 // The network should not be used as a default internet connection. It was found to be: 107 // 3. a broken network (e.g. DNS failed, connect failed, HTTP request failed). 113 * Inform NetworkMonitor that their network is connected. 119 * Inform ConnectivityService that the network has been tested. 126 * Inform NetworkMonitor to linger a network. The Monitor should 130 * event should be sent and the network wil [all...] |
/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 | 173 // TODO: create better separation between radio types and network types 175 // how long to wait before switching back to a radio's default network 181 // How long to wait before putting up a "This network doesn't have an Internet connection, 182 // connect anyway?" dialog after the user selects a network that doesn't validate. 203 /** Currently active network rules by UID. */ 229 // the highest scoring network satisfying a NetworkRequest. This should be passed when 245 * network - EVENT_EXPIRE_NET_TRANSITION_WAKELOCK happens 246 * after a timeout if no network is found (typically 1 min). 278 * used to add a network request 284 * indicates a timeout period is over - check if we had a network ye 428 addValidationLogs(ReadOnlyLocalLog log, Network network) argument 876 getNetworkAgentInfoForNetwork(Network network) argument 1049 getNetworkInfoForNetwork(Network network) argument 1185 getLinkProperties(Network network) argument 1208 getNetworkCapabilities(Network network) argument 2399 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2405 handleSetAcceptUnvalidated(Network network, boolean accept, boolean always) argument 2452 handlePromptUnvalidated(Network network) argument 2713 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument 2757 getProxyForNetwork(Network network) argument 3704 requestBandwidthUpdate(Network network) argument 4827 startNattKeepalive(Network network, int intervalSeconds, Messenger messenger, IBinder binder, String srcAddr, int srcPort, String dstAddr) argument 4837 stopKeepalive(Network network, int slot) 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityControllerImpl.java | 85 // TODO: re-register network callback on user change. 227 // Legacy VPNs should do nothing if the network is disconnected. Third-party 246 public void onAvailable(Network network) { 247 if (DEBUG) Log.d(TAG, "onAvailable " + network.netId); 255 public void onLost(Network network) { 256 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...] |