Home
last modified time | relevance | path

Searched full:stopping (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java26 import static com.google.common.util.concurrent.Service.State.STOPPING;
79 terminatedCallback(STOPPING);
90 return new Callback<Listener>("stopping({from = " + from + "})") {
92 listener.stopping(from);
199 stopping(STARTING);
202 snapshot = new StateSnapshot(STOPPING);
203 stopping(RUNNING);
206 case STOPPING:
312 snapshot = new StateSnapshot(STOPPING);
328 * the service to transition from {@link State#STOPPING} to {@link State#TERMINATED}.
[all …]
DService.java35 * <li>{@linkplain State#STOPPING STOPPING} -&gt;
216 STOPPING { enumConstant
270 * Called when the service transitions to the {@linkplain State#STOPPING STOPPING} state. The
276 public void stopping(State from) {} in stopping() method in Service.Listener
286 * {@linkplain State#STOPPING STOPPING}.
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DServiceTest.java23 import static com.google.common.util.concurrent.Service.State.STOPPING;
40 assertLessThan(STARTING, STOPPING); in testStateOrdering()
43 assertLessThan(RUNNING, STOPPING); in testStateOrdering()
46 assertLessThan(STOPPING, FAILED); in testStateOrdering()
47 assertLessThan(STOPPING, TERMINATED); in testStateOrdering()
DAbstractServiceTest.java72 State.STOPPING, in testNoOpServiceStartStop()
110 State.STOPPING, in testNoOpServiceStopIdempotence()
184 assertEquals(State.STOPPING, service.state()); in testManualServiceStartStop()
195 State.STOPPING, in testManualServiceStartStop()
230 assertEquals(State.STOPPING, service.state()); in testManualServiceStopWhileStarting()
235 assertEquals(State.STOPPING, service.state()); in testManualServiceStopWhileStarting()
245 State.STOPPING, in testManualServiceStopWhileStarting()
252 * {@link State#STARTING} more than once, the {@link Listener#stopping(State)} callback would get
259 @Override public void stopping(State from) { in testManualServiceStopMultipleTimesWhileStarting()
308 assertEquals(ImmutableList.of(State.STARTING, State.RUNNING, State.STOPPING, State.FAILED), in testManualServiceFailWhileStopping()
[all …]
DAbstractExecutionThreadServiceTest.java71 enterRun.await(); // to avoid stopping the service until run() is invoked in testServiceStartStop()
84 enterRun.await(); // to avoid stopping the service until run() is invoked in testServiceStopIdempotence()
121 private State expectedShutdownState = State.STOPPING;
371 assertEquals(Service.State.STOPPING, state()); in shutDown()
DAbstractIdleServiceTest.java139 .has().exactly(Service.State.STARTING, Service.State.STOPPING).inOrder(); in testStop_afterStart()
163 .has().exactly(Service.State.STARTING, Service.State.STOPPING).inOrder(); in testStop_failed()
208 assertEquals(State.STOPPING, state()); in shutDown()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DServerEndpoint.java74 private volatile boolean stopping; field in ServerEndpoint
101 stopping = true; in stop()
132 if (stopping) { in run()
144 if (stopping) { in run()
160 while (!stopping && !thread.isInterrupted()) { in run()
162 if (!stopping && !thread.isInterrupted()) { in run()
173 while (!stopping && totalBytesRead < messageSize) { in readMessage()
DServerSocketBenchmark.java53 private volatile boolean stopping; field in ServerSocketBenchmark
71 while (!stopping) { in ServerSocketBenchmark()
105 while (!stopping && !thread.isInterrupted()) { in ServerSocketBenchmark()
122 stopping = true; in close()
DClientSocketBenchmark.java50 private volatile boolean stopping; field in ClientSocketBenchmark
88 while (!stopping && !thread.isInterrupted()) { in ClientSocketBenchmark()
99 stopping = true; in close()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DRenegotiationTest.java141 private volatile boolean stopping; field in RenegotiationTest.Client
167 stopping = true; in stop()
231 private volatile boolean stopping;
261 stopping = true;
290 if (stopping) {
298 if (stopping) {
344 while (!stopping) {
/external/junit/src/main/java/org/junit/rules/
DStopwatch.java143 private void stopping() { in stopping() method in Stopwatch
162 Stopwatch.this.stopping(); in succeeded()
167 Stopwatch.this.stopping(); in failed()
172 Stopwatch.this.stopping(); in skipped()
/external/ppp/pppd/
Dfsm.c147 case STOPPING:
192 f->state = STOPPING;
263 case STOPPING:
288 case STOPPING:
427 case STOPPING:
584 f->state = STOPPED; /* kludge for stopping CCP */
629 f->state = STOPPING;
654 case STOPPING:
718 case STOPPING:
731 terminate_layer(f, STOPPING);
/external/protobuf/csharp/src/AddressBook/
DProgram.cs54 bool stopping = false; in Main()
55 while (!stopping) in Main()
79 stopping = true; in Main()
/external/libmicrohttpd/src/testcurl/
Dtest_get_response_cleanup.c161 // fprintf (stderr, "Stopping daemon!\n"); in testInternalGet()
196 //fprintf (stderr, "Stopping daemon!\n"); in testMultithreadedGet()
220 //fprintf (stderr, "Stopping daemon!\n"); in testMultithreadedPoolGet()
280 // fprintf (stderr, "Stopping daemon!\n"); in testExternalGet()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DStoppingCondition.java27 * Determine whether or not the given population satisfies the stopping
31 * @return <code>true</code> if this stopping condition is met by the
DGeneticAlgorithm.java101 * Evolve the given population. Evolution stops when the stopping condition
107 * @param condition the stopping condition used to stop evolution.
108 * @return the population that satisfies the stopping condition.
/external/autotest/client/cros/
Dservice_stopper.py6 Provides utility class for stopping and restarting services
70 logging.warning('Error stopping service %s. %s',
/external/autotest/client/common_lib/cros/
Dsession_manager.py209 One of 'started', 'stopping', or 'stopped'.
211 if expected not in {'started', 'stopping', 'stopped'}:
212 raise ValueError("expected must be one of 'started', 'stopping'," +
/external/autotest/client/common_lib/cros/tendo/
Dn_faced_peerd_helper.py84 logging.debug('Stopping NFacedPeerd')
86 logging.debug('Finished stopping NFacedPeerd')
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dmonitors.py187 `True`. This is useful for early stopping, for example.
295 `True`. This is useful for early stopping, for example.
560 Can do early stopping on validation metrics if `early_stopping_rounds` is
595 stopping.
597 expected to decrease (thus early stopping occurs when this metric
637 """Returns the step at which the best early stopping metric was found."""
642 """Returns the best early stopping metric value found so far."""
647 """Returns all eval metrics computed with the best early stopping metric.
658 the early stopping metric seen so far.
714 # Early stopping logic.
[all …]
/external/python/cpython3/
D.travis.yml52 echo "Only docs were updated, stopping build process."
82 echo "Only docs were updated, stopping build process."
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DWaltDevice.java386 state = Utils.ListenerState.STOPPING; in stop()
407 // that is stuck in the STOPPING state. in stopListener()
411 logger.log("Stopping Listener"); in stopListener()
416 logger.log("Error while stopping Listener: " + e.getMessage()); in stopListener()
/external/strace/
DREADME-linux-ptrace148 details. If WSTOPSIG(status) == stopping signal, this may be a
192 Stopping signals cause (all threads of) process to enter group-stop.
205 When a (possibly multi-threaded) process receives a stopping signal,
207 Note that stopping signal will first cause signal-delivery-stop (on one
221 SIGTTIN or SIGTTOU - only these four signals are stopping signals. If
232 Currently, it causes a problem with transparent handling of stopping
/external/autotest/site_utils/lxc/container_pool/
Dasync_listener_unittest.py59 """Tests starting and stopping the async listener."""
79 """Tests stopping the async listener when it's not running."""
/external/autotest/client/cros/bluetooth/
Doutput_recorder.py47 STOP_DELAY_SECS = 1 # Delay before stopping recording.
59 @param stop_delay_secs: the delay time before stopping the cmd.

12345678910>>...24