Home
last modified time | relevance | path

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

123

/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java77 private boolean isRunning; field in Stopwatch
148 public boolean isRunning() { in isRunning() method in Stopwatch
149 return isRunning; in isRunning()
159 checkState(!isRunning, "This stopwatch is already running."); in start()
160 isRunning = true; in start()
174 checkState(isRunning, "This stopwatch is already stopped."); in stop()
175 isRunning = false; in stop()
188 isRunning = false; in reset()
193 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java78 private boolean isRunning; field in Stopwatch
149 public boolean isRunning() { in isRunning() method in Stopwatch
150 return isRunning; in isRunning()
160 checkState(!isRunning, "This stopwatch is already running."); in start()
161 isRunning = true; in start()
175 checkState(isRunning, "This stopwatch is already stopped."); in stop()
176 isRunning = false; in stop()
189 isRunning = false; in reset()
194 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStopwatchTest.java41 assertTrue(startedStopwatch.isRunning()); in testCreateStarted()
46 assertFalse(unstartedStopwatch.isRunning()); in testCreateUnstarted()
51 assertFalse(stopwatch.isRunning()); in testInitialState()
57 assertTrue(stopwatch.isRunning()); in testStart()
67 assertTrue(stopwatch.isRunning()); in testStart_whileRunning()
73 assertFalse(stopwatch.isRunning()); in testStop()
82 assertFalse(stopwatch.isRunning()); in testStop_new()
93 assertFalse(stopwatch.isRunning()); in testStop_alreadyStopped()
99 assertFalse(stopwatch.isRunning()); in testReset_new()
114 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.java56 assertFalse(service.isRunning()); in testNoOpServiceStartStop()
61 assertTrue(service.isRunning()); in testNoOpServiceStartStop()
66 assertFalse(service.isRunning()); in testNoOpServiceStartStop()
176 assertFalse(service.isRunning()); in testManualServiceStartStop()
181 assertTrue(service.isRunning()); in testManualServiceStartStop()
185 assertFalse(service.isRunning()); in testManualServiceStartStop()
190 assertFalse(service.isRunning()); in testManualServiceStartStop()
209 assertFalse(service.isRunning()); in testManualServiceNotifyStoppedWhileRunning()
226 assertFalse(service.isRunning()); in testManualServiceStopWhileStarting()
231 assertFalse(service.isRunning()); in testManualServiceStopWhileStarting()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractExecutionThreadService.java58 if (isRunning()) {
155 @Override public final boolean isRunning() {
156 return delegate.isRunning();
DAbstractIdleService.java109 @Override public final boolean isRunning() {
110 return delegate.isRunning();
/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/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/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/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/deqp/executor/
DxeTcpIpLink.hpp81 bool isRunning (void) const { return m_isRunning; } in isRunning() function in xe::TcpIpSendThread
104 bool isRunning (void) const { return m_isRunning; } in isRunning() function in xe::TcpIpRecvThread
DxeTcpIpLink.cpp448 if (m_sendThread.isRunning()) in closeConnection()
451 if (m_recvThread.isRunning()) in closeConnection()
462 XE_CHECK(!m_sendThread.isRunning()); in connect()
463 XE_CHECK(!m_recvThread.isRunning()); in connect()
/external/deqp/framework/platform/android/
DtcuAndroidExecService.cpp223 bool TestProcess::isRunning (void) in isRunning() function in tcu::Android::TestProcess
256 if (!m_logReader.isRunning()) in readTestLog()
273 DE_ASSERT(m_logReader.isRunning()); in readTestLog()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DSquaringDrawable.java176 public boolean isRunning() { in isRunning() method in SquaringDrawable
177 return wrapped.isRunning(); in isRunning()

123