Searched refs:network (Results 1 - 25 of 65) sorted by relevance

123

/frameworks/base/telephony/java/com/android/ims/
H A DImsConfigListener.aidl29 * @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 Dmultinetwork.h38 * 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 DWifiNetworkScoreCache.java40 // scorer to provide an RSSI threshold below which a network should not be used.
60 for (ScoredNetwork network : networks) {
61 String networkKey = buildNetworkKey(network);
63 mNetworkCache.put(networkKey, network);
78 * scores from the network scorer.
87 * A null score curve has special meaning - we should never connect to an ephemeral network if
91 ScoredNetwork network = getScoredNetwork(result);
92 return network != null && network.rssiCurve != null;
99 ScoredNetwork network
149 buildNetworkKey(ScoredNetwork network) argument
[all...]
H A DWifiQualifiedNetworkSelector.java48 * select an network for the phone to connect/roam to.
64 //buffer of filtered scan results (Scan results considered by network selection) & associated
72 //if current network is on 2.4GHz band and has a RSSI over this, need not new network selection
74 //if current network is on 5GHz band and has a RSSI over this, need not new network selection
139 * @return current target connected network
175 localLoge("No network score service: Couldn't register as a WiFi score Manager, type="
201 private String getNetworkString(WifiConfiguration network) { argument
202 if (network
340 calculateBssidScore(ScanResult scanResult, WifiConfiguration network, WifiConfiguration currentNetwork, boolean sameBssid, boolean sameSelect, StringBuffer sbuf) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DChartData.java22 public NetworkStatsHistory network; field in class:ChartData
/frameworks/base/core/java/com/android/server/net/
H A DNetworkPinner.java30 * A class that pins a process to the first network that satisfies a particular NetworkRequest.
33 * to connect to a Wi-Fi network that has no Internet access, and then assume that they will be
34 * able to use that network because it's the system default.
37 * we try not to set the default network unless they have already done so, and we try not to
38 * clear the default network unless we set it ourselves.
41 * any wifi network that was created via enableNetwork(..., true) until that network
44 * Note that while this hack allows network traffic to flow, it is quite limited. For example:
51 * - getActiveNetworkInfo will return the system default network, not Wi-Fi.
56 * This class is a per-process singleton because the process default network i
90 onAvailable(Network network) argument
104 onLost(Network network) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkState.java23 * Snapshot of network state.
33 public final Network network; field in class:NetworkState
38 NetworkCapabilities networkCapabilities, Network network, String subscriberId,
43 this.network = network;
52 network = in.readParcelable(null);
67 out.writeParcelable(network, flags);
37 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, Network network, String subscriberId, String networkId) argument
H A DConnectivityManager.java64 * 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
894 getNetworkInfo(Network network) argument
899 getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) argument
1029 getLinkProperties(Network network) argument
1046 getNetworkCapabilities(Network network) argument
1480 PacketKeepalive(Network network, PacketKeepaliveCallback callback) argument
1526 startNattKeepalive( Network network, int intervalSeconds, PacketKeepaliveCallback callback, InetAddress srcAddr, int srcPort, InetAddress dstAddr) argument
2219 reportBadNetwork(Network network) argument
2241 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument
2298 getProxyForNetwork(Network network) argument
2499 onPreCheck(Network network) argument
2508 onAvailable(Network network) argument
2524 onLosing(Network network, int maxMsToLive) argument
2532 onLost(Network network) argument
2548 onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) argument
2558 onLinkPropertiesChanged(Network network, LinkProperties linkProperties) argument
2569 onNetworkSuspended(Network network) argument
2578 onNetworkResumed(Network network) argument
3082 requestBandwidthUpdate(Network network) argument
3146 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument
3184 bindProcessToNetwork(Network network) argument
3211 setProcessDefaultNetwork(Network network) argument
3301 setProcessDefaultNetworkForHostResolution(Network network) argument
[all...]
H A DIConnectivityManager.aidl41 * state of network connectivity.
51 NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked);
61 LinkProperties getLinkProperties(in Network network);
63 NetworkCapabilities getNetworkCapabilities(in Network network);
102 void reportNetworkConnectivity(in Network network, boolean hasConnectivity);
138 boolean requestBandwidthUpdate(in Network network);
161 void setAcceptUnvalidated(in Network network, boolean accept, boolean always);
171 void startNattKeepalive(in Network network, int intervalSeconds, in Messenger messenger,
174 void stopKeepalive(in Network network, int slot);
/frameworks/base/native/android/
H A Dnet.c45 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/hotspot2/
H A DAnqpCache.java52 * @param network The network to build the key for.
58 private static CacheKey buildKey(NetworkDetail network, boolean standardESS) { argument
62 if (network.getAnqpDomainID() == 0L || (network.getHESSID() == 0L && !standardESS)) {
63 ssid = network.getSSID();
64 bssid = network.getBSSID();
67 else if (network.getHESSID() != 0L && network.getAnqpDomainID() > 0) {
70 hessid = network
123 initiate(NetworkDetail network, List<Constants.ANQPElementType> querySet) argument
143 update(NetworkDetail network, Map<Constants.ANQPElementType, ANQPElement> anqpElements) argument
162 getEntry(NetworkDetail network) argument
[all...]
H A DANQPData.java43 public ANQPData(Clock clock, NetworkDetail network, argument
47 mNetwork = network;
54 else if (network.getAnqpDomainID() == 0) {
62 public ANQPData(Clock clock, NetworkDetail network, ANQPData existing) { argument
64 mNetwork = network;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DThreeGPPNetworkElement.java31 CellularNetwork network = CellularNetwork.buildCellularNetwork(payload);
32 if (network != null) {
33 mPlmns.add(network);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsConfig.aidl72 * 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 DJsonRequestCharsetTest.java59 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/packages/Osu/src/com/android/hotspot2/osu/
H A DUserInputListener.java20 public void requestUserInput(URL target, Network network, URL endRedirect); argument
H A DOSUManager.java287 private void connect(Network network) { argument
289 mNetwork = network;
299 Network network;
309 network = mNetwork;
312 if (network == null) {
319 Log.d(TAG, "OSU SSID Associated at " + network.toString());
322 mOSUClient.provision(mOSUManager, network, mKeyManager);
324 mOSUClient.remediate(mOSUManager, network, mKeyManager, mHomeSP, mFlowType);
337 public void requestUserInput(URL target, Network network, URL endRedirect) {
342 intent.putExtra(ConnectivityManager.EXTRA_NETWORK, network);
495 setActiveNetwork(WifiConfiguration wifiConfiguration, Network network) argument
547 initiateProvisioning(OSUInfo osuInfo, Network network) argument
762 doRemediate(String url, Network network, HomeSP homeSP, boolean policy) argument
804 startUserInput(URL target, Network network) argument
[all...]
H A DOSUClient.java72 public void provision(OSUManager osuManager, Network network, KeyManager km) argument
76 network, mURL, km, true))) {
138 if (!osuManager.startUserInput(new URL(webURL), network)) {
162 getCommandData(), network, osuManager.getOMADMAdapter(),
199 retrieveCerts(moData.getMOTree().getRoot(), certs, network, km, mKeyStore);
200 osuManager.provisioningComplete(mOSUInfo, moData, certs, clientKey, network);
204 public void remediate(OSUManager osuManager, Network network, KeyManager km, HomeSP homeSP, argument
207 try (HTTPHandler httpHandler = createHandler(network, homeSP, km, flowType)) {
259 if (!osuManager.startUserInput(new URL(webURL), network)) {
278 getCommandData(), network, osuManage
359 createHandler(Network network, HomeSP homeSP, KeyManager km, int flowType) argument
418 retrieveCerts(OMANode ppsRoot, Map<OSUCertType, List<X509Certificate>> certs, Network network, KeyManager km, KeyStore ks) argument
429 getCerts(OMANode ppsRoot, String[] path, Network network, KeyManager km, KeyStore ks) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCellNetworkScanResult.java92 for (OperatorInfo network : mOperators) {
93 network.writeToParcel(out, flags);
106 for (OperatorInfo network : mOperators) {
107 sb.append(" network:").append(network);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java46 // States of a network:
52 // This state is entered when a registered NetworkAgent for a VPN network transitions to the
53 // CONNECTING state (TODO: go through this state for every network, not just VPNs).
54 // ConnectivityService will tell netd to create the network early in order to add extra UID
55 // routing rules referencing the netID. These rules need to be in place before the network is
56 // connected to avoid racing against client apps trying to connect to a half-setup network.
59 // ConnectivityService will tell netd to create the network if it was not already created, and
62 // If this network can satisfy the default NetworkRequest, then NetworkMonitor will
64 // If this network cannot satisfy the default NetworkRequest, it will immediately be
66 // A network ma
113 public final Network network; field in class:NetworkAgentInfo
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsConfig.java598 * Gets the value for IMS feature item for specified network type.
601 * @param network, defined as in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
607 public void getFeatureValue(int feature, int network, argument
610 Rlog.d(TAG, "getFeatureValue: feature = " + feature + ", network =" + network +
614 miConfig.getFeatureValue(feature, network, listener);
622 * Sets the value for IMS feature item for specified network type.
625 * @param network, as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
632 public void setFeatureValue(int feature, int network, int value, argument
635 Rlog.d(TAG, "setFeatureValue: feature = " + feature + ", network
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DVolley.java39 * @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/volley/src/main/java/com/android/volley/
H A DRequestQueue.java37 * 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 DNetworkDispatcher.java28 * 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 DConnectivityService.java181 // TODO: create better separation between radio types and network types
183 // how long to wait before switching back to a radio's default network
189 // How long to wait before putting up a "This network doesn't have an Internet connection,
190 // connect anyway?" dialog after the user selects a network that doesn't validate.
211 /** Currently active network rules by UID. */
245 // the highest scoring network satisfying a NetworkRequest. This should be passed when
261 * network - EVENT_EXPIRE_NET_TRANSITION_WAKELOCK happens
262 * after a timeout if no network is found (typically 1 min).
289 * used to add a network request
295 * indicates a timeout period is over - check if we had a network ye
439 ValidationLog(Network network, String networkExtraInfo, ReadOnlyLocalLog log) argument
448 addValidationLogs(ReadOnlyLocalLog log, Network network, String networkExtraInfo) argument
868 getNetworkAgentInfoForNetwork(Network network) argument
1093 getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) argument
1227 getLinkProperties(Network network) argument
1250 getNetworkCapabilities(Network network) argument
2492 setAcceptUnvalidated(Network network, boolean accept, boolean always) argument
2498 handleSetAcceptUnvalidated(Network network, boolean accept, boolean always) argument
2545 handlePromptUnvalidated(Network network) argument
2837 reportNetworkConnectivity(Network network, boolean hasConnectivity) argument
2881 getProxyForNetwork(Network network) argument
4017 requestBandwidthUpdate(Network network) argument
5151 startNattKeepalive(Network network, int intervalSeconds, Messenger messenger, IBinder binder, String srcAddr, int srcPort, String dstAddr) argument
5161 stopKeepalive(Network network, int slot) argument
[all...]

Completed in 1331 milliseconds

123