Home
last modified time | relevance | path

Searched refs:isRunning (Results 1 – 25 of 79) sorted by relevance

1234

/external/guava/android/guava/src/com/google/common/base/
DStopwatch.java83 private boolean isRunning; field in Stopwatch
135 public boolean isRunning() { in isRunning() method in Stopwatch
136 return isRunning; in isRunning()
147 checkState(!isRunning, "This stopwatch is already running."); in start()
148 isRunning = true; in start()
163 checkState(isRunning, "This stopwatch is already stopped."); in stop()
164 isRunning = false; in stop()
177 isRunning = false; in reset()
182 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java86 private boolean isRunning; field in Stopwatch
138 public boolean isRunning() { in isRunning() method in Stopwatch
139 return isRunning; in isRunning()
150 checkState(!isRunning, "This stopwatch is already running."); in start()
151 isRunning = true; in start()
166 checkState(isRunning, "This stopwatch is already stopped."); in stop()
167 isRunning = false; in stop()
180 isRunning = false; in reset()
185 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
/external/guava/android/guava-tests/test/com/google/common/base/
DStopwatchTest.java40 assertTrue(startedStopwatch.isRunning()); in testCreateStarted()
45 assertFalse(unstartedStopwatch.isRunning()); in testCreateUnstarted()
50 assertFalse(stopwatch.isRunning()); in testInitialState()
56 assertTrue(stopwatch.isRunning()); in testStart()
66 assertTrue(stopwatch.isRunning()); in testStart_whileRunning()
72 assertFalse(stopwatch.isRunning()); in testStop()
81 assertFalse(stopwatch.isRunning()); in testStop_new()
92 assertFalse(stopwatch.isRunning()); in testStop_alreadyStopped()
98 assertFalse(stopwatch.isRunning()); in testReset_new()
113 assertFalse(stopwatch.isRunning()); in testReset_whileRunning()
/external/guava/guava-tests/test/com/google/common/base/
DStopwatchTest.java42 assertTrue(startedStopwatch.isRunning()); in testCreateStarted()
47 assertFalse(unstartedStopwatch.isRunning()); in testCreateUnstarted()
52 assertFalse(stopwatch.isRunning()); in testInitialState()
58 assertTrue(stopwatch.isRunning()); in testStart()
68 assertTrue(stopwatch.isRunning()); in testStart_whileRunning()
74 assertFalse(stopwatch.isRunning()); in testStop()
83 assertFalse(stopwatch.isRunning()); in testStop_new()
94 assertFalse(stopwatch.isRunning()); in testStop_alreadyStopped()
100 assertFalse(stopwatch.isRunning()); in testReset_new()
115 assertFalse(stopwatch.isRunning()); in testReset_whileRunning()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DTLSMessageProcessor.java71 private boolean isRunning; field in TLSMessageProcessor
116 this.isRunning = true; in start()
126 while (this.isRunning) { in run()
138 if (!this.isRunning) in run()
158 if ( this.isRunning ) { in run()
161 this.isRunning = false; in run()
165 this.isRunning = false; in run()
192 if (!isRunning) in stop()
195 isRunning = false; in stop()
DUDPMessageProcessor.java85 protected boolean isRunning; field in UDPMessageProcessor
151 this.isRunning = true; in start()
182 while (this.isRunning) { in run()
252 isRunning = false; in run()
259 isRunning = false; in run()
280 this.isRunning = false; in stop()
DTCPMessageProcessor.java62 private boolean isRunning; field in TCPMessageProcessor
102 this.isRunning = true; in start()
112 while (this.isRunning) { in run()
124 if (!this.isRunning) in run()
142 this.isRunning = false; in run()
176 isRunning = false; in stop()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawable.java33 private boolean isRunning; field in GifDrawable
169 } else if (!isRunning) { in startRunning()
170 isRunning = true; in startRunning()
177 isRunning = false; in stopRunning()
202 public boolean isRunning() { in isRunning() method in GifDrawable
203 return isRunning; in isRunning()
207 void setIsRunning(boolean isRunning) { in setIsRunning() argument
208 this.isRunning = isRunning; in setIsRunning()
257 if (!isRunning) { in onFrameRead()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DThumbnailRequestCoordinator.java70 if (!thumb.isRunning()) { in begin()
73 if (!full.isRunning()) { in begin()
102 public boolean isRunning() { in isRunning() method in ThumbnailRequestCoordinator
103 return full.isRunning(); in isRunning()
/external/deqp/execserver/
DxsPosixTestProcess.cpp282 if (m_process->isRunning()) in cleanup()
298 bool PosixTestProcess::isRunning (void) in isRunning() function in xs::PosixTestProcess
301 return m_process->isRunning(); in isRunning()
316 if (!m_logReader.isRunning()) in readTestLog()
332 DE_ASSERT(m_logReader.isRunning()); in readTestLog()
DxsWin32TestProcess.cpp406 if (isRunning()) in ~Process()
421 DE_ASSERT(!isRunning()); in cleanupHandles()
568 bool Process::isRunning (void) in isRunning() function in xs::win32::Process
599 if (isRunning()) in waitForFinish()
738 if (m_process->isRunning()) in cleanup()
756 if (!m_testLogReader.isRunning()) in readTestLog()
772 DE_ASSERT(m_testLogReader.isRunning()); in readTestLog()
776 bool Win32TestProcess::isRunning (void) in isRunning() function in xs::Win32TestProcess
779 return m_process->isRunning(); in isRunning()
DxsWin32TestProcess.hpp119 bool isRunning (void) const { return m_reader.isStarted(); } in isRunning() function in xs::win32::TestLogReader
145 bool isRunning (void);
189 virtual bool isRunning (void);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java54 assertFalse(service.isRunning()); in testNoOpServiceStartStop()
59 assertTrue(service.isRunning()); in testNoOpServiceStartStop()
64 assertFalse(service.isRunning()); in testNoOpServiceStartStop()
167 assertFalse(service.isRunning()); in testManualServiceStartStop()
172 assertTrue(service.isRunning()); in testManualServiceStartStop()
176 assertFalse(service.isRunning()); in testManualServiceStartStop()
181 assertFalse(service.isRunning()); in testManualServiceStartStop()
195 assertFalse(service.isRunning()); in testManualServiceNotifyStoppedWhileRunning()
209 assertFalse(service.isRunning()); in testManualServiceStopWhileStarting()
214 assertFalse(service.isRunning()); in testManualServiceStopWhileStarting()
[all …]
DExecutionSequencerTest.java92 return blockingCallable.isRunning(); in testCancellationMultipleThreads()
119 return blockingCallable.isRunning(); in testSecondTaskWaitsForFirstEvenIfCancelled()
176 public boolean isRunning() { in isRunning() method in ExecutionSequencerTest.BlockingCallable
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java54 assertFalse(service.isRunning()); in testNoOpServiceStartStop()
59 assertTrue(service.isRunning()); in testNoOpServiceStartStop()
64 assertFalse(service.isRunning()); in testNoOpServiceStartStop()
167 assertFalse(service.isRunning()); in testManualServiceStartStop()
172 assertTrue(service.isRunning()); in testManualServiceStartStop()
176 assertFalse(service.isRunning()); in testManualServiceStartStop()
181 assertFalse(service.isRunning()); in testManualServiceStartStop()
195 assertFalse(service.isRunning()); in testManualServiceNotifyStoppedWhileRunning()
209 assertFalse(service.isRunning()); in testManualServiceStopWhileStarting()
214 assertFalse(service.isRunning()); in testManualServiceStopWhileStarting()
[all …]
DExecutionSequencerTest.java92 return blockingCallable.isRunning(); in testCancellationMultipleThreads()
119 return blockingCallable.isRunning(); in testSecondTaskWaitsForFirstEvenIfCancelled()
176 public boolean isRunning() { in isRunning() method in ExecutionSequencerTest.BlockingCallable
/external/guava/android/guava/src/com/google/common/util/concurrent/
DAbstractExecutionThreadService.java64 if (isRunning()) {
171 public final boolean isRunning() {
172 return delegate.isRunning();
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractExecutionThreadService.java64 if (isRunning()) {
171 public final boolean isRunning() {
172 return delegate.isRunning();
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestTracker.java57 if (request.isRunning()) { in pauseRequests()
69 if (!request.isComplete() && !request.isCancelled() && !request.isRunning()) { in resumeRequests()
/external/deqp/execserver/tools/
DxsClient.cpp196 bool isRunning = true; in run() local
197 while (isRunning) in run()
226 isRunning = false; in run()
231 isRunning = false; in run()
/external/deqp/framework/platform/ios/
DtcuIOSApp.mm131 bool isRunning (void);
184 if (isRunning())
189 while (isRunning())
196 bool LocalTestProcess::isRunning (void)
203 if (!m_logReader.isRunning())
219 DE_ASSERT(m_logReader.isRunning());
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DHudFragment.java40 private volatile boolean isRunning; field in HudFragment
83 isRunning = true; in onStart()
88 isRunning = false; in onStop()
112 if (!isRunning || !displayHud) { in updateEncoderStatistics()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowValueAnimatorTest.java57 assertThat(animator.isRunning()).isTrue(); in test_WhenInfiniteAnimationIsPlayed_AnimationIsOnlyPlayedOnce()
60 assertThat(animator.isRunning()).isFalse(); in test_WhenInfiniteAnimationIsPlayed_AnimationIsOnlyPlayedOnce()
/external/testng/src/main/java/org/testng/remote/strprotocol/
DAbstractRemoteTestRunnerClient.java101 public boolean isRunning() { in isRunning() method in AbstractRemoteTestRunnerClient
109 if(isRunning()) { in stopTest()
/external/dagger2/java/dagger/internal/codegen/
DDaggerStatisticsCollector.java54 checkState(!totalRuntimeStopwatch.isRunning()); in processingStarted()
80 checkState(totalRuntimeStopwatch.isRunning()); in processingStopped()

1234