/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 87 NetworkAgentInfo nai1 = wifiNai(100); in testTransitions() 88 NetworkAgentInfo nai2 = cellNai(101); in testTransitions() 98 NetworkAgentInfo from = wifiNai(100); in testNotificationOnLinger() 99 NetworkAgentInfo to = cellNai(101); in testNotificationOnLinger() 109 NetworkAgentInfo from = wifiNai(100); in testToastOnLinger() 110 NetworkAgentInfo to = cellNai(101); in testToastOnLinger() 120 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterDisconnect() 121 NetworkAgentInfo to = cellNai(101); in testNotificationClearedAfterDisconnect() 134 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterSwitchingBack() 135 NetworkAgentInfo to = cellNai(101); in testNotificationClearedAfterSwitchingBack() [all …]
|
D | IpConnectivityMetricsTest.java | 181 NetworkAgentInfo[][] defaultNetworks = { in testDefaultNetworkEvents() 196 for (NetworkAgentInfo[] pair : defaultNetworks) { in testDefaultNetworkEvents() 376 NetworkAgentInfo cellNai = makeNai(100, 50, false, true, cell); in testEndToEndLogging() 377 NetworkAgentInfo wifiNai = makeNai(101, 60, true, false, wifi); in testEndToEndLogging() 629 NetworkAgentInfo makeNai(int netId, int score, boolean ipv4, boolean ipv6, long transports) { in makeNai() 630 NetworkAgentInfo nai = mock(NetworkAgentInfo.class); in makeNai()
|
D | NetworkMonitorTest.java | 52 @Mock NetworkAgentInfo mAgent;
|
D | NetworkNotificationManagerTest.java | 76 @Mock NetworkAgentInfo mWifiNai; 77 @Mock NetworkAgentInfo mCellNai;
|
D | Nat464XlatTest.java | 60 @Mock NetworkAgentInfo mNai;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | LingerMonitor.java | 107 private static boolean hasTransport(NetworkAgentInfo nai, int transport) { in hasTransport() 111 private int getNotificationSource(NetworkAgentInfo toNai) { in getNotificationSource() 120 private boolean everNotified(NetworkAgentInfo nai) { in everNotified() 125 public boolean isNotificationEnabled(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in isNotificationEnabled() 151 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showNotification() 163 private void maybeStopNotifying(NetworkAgentInfo nai) { in maybeStopNotifying() 173 private void notify(NetworkAgentInfo fromNai, NetworkAgentInfo toNai, boolean forceToast) { in notify() 208 public void noteLingerDefaultNetwork(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in noteLingerDefaultNetwork() 273 public void noteDisconnect(NetworkAgentInfo nai) { in noteDisconnect()
|
D | 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, in KeepaliveInfo() 119 public NetworkAgentInfo getNai() { in getNai() 230 private int findFirstFreeSlot(NetworkAgentInfo nai) { in findFirstFreeSlot() 250 NetworkAgentInfo nai = ki.getNai(); in handleStartKeepalive() 256 public void handleStopAllKeepalives(NetworkAgentInfo nai, int reason) { in handleStopAllKeepalives() 267 public void handleStopKeepalive(NetworkAgentInfo nai, int slot, int reason) { in handleStopKeepalive() 286 public void handleCheckKeepalivesStillValid(NetworkAgentInfo nai) { in handleCheckKeepalivesStillValid() [all …]
|
D | DefaultNetworkMetrics.java | 116 long timeMs, NetworkAgentInfo newNai, NetworkAgentInfo oldNai) { in logDefaultNetworkEvent() 121 private void logCurrentDefaultNetwork(long timeMs, NetworkAgentInfo oldNai) { in logCurrentDefaultNetwork() 145 private void newDefaultNetwork(long timeMs, NetworkAgentInfo newNai) { in newDefaultNetwork() 162 private static void fillLinkInfo(DefaultNetworkEvent ev, NetworkAgentInfo nai) { in fillLinkInfo()
|
D | NetworkNotificationManager.java | 86 private static int getFirstTransportType(NetworkAgentInfo nai) { in getFirstTransportType() 130 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() 131 NetworkAgentInfo switchToNai, PendingIntent intent, boolean highPriority) { in showNotification() 274 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showToast()
|
D | NetworkAgentInfo.java | 119 public class NetworkAgentInfo implements Comparable<NetworkAgentInfo> { class 248 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, in NetworkAgentInfo() method in NetworkAgentInfo 620 public int compareTo(NetworkAgentInfo other) { in compareTo()
|
D | Nat464Xlat.java | 65 private final NetworkAgentInfo mNetwork; 79 public Nat464Xlat(INetworkManagementService nmService, NetworkAgentInfo nai) { in Nat464Xlat() 89 public static boolean requiresClat(NetworkAgentInfo nai) { in requiresClat()
|
D | NetworkMonitor.java | 254 private final NetworkAgentInfo mNetworkAgentInfo; 303 public NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, in NetworkMonitor() 310 protected NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, in NetworkMonitor()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 152 import com.android.server.connectivity.NetworkAgentInfo; 274 NetworkAgentInfo.class }); 574 private final ArrayList<NetworkAgentInfo> mTypeLists[]; 577 mTypeLists = (ArrayList<NetworkAgentInfo>[]) in LegacyTypeTracker() 586 mTypeLists[type] = new ArrayList<NetworkAgentInfo>(); in addSupportedType() 593 public NetworkAgentInfo getNetworkForType(int type) { in getNetworkForType() 602 private void maybeLogBroadcast(NetworkAgentInfo nai, DetailedState state, int type, in maybeLogBroadcast() 612 public void add(int type, NetworkAgentInfo nai) { in add() 618 ArrayList<NetworkAgentInfo> list = mTypeLists[type]; in add() 635 public void remove(int type, NetworkAgentInfo nai, boolean wasDefault) { in remove() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 56 import com.android.server.connectivity.NetworkAgentInfo; 152 handleRegisterNetworkAgent((NetworkAgentInfo)msg.obj); in handleMessage() 182 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); in handleMessage() 207 NetworkAgentInfo nai = null; in handleAsyncChannelHalfConnect() 223 NetworkAgentInfo nai = mNetworkAgentInfos.remove(msg.replyTo); in handleAsyncChannelHalfConnect() 238 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); in handleAsyncChannelDisconnected() 322 private final HashMap<Messenger, NetworkAgentInfo> mNetworkAgentInfos = 323 new HashMap<Messenger, NetworkAgentInfo>(); 789 private void handleRegisterNetworkAgent(NetworkAgentInfo na) { in handleRegisterNetworkAgent() 805 for (NetworkAgentInfo network : mNetworkAgentInfos.values()) { in handleRegisterNetworkRequest() [all …]
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 148 import com.android.server.connectivity.NetworkAgentInfo; 867 NetworkAgentInfo networkAgentInfo, NetworkRequest defaultRequest, in WrappedNetworkMonitor() 946 NetworkAgentInfo nai, NetworkRequest defaultRequest) { in createNetworkMonitor()
|
/frameworks/base/services/ |
D | art-profile | 2242 Lcom/android/server/connectivity/NetworkAgentInfo;
|