Searched defs:network (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DChartData.java22 public NetworkStatsHistory network; field in class:ChartData
/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
/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/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/packages/Osu/src/com/android/hotspot2/osu/
H A DUserInputListener.java20 public void requestUserInput(URL target, Network network, URL endRedirect); argument
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...]
H A DOSUSocketFactory.java79 Network network, URL url, KeyManager km,
86 return new OSUSocketFactory(ks, homeSP, flowType, network, url, km);
89 private OSUSocketFactory(KeyStore ks, HomeSP homeSP, int flowType, Network network, argument
91 mNetwork = network;
163 throw new IOException("No available network");
78 getSocketFactory(KeyStore ks, HomeSP homeSP, int flowType, Network network, URL url, KeyManager km, boolean enforceSecurity) 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...]
/frameworks/volley/src/main/java/com/android/volley/
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...]
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...]
/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
138 * @return current target connected network
174 localLoge("No network score service: Couldn't register as a WiFi score Manager, type="
200 private String getNetworkString(WifiConfiguration network) { argument
201 if (network
339 calculateBssidScore(ScanResult scanResult, WifiConfiguration network, WifiConfiguration currentNetwork, boolean sameBssid, boolean sameSelect, StringBuffer sbuf) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
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;
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...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DWifiNetworkAdapter.java115 public void launchBrowser(URL target, Network network, URL endRedirect) { argument
120 intent.putExtra(ConnectivityManager.EXTRA_NETWORK, network);
253 throw new IOException("Failed to find matching network config");
269 * Connect to an OSU provisioning network. The connection should not bring down other existing
270 * connection and the network should not be made the default network since the connection
274 * @param osuInfo The OSU info object that defines the parameters for the network. An OSU
275 * network is either an open network, or, if the OSU NAI is set, an "OSEN"
276 * network, whic
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
H A DESTHandler.java82 public ESTHandler(GetCertData certData, Network network, OMADMAdapter omadmAdapter, argument
89 network, mURL, km, true);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUIFactory.java107 RotationLockController rotation, NetworkController network,
114 return new QSTileHost(context, statusBar, bluetooth, location, rotation, network, zen,
105 createQSTileHost(Context context, PhoneStatusBar statusBar, BluetoothController bluetooth, LocationController location, RotationLockController rotation, NetworkController network, ZenModeController zen, HotspotController hotspot, CastController cast, FlashlightController flashlight, UserSwitcherController userSwitcher, UserInfoController userInfo, KeyguardMonitor keyguard, SecurityController security, BatteryController battery, StatusBarIconController iconController, NextAlarmController nextAlarmController) argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiTracker.java353 // If saved network not present in scan result then set its Rssi to MAX_VALUE
409 /* This network is connected via this passpoint config */
545 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { argument
546 if (network.equals(mWifiManager.getCurrentNetwork())) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQSTileHost.java121 RotationLockController rotation, NetworkController network,
133 mNetwork = network;
119 QSTileHost(Context context, PhoneStatusBar statusBar, BluetoothController bluetooth, LocationController location, RotationLockController rotation, NetworkController network, ZenModeController zen, HotspotController hotspot, CastController cast, FlashlightController flashlight, UserSwitcherController userSwitcher, UserInfoController userInfo, KeyguardMonitor keyguard, SecurityController security, BatteryController battery, StatusBarIconController iconController, NextAlarmController nextAlarmController) argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java53 // States of a network:
59 // This state is entered when a registered NetworkAgent for a VPN network transitions to the
60 // CONNECTING state (TODO: go through this state for every network, not just VPNs).
61 // ConnectivityService will tell netd to create the network early in order to add extra UID
62 // routing rules referencing the netID. These rules need to be in place before the network is
63 // connected to avoid racing against client apps trying to connect to a half-setup network.
66 // ConnectivityService will tell netd to create the network if it was not already created, and
69 // If this network can satisfy the default NetworkRequest, then NetworkMonitor will
71 // If this network cannot satisfy the default NetworkRequest, it will immediately be
73 // A network ma
123 public final Network network; field in class:NetworkAgentInfo
[all...]
H A DNetworkDiagnostics.java64 * A simple class to diagnose network connectivity fundamentals. Current
168 public NetworkDiagnostics(Network network, LinkProperties lp, long timeoutMs) { argument
169 mNetwork = network;
211 + " network{" + mNetwork + "}"
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsConfig.java648 * Gets the value for IMS feature item for specified network type.
651 * @param network, defined as in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
657 public void getFeatureValue(int feature, int network, argument
660 Rlog.d(TAG, "getFeatureValue: feature = " + feature + ", network =" + network +
664 miConfig.getFeatureValue(feature, network, listener);
672 * Sets the value for IMS feature item for specified network type.
675 * @param network, as defined in android.telephony.TelephonyManager#NETWORK_TYPE_XXX.
682 public void setFeatureValue(int feature, int network, int value, argument
685 Rlog.d(TAG, "setFeatureValue: feature = " + feature + ", network
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigManagerTest.java250 * Verifies that getConfiguredNetworksSize() returns the number of network configurations
277 // Find the network configuration to test (assume that |actualConfigs| contains them in
290 * Verifies that getConfiguredNetworksSize() returns the network configurations visible to the
303 * Verifies that getPrivilegedConfiguredNetworks() returns the network configurations visible to
317 * Verifies that getWifiConfiguration(int netId) can be used to access network configurations
339 * Verifies that getWifiConfiguration(String key) can be used to access network configurations
361 * Verifies that enableAllNetworks() enables all temporarily disabled network configurations
391 * Verifies that selectNetwork() disables all network configurations visible to the current user
402 // Enable all network configurations.
407 // Try to select a network configuratio
452 verifySaveNetwork(int network) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java431 public void selectNetworkManually(OperatorInfo network, boolean persistSelection, argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DTelephonyMetrics.java808 * @param network The IMS network type
812 public void writeImsSetFeatureValue(int phoneId, int feature, int network, int value, argument
842 * Write the preferred network settings changed event
845 * @param networkType The preferred network

Completed in 444 milliseconds

12