Home
last modified time | relevance | path

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

123456

/frameworks/base/services/net/java/android/net/util/
DBlockingSocketReader.java93 public final boolean isRunning() { return mRunning; } in isRunning() method in BlockingSocketReader
121 while (isRunning()) { in mainLoop()
129 if (isRunning()) logError("Socket closed, exiting", null); in mainLoop()
135 if (isRunning()) logError("read error: ", e); in mainLoop()
140 if (isRunning()) logError("read error: ", ioe); in mainLoop()
DStopwatch.java37 public boolean isRunning() { in isRunning() method in Stopwatch
53 if (isRunning()) { in stop()
64 if (isRunning()) { in lap()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java83 assertFalse(a.isRunning()); in testStartDelay()
87 assertFalse(a.isRunning()); in testStartDelay()
182 assertFalse(a1.isRunning()); in testIsStarted()
183 assertFalse(a2.isRunning()); in testIsStarted()
206 assertFalse(a1.isRunning()); in testIsStarted()
216 assertTrue(a1.isRunning()); in testIsStarted()
217 assertTrue(a2.isRunning()); in testIsStarted()
227 assertFalse(a1.isRunning()); in testIsStarted()
229 assertFalse(a2.isRunning()); in testIsStarted()
256 assertTrue(a1.isRunning()); in testPause()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
DRemotePrintServicePlugin.java53 private boolean isRunning; field in RemotePrintServicePlugin
87 isRunning = false; in RemotePrintServicePlugin()
98 isRunning = true; in start()
114 isRunning = false; in stop()
133 Preconditions.checkState(isRunning); in onChanged()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java48 assertFalse(bgtb.isRunning()); in testBgTimeBase()
55 assertFalse(bgtb.isRunning()); in testBgTimeBase()
62 assertFalse(bgtb.isRunning()); in testBgTimeBase()
70 assertTrue(bgtb.isRunning()); in testBgTimeBase()
77 assertTrue(bgtb.isRunning()); in testBgTimeBase()
84 assertTrue(bgtb.isRunning()); in testBgTimeBase()
92 assertFalse(bgtb.isRunning()); in testBgTimeBase()
99 assertFalse(bgtb.isRunning()); in testBgTimeBase()
116 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase()
121 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase()
[all …]
DBatteryStatsTimeBaseTest.java106 Assert.assertTrue(tb.isRunning()); in testRunning()
113 + " isRunning=" + tb.isRunning()); in testRunning()
140 Assert.assertFalse(tb.isRunning()); in testRunning()
147 + " isRunning=" + tb.isRunning()); in testRunning()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DAsyncRunner.java171 if (isRunning()) { in setGraph()
188 if (isRunning()) { in run()
213 if (isRunning()) { in close()
222 synchronized public boolean isRunning() { in isRunning() method in AsyncRunner
DGraphRunner.java87 public abstract boolean isRunning(); in isRunning() method in GraphRunner
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java83 if (mRunner.isRunning()) { in onPause()
92 if (mRunner.isRunning()) {
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleComponent.java256 return mHardwareAnimator != null && mHardwareAnimator.isRunning() in isHardwareAnimating()
339 public boolean isRunning() { in isRunning() method in RippleComponent.RenderNodeAnimatorSet
344 if (anim.isRunning()) { in isRunning()
DAnimatable.java38 boolean isRunning(); in isRunning() method
DAnimationDrawable.java155 if (!isRunning()) { in start()
173 if (isRunning()) { in stop()
185 public boolean isRunning() { in isRunning() method in AnimationDrawable
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DViewFilter.java51 if (isRunning()) { in bindToView()
59 if (isRunning()) { in setScaleMode()
DFilter.java429 protected final boolean isRunning() { in isRunning() method in Filter
431 && mFilterGraph.mRunner.isRunning(); in isRunning()
534 if (isRunning()) { in wakeUp()
DFilterGraph.java495 public boolean isRunning() { in isRunning() method in FilterGraph
496 return mRunner != null && mRunner.isRunning(); in isRunning()
562 if (isRunning()) { in assertNotRunning()
DValueTarget.java38 if (isRunning()) { in setListener()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java377 if (isRunning() && mState == STATE_READY_TO_SWAP) { in draw()
462 if (!isRunning()) { in start()
474 if (isRunning()) { in stop()
480 public boolean isRunning() { in isRunning() method in FrameSequenceDrawable
/frameworks/support/compat/tests/java/android/support/v4/provider/
DSelfDestructiveThreadTest.java50 if (!thread.isRunning()) { in waitUntilDestruction()
62 if (!thread.isRunning()) { in waitUntilDestruction()
96 assertFalse(thread.isRunning()); in testDestruction()
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/
DSpringTests.java288 assertFalse(anim3.isRunning()); in testDampingRatioUnderDamped()
295 if (anim1.isRunning()) { in testDampingRatioUnderDamped()
349 if (springAnims[0].isRunning()) { in testStiffness()
501 assertTrue(anim.isRunning()); in testAnimateToFinalPosition()
503 assertTrue(anim.isRunning()); in testAnimateToFinalPosition()
511 assertTrue(anim.isRunning()); in testAnimateToFinalPosition()
532 assertTrue(anim.isRunning()); in testSkipToEnd()
540 assertTrue(anim.isRunning()); in testSkipToEnd()
DFlingTests.java158 assertTrue(animLowFriction.isRunning()); in testFriction()
210 assertTrue(animLowThreshold.isRunning()); in testVelocityThreshold()
/frameworks/support/samples/SupportVectorDrawableDemos/src/com/example/android/support/vectordrawable/app/
DAVDCListenerDemo.java118 if (!((Animatable) drawable1).isRunning()) { in onCreate()
128 if (!((Animatable) drawable2).isRunning()) { in onCreate()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DDefaultItemAnimatorTest.java168 assertTrue(mAnimator.isRunning()); in animateAdd()
177 assertTrue(mAnimator.isRunning()); in animateRemove()
186 assertTrue(mAnimator.isRunning()); in animateMove()
196 assertTrue(mAnimator.isRunning()); in animateChange()
/frameworks/base/core/java/android/animation/
DAnimator.java234 public abstract boolean isRunning(); in isRunning() method in Animator
252 return isRunning(); in isStarted()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java166 public boolean isRunning() { in isRunning() method in AnimationScaleListDrawable
170 result = ((Animatable) dr).isRunning(); in isRunning()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAnimatedImageViewTest.java49 assertThat(drawable.isRunning()).isTrue(); in testAnimation_ViewVisible_AnimationRunning()

123456