Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java807 private static class TestSocketKeepaliveCallback extends SocketKeepalive.Callback { class in ConnectivityManagerTest
1032 final TestSocketKeepaliveCallback callback = new TestSocketKeepaliveCallback(); in testCreateTcpKeepalive()
1097 int requestCount, @NonNull TestSocketKeepaliveCallback callback, in createConcurrentKeepalivesOfType()
1107 TestSocketKeepaliveCallback.CallbackValue cv = callback.pollCallback(); in createConcurrentKeepalivesOfType()
1109 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_ERROR) { in createConcurrentKeepalivesOfType()
1124 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_STARTED) { in createConcurrentKeepalivesOfType()
1137 @NonNull TestSocketKeepaliveCallback callback) throws Exception { in createConcurrentNattSocketKeepalives()
1159 @NonNull TestSocketKeepaliveCallback callback) { in createConcurrentTcpSocketKeepalives()
1187 final TestSocketKeepaliveCallback callback = new TestSocketKeepaliveCallback();