Searched refs:NetworkAgentInfo (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DLingerMonitorTest.java77 NetworkAgentInfo nai1 = wifiNai(100);
78 NetworkAgentInfo nai2 = cellNai(101);
88 NetworkAgentInfo from = wifiNai(100);
89 NetworkAgentInfo to = cellNai(101);
99 NetworkAgentInfo from = wifiNai(100);
100 NetworkAgentInfo to = cellNai(101);
110 NetworkAgentInfo from = wifiNai(100);
111 NetworkAgentInfo to = cellNai(101);
124 NetworkAgentInfo from = wifiNai(100);
125 NetworkAgentInfo t
[all...]
H A DNetworkNotificationManagerTest.java66 @Mock NetworkAgentInfo mWifiNai;
67 @Mock NetworkAgentInfo mCellNai;
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DLingerMonitor.java107 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 toNa
[all...]
H A 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,
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 na
[all...]
H A DNetworkNotificationManager.java84 private static int getFirstTransportType(NetworkAgentInfo nai) {
128 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai,
129 NetworkAgentInfo switchToNai, PendingIntent intent, boolean highPriority) {
259 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) {
H A DNetworkAgentInfo.java117 public class NetworkAgentInfo implements Comparable<NetworkAgentInfo> { class in inherits:Comparable
193 * obj = this NetworkAgentInfo
254 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, method in class:NetworkAgentInfo
555 return "NetworkAgentInfo{ ni{" + networkInfo + "} " +
569 return "NetworkAgentInfo [" + networkInfo.getTypeName() + " (" +
576 public int compareTo(NetworkAgentInfo other) {
H A DNat464Xlat.java61 private final NetworkAgentInfo mNetwork;
81 Handler handler, NetworkAgentInfo nai) {
89 * @param network the NetworkAgentInfo corresponding to the network.
92 public static boolean requiresClat(NetworkAgentInfo nai) {
H A DNetworkMonitor.java230 private final NetworkAgentInfo mNetworkAgentInfo;
274 public NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo,
280 protected NetworkMonitor(Context context, Handler handler, NetworkAgentInfo networkAgentInfo,
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java132 import com.android.server.connectivity.NetworkAgentInfo;
245 NetworkAgentInfo.class });
489 * NetworkAgentInfo objects that support a given type, but the legacy
525 private final ArrayList<NetworkAgentInfo> mTypeLists[];
528 mTypeLists = (ArrayList<NetworkAgentInfo>[])
537 mTypeLists[type] = new ArrayList<NetworkAgentInfo>();
544 public NetworkAgentInfo getNetworkForType(int type) {
553 private void maybeLogBroadcast(NetworkAgentInfo nai, DetailedState state, int type,
563 public void add(int type, NetworkAgentInfo nai) {
569 ArrayList<NetworkAgentInfo> lis
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java56 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> mNetworkAgentInfo
[all...]
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java94 import com.android.server.connectivity.NetworkAgentInfo;
652 NetworkAgentInfo networkAgentInfo, NetworkRequest defaultRequest,
728 NetworkAgentInfo nai, NetworkRequest defaultRequest) {

Completed in 323 milliseconds