- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for adsHandler (0.07 sec)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
} Logger.getLogger("") .addHandler(testHandler) Logger.getLogger("okhttp3") .addHandler(testHandler) Logger.getLogger(Http2::class.java.name) .addHandler(testHandler) Logger.getLogger(TaskRunner::class.java.name) .addHandler(testHandler) Logger.getLogger(OkHttpClient::class.java.name) .addHandler(testHandler) server.enqueue(MockResponse(body = "abc"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
*/ public void testEmptyServiceManager() { Logger logger = Logger.getLogger(ServiceManager.class.getName()); logger.setLevel(Level.FINEST); TestLogHandler logHandler = new TestLogHandler(); logger.addHandler(logHandler); ServiceManager manager = new ServiceManager(Arrays.<Service>asList()); RecordingListener listener = new RecordingListener(); manager.addListener(listener, directExecutor());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 25.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
null } } override fun secureConnectStart(call: Call) { // Register to capture "Produced ClientHello handshake message". currentThread = Thread.currentThread() logger.addHandler(loggerHandler) } override fun secureConnectEnd( call: Call, handshake: Handshake?, ) { logger.removeHandler(loggerHandler) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} }; } public void testCancellationDuringReentrancy() throws Exception { TestLogHandler logHandler = new TestLogHandler(); Logger.getLogger(AbstractFuture.class.getName()).addHandler(logHandler); List<Future<?>> results = new ArrayList<>(); final Runnable[] manualExecutorTask = new Runnable[1]; Executor manualExecutor = new Executor() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
Thread.setDefaultUncaughtExceptionHandler { _, throwable -> initUncaughtException(throwable) } taskQueuesWereIdle = TaskRunner.INSTANCE.activeQueues().isEmpty() applyLogger { addHandler(testLogHandler) level = Level.FINEST useParentHandlers = false } } @SuppressLint("NewApi") override fun afterEach(context: ExtensionContext) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} }; } public void testCancellationDuringReentrancy() throws Exception { TestLogHandler logHandler = new TestLogHandler(); Logger.getLogger(AbstractFuture.class.getName()).addHandler(logHandler); List<Future<?>> results = new ArrayList<>(); final Runnable[] manualExecutorTask = new Runnable[1]; Executor manualExecutor = new Executor() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0)