/frameworks/base/tests/net/java/com/android/server/connectivity/ |
LingerMonitorTest.java | 87 NetworkAgentInfo nai1 = wifiNai(100); 88 NetworkAgentInfo nai2 = cellNai(101); 98 NetworkAgentInfo from = wifiNai(100); 99 NetworkAgentInfo to = cellNai(101); 109 NetworkAgentInfo from = wifiNai(100); 110 NetworkAgentInfo to = cellNai(101); 120 NetworkAgentInfo from = wifiNai(100); 121 NetworkAgentInfo to = cellNai(101); 134 NetworkAgentInfo from = wifiNai(100); 135 NetworkAgentInfo to = cellNai(101) [all...] |
NetworkMonitorTest.java | 52 @Mock NetworkAgentInfo mAgent;
|
IpConnectivityMetricsTest.java | 181 NetworkAgentInfo[][] defaultNetworks = { 196 for (NetworkAgentInfo[] pair : defaultNetworks) { 376 NetworkAgentInfo cellNai = makeNai(100, 50, false, true, cell); 377 NetworkAgentInfo wifiNai = makeNai(101, 60, true, false, wifi); 629 NetworkAgentInfo makeNai(int netId, int score, boolean ipv4, boolean ipv6, long transports) { 630 NetworkAgentInfo nai = mock(NetworkAgentInfo.class);
|
NetworkNotificationManagerTest.java | 76 @Mock NetworkAgentInfo mWifiNai; 77 @Mock NetworkAgentInfo mCellNai;
|
Nat464XlatTest.java | 60 @Mock NetworkAgentInfo mNai;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
LingerMonitor.java | 107 private static boolean hasTransport(NetworkAgentInfo nai, int transport) { 111 private int getNotificationSource(NetworkAgentInfo toNai) { 120 private boolean everNotified(NetworkAgentInfo nai) { 125 public boolean isNotificationEnabled(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { 151 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { 163 private void maybeStopNotifying(NetworkAgentInfo nai) { 173 private void notify(NetworkAgentInfo fromNai, NetworkAgentInfo toNai, boolean forceToast) [all...] |
DefaultNetworkMetrics.java | 116 long timeMs, NetworkAgentInfo newNai, NetworkAgentInfo oldNai) { 121 private void logCurrentDefaultNetwork(long timeMs, NetworkAgentInfo oldNai) { 145 private void newDefaultNetwork(long timeMs, NetworkAgentInfo newNai) { 162 private static void fillLinkInfo(DefaultNetworkEvent ev, NetworkAgentInfo nai) {
|
KeepaliveTracker.java | 21 import com.android.server.connectivity.NetworkAgentInfo; 68 private final HashMap <NetworkAgentInfo, HashMap<Integer, KeepaliveInfo>> mKeepalives = 88 private final NetworkAgentInfo mNai; 101 public KeepaliveInfo(Messenger messenger, IBinder binder, NetworkAgentInfo nai, 119 public NetworkAgentInfo getNai() { 230 private int findFirstFreeSlot(NetworkAgentInfo nai) { 250 NetworkAgentInfo nai = ki.getNai(); 256 public void handleStopAllKeepalives(NetworkAgentInfo nai, int reason) { 267 public void handleStopKeepalive(NetworkAgentInfo nai, int slot, int reason) { 286 public void handleCheckKeepalivesStillValid(NetworkAgentInfo nai) [all...] |
NetworkNotificationManager.java | 86 private static int getFirstTransportType(NetworkAgentInfo nai) { 130 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, 131 NetworkAgentInfo switchToNai, PendingIntent intent, boolean highPriority) { 274 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) {
|
NetworkAgentInfo.java | 119 public class NetworkAgentInfo implements Comparable<NetworkAgentInfo> { 195 * obj = this NetworkAgentInfo 248 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, 599 return "NetworkAgentInfo{ ni{" + networkInfo + "} " + 614 return "NetworkAgentInfo [" + networkInfo.getTypeName() + " (" + 620 public int compareTo(NetworkAgentInfo other) {
|
Nat464Xlat.java | 65 private final NetworkAgentInfo mNetwork; 79 public Nat464Xlat(INetworkManagementService nmService, NetworkAgentInfo nai) { 86 * @param network the NetworkAgentInfo corresponding to the network. 89 public static boolean requiresClat(NetworkAgentInfo nai) {
|
NetworkMonitor.java | 254 private final NetworkAgentInfo mNetworkAgentInfo; 303 public NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, 305 this(context, handler, networkAgentInfo, defaultRequest, new IpConnectivityLog(), 310 protected NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, 314 super(TAG + networkAgentInfo.name()); 317 // <timestamp> 862 2402 D NetworkMonitor/NetworkAgentInfo [WIFI () - 100]: ... 324 mNetworkAgentInfo = networkAgentInfo; 325 mNetwork = new OneAddressPerFamilyNetwork(networkAgentInfo.network()) [all...] |
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 152 import com.android.server.connectivity.NetworkAgentInfo; 274 NetworkAgentInfo.class }); 538 * NetworkAgentInfo objects that support a given type, but the legacy 574 private final ArrayList<NetworkAgentInfo> mTypeLists[]; 577 mTypeLists = (ArrayList<NetworkAgentInfo>[]) 586 mTypeLists[type] = new ArrayList<NetworkAgentInfo>(); 593 public NetworkAgentInfo getNetworkForType(int type) { 602 private void maybeLogBroadcast(NetworkAgentInfo nai, DetailedState state, int type, 612 public void add(int type, NetworkAgentInfo nai) { 618 ArrayList<NetworkAgentInfo> list = mTypeLists[type] [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
ConnectivityServiceMock.java | 56 import com.android.server.connectivity.NetworkAgentInfo; 152 handleRegisterNetworkAgent((NetworkAgentInfo)msg.obj); 182 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); 206 //NetworkAgentInfo nai = mNetworkForRequestId.get(nri.request.requestId); 207 NetworkAgentInfo nai = null; 223 NetworkAgentInfo nai = mNetworkAgentInfos.remove(msg.replyTo); 238 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); 275 // NetworkAgentInfo currentNetwork = mNetworkForRequestId.get(request.requestId); 319 // NetworkAgentInfo keyed off its connecting messenger 322 private final HashMap<Messenger, NetworkAgentInfo> mNetworkAgentInfos [all...] |
/frameworks/base/tests/net/java/com/android/server/ |
ConnectivityServiceTest.java | 148 import com.android.server.connectivity.NetworkAgentInfo; [all...] |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-7.0.0_r1-robolectric-0.jar | |