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.java2970 public void expectError(int error) { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback
3014 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()
3017 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()
3020 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()
3023 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()
3026 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); // NAT-T is IPv4-only. in testPacketKeepalives()
3029 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()
3032 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()
3035 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()
3038 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()
[all …]