Home
last modified time | relevance | path

Searched refs:NetworkAgentInfo (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DLingerMonitorTest.java77 NetworkAgentInfo nai1 = wifiNai(100); in testTransitions()
78 NetworkAgentInfo nai2 = cellNai(101); in testTransitions()
88 NetworkAgentInfo from = wifiNai(100); in testNotificationOnLinger()
89 NetworkAgentInfo to = cellNai(101); in testNotificationOnLinger()
99 NetworkAgentInfo from = wifiNai(100); in testToastOnLinger()
100 NetworkAgentInfo to = cellNai(101); in testToastOnLinger()
110 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterDisconnect()
111 NetworkAgentInfo to = cellNai(101); in testNotificationClearedAfterDisconnect()
124 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterSwitchingBack()
125 NetworkAgentInfo to = cellNai(101); in testNotificationClearedAfterSwitchingBack()
[all …]
DNetworkNotificationManagerTest.java67 @Mock NetworkAgentInfo mWifiNai;
68 @Mock NetworkAgentInfo mCellNai;
DNat464XlatTest.java60 @Mock NetworkAgentInfo mNai;
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java107 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()
DKeepaliveTracker.java22 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 …]
DNetworkNotificationManager.java84 private static int getFirstTransportType(NetworkAgentInfo nai) { in getFirstTransportType()
128 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification()
129 NetworkAgentInfo switchToNai, PendingIntent intent, boolean highPriority) { in showNotification()
271 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showToast()
DNetworkAgentInfo.java119 public class NetworkAgentInfo implements Comparable<NetworkAgentInfo> { class
256 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, in NetworkAgentInfo() method in NetworkAgentInfo
612 public int compareTo(NetworkAgentInfo other) { in compareTo()
DNat464Xlat.java58 private final NetworkAgentInfo mNetwork;
72 public Nat464Xlat(INetworkManagementService nmService, NetworkAgentInfo nai) { in Nat464Xlat()
82 public static boolean requiresClat(NetworkAgentInfo nai) { in requiresClat()
DNetworkMonitor.java234 private final NetworkAgentInfo mNetworkAgentInfo;
279 public NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, in NetworkMonitor()
285 protected NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo, in NetworkMonitor()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java134 import com.android.server.connectivity.NetworkAgentInfo;
249 NetworkAgentInfo.class });
539 private final ArrayList<NetworkAgentInfo> mTypeLists[];
542 mTypeLists = (ArrayList<NetworkAgentInfo>[]) in LegacyTypeTracker()
551 mTypeLists[type] = new ArrayList<NetworkAgentInfo>(); in addSupportedType()
558 public NetworkAgentInfo getNetworkForType(int type) { in getNetworkForType()
567 private void maybeLogBroadcast(NetworkAgentInfo nai, DetailedState state, int type, in maybeLogBroadcast()
577 public void add(int type, NetworkAgentInfo nai) { in add()
583 ArrayList<NetworkAgentInfo> list = mTypeLists[type]; in add()
600 public void remove(int type, NetworkAgentInfo nai, boolean wasDefault) { in remove()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java56 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/
DConnectivityServiceTest.java103 import com.android.server.connectivity.NetworkAgentInfo;
691 NetworkAgentInfo networkAgentInfo, NetworkRequest defaultRequest, in WrappedNetworkMonitor()
767 NetworkAgentInfo nai, NetworkRequest defaultRequest) { in createNetworkMonitor()
/frameworks/base/services/
Dart-profile907 …yService$LegacyTypeTracker;->getNetworkForType(I)Lcom/android/server/connectivity/NetworkAgentInfo;
919 …rap39(Lcom/android/server/ConnectivityService;Lcom/android/server/connectivity/NetworkAgentInfo;I)V
920 …erver/ConnectivityService$NetworkRequestInfo;Lcom/android/server/connectivity/NetworkAgentInfo;II)V
932 …/server/ConnectivityService;->getDefaultNetwork()Lcom/android/server/connectivity/NetworkAgentInfo;
934 …NetworkAgentInfoForNetwork(Landroid/net/Network;)Lcom/android/server/connectivity/NetworkAgentInfo;
936 …e;->getNetworkCapabilitiesInternal(Lcom/android/server/connectivity/NetworkAgentInfo;)Landroid/net…
949 …ConnectivityService;->notifyNetworkCallbacks(Lcom/android/server/connectivity/NetworkAgentInfo;II)V
950 …r/ConnectivityService;->processListenRequests(Lcom/android/server/connectivity/NetworkAgentInfo;Z)V
952 …tivityService;->rematchAllNetworksAndRequests(Lcom/android/server/connectivity/NetworkAgentInfo;I)V
953 …ervice;->rematchNetworkAndRequests(Lcom/android/server/connectivity/NetworkAgentInfo;Lcom/android/…
[all …]