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
3921 public void expectError(int error) throws Exception { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback3995 public void expectError(int error) throws InterruptedException { in expectError() method in ConnectivityServiceTest.TestSocketKeepaliveCallback4049 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()4052 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()4055 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4058 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4062 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()4065 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()4068 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()4071 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()[all …]