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
3347 public void expectError(int error) { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback3394 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()3397 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()3400 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()3403 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()3407 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()3410 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()3413 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()3416 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()3419 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()[all …]