Home
last modified time | relevance | path

Searched refs:expectError (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
DTestEventHandler.java704 public void expectError() { in expectError() method in TestEventHandler
712 public void expectError(int errorId) { in expectError() method in TestEventHandler
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3929 public void expectError(int error) throws Exception { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback
4003 public void expectError(int error) throws InterruptedException { in expectError() method in ConnectivityServiceTest.TestSocketKeepaliveCallback
4057 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 …]