HomeSort by relevance Sort by last modified time
    Searched refs:NetworkAgent (Results 1 - 25 of 26) sorted by null

1 2

  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ConnectedScore.java 19 import android.net.NetworkAgent;
27 /** Maximum NetworkAgent score that should be generated by wifi */
28 public static final int WIFI_MAX_SCORE = NetworkAgent.WIFI_BASE_SCORE;
31 public static final int WIFI_TRANSITION_SCORE = NetworkAgent.WIFI_BASE_SCORE - 10;
100 * @return network score - on NetworkAgent scale.
WifiScoreReport.java 20 import android.net.NetworkAgent;
108 * @param networkAgent NetworkAgent to be notified of new score.
112 public void calculateAndReportScore(WifiInfo wifiInfo, NetworkAgent networkAgent,
131 if (score > NetworkAgent.WIFI_BASE_SCORE) {
132 score = NetworkAgent.WIFI_BASE_SCORE;
146 if (networkAgent != null) {
147 networkAgent.sendNetworkScore(score);
LegacyConnectedScore.java 20 import android.net.NetworkAgent;
200 if (score > NetworkAgent.WIFI_BASE_SCORE) score = NetworkAgent.WIFI_BASE_SCORE;
WifiMetrics.java 20 import android.net.NetworkAgent;
78 private static final int MAX_WIFI_SCORE = NetworkAgent.WIFI_BASE_SCORE;
    [all...]
WifiStateMachine.java 50 import android.net.NetworkAgent;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pan/
BluetoothTetheringNetworkFactory.java 24 import android.net.NetworkAgent;
58 private NetworkAgent mNetworkAgent;
86 // NetworkAgent, NetworkInfo, and associated instance lifetimes.
130 // Create our NetworkAgent.
131 mNetworkAgent = new NetworkAgent(getLooper(), mContext, NETWORK_TYPE,
147 // Let NetworkAgent disconnect do the teardown.
150 // Called by the NetworkFactory, NetworkAgent or PanService to tear down network.
  /frameworks/base/services/core/java/com/android/server/connectivity/
KeepaliveTracker.java 26 import android.net.NetworkAgent;
49 import static android.net.NetworkAgent.CMD_START_PACKET_KEEPALIVE;
50 import static android.net.NetworkAgent.CMD_STOP_PACKET_KEEPALIVE;
51 import static android.net.NetworkAgent.EVENT_PACKET_KEEPALIVE;
147 NetworkAgent.CMD_STOP_PACKET_KEEPALIVE,
211 // NetworkAgent is alive, should we ask it to reply, so it can return failure?
359 NetworkAgent.CMD_START_PACKET_KEEPALIVE, ki).sendToTarget();
Vpn.java 52 import android.net.NetworkAgent;
143 private NetworkAgent mNetworkAgent;
803 mNetworkAgent = new NetworkAgent(mLooper, mContext, NETWORKTYPE,
831 private void agentDisconnect(NetworkAgent networkAgent) {
832 if (networkAgent != null)
    [all...]
  /frameworks/base/core/java/android/net/
NetworkAgent.java 38 * A bearer may have more than one NetworkAgent if it can simultaneously
44 public abstract class NetworkAgent extends Handler {
63 * Sent by ConnectivityService to the NetworkAgent to inform it of
64 * suspected connectivity problems on its network. The NetworkAgent
70 * Sent by the NetworkAgent (note the EVENT vs CMD prefix) to
78 * Sent by the NetworkAgent to ConnectivityService to pass the current
85 * Sent by the NetworkAgent to ConnectivityService to pass the current
97 * Sent by the NetworkAgent to ConnectivityService to pass the current
104 * Sent by the NetworkAgent to ConnectivityService to add new UID ranges
111 * Sent by the NetworkAgent to ConnectivityService to remove UID range
    [all...]
ConnectivityManager.java     [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiScoreReportTest.java 29 import android.net.NetworkAgent;
69 @Mock NetworkAgent mNetworkAgent;
155 * The score should be sent to both the NetworkAgent and the
168 * Test for operation with null NetworkAgent
WifiMetricsTest.java 23 import android.net.NetworkAgent;
    [all...]
  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetNetworkFactory.java 29 import android.net.NetworkAgent;
93 private NetworkAgent mNetworkAgent;
148 // ConnectivityService will only forget our NetworkAgent if we send it a NetworkInfo object
287 Log.e(TAG, "Already have a NetworkAgent - aborting new request");
294 // Create our NetworkAgent.
295 mNetworkAgent = new NetworkAgent(mHandler.getLooper(), mContext,
517 pw.println("NetworkAgent: " + mNetworkAgent);
  /frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
LowpanInterfaceTracker.java 25 import android.net.NetworkAgent;
90 private NetworkAgent mNetworkAgent;
609 new NetworkAgent(
  /frameworks/base/services/core/java/com/android/server/
ConnectivityService.java 57 import android.net.NetworkAgent;
248 new Class[] { AsyncChannel.class, ConnectivityService.class, NetworkAgent.class,
    [all...]
  /external/v8/tools/
SourceMap.js 99 NetworkAgent.loadResourceForFrontend(WebInspector.resourceTreeModel.mainFrame.id, sourceMapURL, undefined, contentLoaded.bind(this));
104 * @param {NetworkAgent.Headers} headers
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DataConnection.java 23 import android.net.NetworkAgent;
170 private NetworkAgent mNetworkAgent;
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
WifiAwareDataPathStateManager.java 29 import android.net.NetworkAgent;
521 nnri.networkAgent = new WifiAwareNetworkAgent(mLooper, mContext,
526 nnri.networkAgent.sendNetworkInfo(networkInfo);
    [all...]
  /frameworks/base/tests/net/java/com/android/server/
ConnectivityServiceTest.java 60 import android.net.NetworkAgent;
305 private NetworkAgent mNetworkAgent;
341 mNetworkAgent = new NetworkAgent(mHandlerThread.getLooper(), mServiceContext,
372 // Waits for the NetworkAgent to be registered, which includes the creation of the
413 * Transition this NetworkAgent to CONNECTED state with NET_CAPABILITY_INTERNET.
421 * Transition this NetworkAgent to CONNECTED state.
    [all...]
  /frameworks/base/config/
compiled-classes-phone     [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /prebuilts/misc/common/robolectric/lib/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 

Completed in 1193 milliseconds

1 2