Searched refs:expectError (Results 1 – 2 of 2) sorted by relevance
704 public void expectError() { in expectError() method in TestEventHandler712 public void expectError(int errorId) { in expectError() method in TestEventHandler
2970 public void expectError(int error) { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback3014 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()3017 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()3020 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()3023 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()3026 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); // NAT-T is IPv4-only. in testPacketKeepalives()3029 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()3032 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()3035 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()3038 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()[all …]