Searched refs:TestSocketKeepaliveCallback (Results 1 – 2 of 2) sorted by relevance
1247 private static class TestSocketKeepaliveCallback extends SocketKeepalive.Callback { class in ConnectivityManagerTest1465 final TestSocketKeepaliveCallback callback = new TestSocketKeepaliveCallback(); in testCreateTcpKeepalive()1530 int requestCount, @NonNull TestSocketKeepaliveCallback callback, in createConcurrentKeepalivesOfType()1540 TestSocketKeepaliveCallback.CallbackValue cv = callback.pollCallback(); in createConcurrentKeepalivesOfType()1542 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_ERROR) { in createConcurrentKeepalivesOfType()1557 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_STARTED) { in createConcurrentKeepalivesOfType()1570 @NonNull TestSocketKeepaliveCallback callback) throws Exception { in createConcurrentNattSocketKeepalives()1592 @NonNull TestSocketKeepaliveCallback callback) { in createConcurrentTcpSocketKeepalives()1620 final TestSocketKeepaliveCallback callback = new TestSocketKeepaliveCallback();
5283 private static class TestSocketKeepaliveCallback extends SocketKeepalive.Callback { class5320 TestSocketKeepaliveCallback(@NonNull Executor executor) { in TestSocketKeepaliveCallback() method in TestSocketKeepaliveCallback5539 TestSocketKeepaliveCallback callback = new TestSocketKeepaliveCallback(executor); in doTestNattSocketKeepalivesWithExecutor()5685 TestSocketKeepaliveCallback callback2 = new TestSocketKeepaliveCallback(executor); in doTestNattSocketKeepalivesWithExecutor()5738 TestSocketKeepaliveCallback callback = new TestSocketKeepaliveCallback(executor); in doTestTcpSocketKeepalivesWithExecutor()5803 TestSocketKeepaliveCallback callback = new TestSocketKeepaliveCallback(executor); in doTestNattSocketKeepalivesFdWithExecutor()