Searched refs:expectError (Results 1 – 2 of 2) sorted by relevance
5278 public void expectError(int error) throws Exception { in expectError() method in TestKeepaliveCallback5352 public void expectError(int error) throws InterruptedException { in expectError() method in TestSocketKeepaliveCallback5405 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()5408 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()5411 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()5414 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()5418 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()5421 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()5424 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()5427 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()[all …]
1323 public void expectError(int error) { in expectError() method in ConnectivityManagerTest.TestSocketKeepaliveCallback1522 callback.expectError(SocketKeepalive.ERROR_SOCKET_NOT_IDLE); in testCreateTcpKeepalive()