Searched refs:expectError (Results 1 – 2 of 2) sorted by relevance
2347 public void expectError(int error) { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback2390 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()2393 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()2396 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()2399 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()2402 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); // NAT-T is IPv4-only. in testPacketKeepalives()2405 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()2408 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()2411 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()2414 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()[all …]
704 public void expectError() { in expectError() method in TestEventHandler712 public void expectError(int errorId) { in expectError() method in TestEventHandler