Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java2347 public void expectError(int error) { in expectError() method in ConnectivityServiceTest.TestKeepaliveCallback
2390 callback.expectError(PacketKeepalive.ERROR_INVALID_NETWORK); in testPacketKeepalives()
2393 callback.expectError(PacketKeepalive.ERROR_INVALID_INTERVAL); in testPacketKeepalives()
2396 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()
2399 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); in testPacketKeepalives()
2402 callback.expectError(PacketKeepalive.ERROR_INVALID_IP_ADDRESS); // NAT-T is IPv4-only. in testPacketKeepalives()
2405 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()
2408 callback.expectError(PacketKeepalive.ERROR_INVALID_PORT); in testPacketKeepalives()
2411 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()
2414 callback.expectError(PacketKeepalive.ERROR_HARDWARE_UNSUPPORTED); in testPacketKeepalives()
[all …]
/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