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
3929 public void expectError(int error) throws Exception { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback4003 public void expectError(int error) throws InterruptedException { in expectError() method in ConnectivityServiceTest.TestSocketKeepaliveCallback4057 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()4060 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()4063 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4066 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4070 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4073 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()4076 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()4079 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()[all …]