Home
last modified time | relevance | path

Searched refs:PacketKeepalive (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java35 import android.net.ConnectivityManager.PacketKeepalive;
231 private int mStartKeepaliveError = PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED;
232 private int mStopKeepaliveError = PacketKeepalive.NO_KEEPALIVE;
1490 this.error = PacketKeepalive.SUCCESS; in CallbackValue()
1587 PacketKeepalive ka; in testPacketKeepalives()
1591 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()
1594 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()
1597 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()
1600 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()
1603 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); // NAT-T is IPv4-only. in testPacketKeepalives()
[all …]
/frameworks/base/core/java/android/net/
DNetworkAgent.java29 import android.net.ConnectivityManager.PacketKeepalive;
474 onPacketKeepaliveEvent(msg.arg1, PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in startPacketKeepalive()
481 onPacketKeepaliveEvent(msg.arg1, PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in stopPacketKeepalive()
DConnectivityManager.java1428 public class PacketKeepalive { class in ConnectivityManager
1480 private PacketKeepalive(Network network, PacketKeepaliveCallback callback) { in PacketKeepalive() method in ConnectivityManager.PacketKeepalive
1526 public PacketKeepalive startNattKeepalive( in startNattKeepalive()
1529 final PacketKeepalive k = new PacketKeepalive(network, callback); in startNattKeepalive()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java24 import android.net.ConnectivityManager.PacketKeepalive;
48 import static android.net.ConnectivityManager.PacketKeepalive.*;
92 private int mSlot = PacketKeepalive.NO_KEEPALIVE;
148 mSlot, PacketKeepalive.BINDER_DIED, mNai.network).sendToTarget(); in binderDied()
DKeepalivePacketData.java30 import static android.net.ConnectivityManager.PacketKeepalive.*;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java51 import android.net.ConnectivityManager.PacketKeepalive;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java1571 return ConnectivityManager.PacketKeepalive.ERROR_HARDWARE_ERROR; in startWifiIPPacketOffload()
1573 return ConnectivityManager.PacketKeepalive.SUCCESS; in startWifiIPPacketOffload()
1581 return ConnectivityManager.PacketKeepalive.ERROR_HARDWARE_ERROR; in stopWifiIPPacketOffload()
1583 return ConnectivityManager.PacketKeepalive.SUCCESS; in stopWifiIPPacketOffload()
4167 ConnectivityManager.PacketKeepalive.ERROR_INVALID_NETWORK); in processMessage()
4172 ConnectivityManager.PacketKeepalive.ERROR_INVALID_NETWORK); in processMessage()
7285 ConnectivityManager.PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in processMessage()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java54 import android.net.ConnectivityManager.PacketKeepalive;
2270 ConnectivityManager.PacketKeepalive.ERROR_INVALID_NETWORK); in handleAsyncChannelDisconnected()
5157 srcAddr, srcPort, dstAddr, ConnectivityManager.PacketKeepalive.NATT_PORT); in startNattKeepalive()
5163 NetworkAgent.CMD_STOP_PACKET_KEEPALIVE, slot, PacketKeepalive.SUCCESS, network)); in stopKeepalive()
/frameworks/base/
Dcompiled-classes-phone2642 android.net.ConnectivityManager$PacketKeepalive