Searched refs:getAndClearSubmittedRunnable (Results 1 – 1 of 1) sorted by relevance
622 Runnable firstMdnsTask = currentThreadExecutor.getAndClearSubmittedRunnable(); in testIfPreviousTaskIsCanceledWhenNewSessionStarts()658 currentThreadExecutor.getAndClearSubmittedRunnable().run(); in testIfPreviousTaskIsCanceledWhenSessionStops()668 assertNotNull(currentThreadExecutor.getAndClearSubmittedRunnable()); in testQueryScheduledWhenAnsweredFromCache()685 assertNull(currentThreadExecutor.getAndClearSubmittedRunnable()); in testQueryScheduledWhenAnsweredFromCache()1023 Runnable firstMdnsTask = currentThreadExecutor.getAndClearSubmittedRunnable(); in processResponse_searchOptionsEnableServiceRemoval_shouldRemove()1056 Runnable firstMdnsTask = currentThreadExecutor.getAndClearSubmittedRunnable(); in processResponse_searchOptionsNotEnableServiceRemoval_shouldNotRemove()1081 Runnable firstMdnsTask = currentThreadExecutor.getAndClearSubmittedRunnable(); in processResponse_removeServiceAfterTtlExpiresEnabled_shouldRemove()2180 Runnable getAndClearSubmittedRunnable() { in getAndClearSubmittedRunnable() method in FakeExecutor