Searched refs:PacketKeepalive (Results 1 – 3 of 3) sorted by relevance
118 import android.net.ConnectivityManager.PacketKeepalive;4000 this.error = PacketKeepalive.SUCCESS; in CallbackValue()4186 PacketKeepalive ka; in testPacketKeepalives()4190 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()4193 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()4196 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4199 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4203 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4206 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()4209 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()[all …]
217 private ConnectivityManager.PacketKeepalive mKeepalive;
1787 public class PacketKeepalive { class in ConnectivityManager1847 private PacketKeepalive(Network network, PacketKeepaliveCallback callback) { in PacketKeepalive() method in ConnectivityManager.PacketKeepalive1899 public PacketKeepalive startNattKeepalive( in startNattKeepalive()1902 final PacketKeepalive k = new PacketKeepalive(network, callback); in startNattKeepalive()