Home
last modified time | relevance | path

Searched refs:mRunning (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreEngine.java33 private final AtomicBoolean mRunning = new AtomicBoolean(false); field in RestoreEngine
37 return mRunning.get(); in isRunning()
41 synchronized (mRunning) { in setRunning()
42 mRunning.set(stillRunning); in setRunning()
43 mRunning.notifyAll(); in setRunning()
48 synchronized (mRunning) { in waitForResult()
51 mRunning.wait(); in waitForResult()
/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java65 protected boolean mRunning; // tracks whether we've started the animator field in EventsTest
218 assertTrue(mRunning); in setUp()
227 assertTrue(mRunning || mStarted); in setUp()
235 assertTrue(mRunning || mStarted); in setUp()
236 mRunning = false; in setUp()
246 mRunning = false; in setUp()
268 mRunning = true; // end() implicitly starts an unstarted animator in testEnd()
282 mRunning = true; in testStartCancel()
303 mRunning = true; in testStartEnd()
324 mRunning = true; in testStartDelayedCancel()
[all …]
DViewPropertyAnimatorTest.java64 protected boolean mRunning; // tracks whether we've started the animator field in ViewPropertyAnimatorTest
155 assertTrue(mRunning); in setUp()
164 assertTrue(mRunning); in setUp()
173 assertTrue(mRunning); in setUp()
175 mRunning = false; in setUp()
186 mRunning = false; in setUp()
211 mRunning = true; in testStartCancel()
232 mRunning = true; in testStartDelayedCancel()
254 mRunning = true; in testPlayingCancel()
276 mRunning = true; in testPlayingDelayedCancel()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DFakeGameServiceProviderInstance.java24 private boolean mRunning; field in FakeGameServiceProviderInstance
28 mRunning = true; in start()
33 mRunning = false; in stop()
40 return mRunning; in getIsRunning()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp42 if (mRunning) { in start()
48 mRunning = true; in start()
53 bool wasRunning = mRunning; in stop()
54 mRunning = false; in stop()
59 return mRunning; in isRunning()
74 if (!mRunning) { in isDirty()
180 if (!mRunning) { in onDraw()
191 if (mRunning && nextSnapshotReady()) { in onDraw()
198 mRunning = false; in onDraw()
212 if (mRunning && !mNextSnapshot.valid()) { in onDraw()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderProxy.java50 private boolean mRunning; field in TvRemoteProviderProxy
66 pw.println(prefix + " mRunning=" + mRunning); in dump()
77 if (!mRunning) { in start()
82 mRunning = true; in start()
88 if (mRunning) { in stop()
93 mRunning = false; in stop()
99 if (mRunning && !mConnected) { in rebindIfDisconnected()
DTvRemoteProviderWatcher.java60 private boolean mRunning; field in TvRemoteProviderWatcher
88 if (!mRunning) { in start()
89 mRunning = true; in start()
108 if (mRunning) { in stop()
109 mRunning = false; in stop()
122 if (!mRunning) { in scanPackages()
/frameworks/base/core/java/android/widget/
DAdapterViewFlipper.java45 private boolean mRunning = false; field in AdapterViewFlipper
161 if (mRunning) { in showNext()
176 if (mRunning) { in showPrevious()
203 if (running != mRunning) { in updateRunning()
210 mRunning = running; in updateRunning()
214 + ", mRunning=" + mRunning); in updateRunning()
244 if (mRunning) {
DViewFlipper.java48 private boolean mRunning = false; field in ViewFlipper
154 if (running != mRunning) { in updateRunning()
161 mRunning = running; in updateRunning()
165 + ", mRunning=" + mRunning); in updateRunning()
197 if (mRunning) {
/frameworks/av/services/oboeservice/
DAAudioCommandQueue.cpp31 if (!mRunning) { in sendCommand()
67 return !mRunning || !mCommands.empty(); in waitForCommand()
72 return !mRunning || !mCommands.empty(); in waitForCommand()
75 if (!mCommands.empty() && mRunning) { in waitForCommand()
85 mRunning = true; in startWaiting()
90 mRunning = false; in stopWaiting()
/frameworks/base/tests/LockTaskTests/src/com/google/android/example/locktasktests/
DLaunchActivity.java32 boolean mRunning; field in LaunchActivity
42 if (!mRunning) { in onCreate()
59 mRunning = true; in onResume()
66 mRunning = false; in onPause()
DMainActivity.java17 boolean mRunning; field in MainActivity
28 if (!mRunning) { in onCreate()
45 mRunning = true; in onResume()
52 mRunning = false; in onPause()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java56 private boolean mRunning; field in RemoteDisplayProviderWatcher
70 pw.println(prefix + " mRunning=" + mRunning); in dump()
75 if (!mRunning) { in start()
76 mRunning = true; in start()
95 if (mRunning) { in stop()
96 mRunning = false; in stop()
109 if (!mRunning) { in scanPackages()
DMediaRoute2ProviderWatcher.java59 private boolean mRunning; field in MediaRoute2ProviderWatcher
83 if (!mRunning) { in start()
84 mRunning = true; in start()
105 if (mRunning) { in stop()
106 mRunning = false; in stop()
119 if (!mRunning) { in scanPackages()
DRemoteDisplayProviderProxy.java53 private boolean mRunning; field in RemoteDisplayProviderProxy
75 pw.println(prefix + " mRunning=" + mRunning); in dump()
137 if (!mRunning) { in start()
142 mRunning = true; in start()
148 if (mRunning) { in stop()
153 mRunning = false; in stop()
174 if (mRunning) { in shouldBind()
/frameworks/av/media/libstagefright/renderfright/gl/
DImageManager.cpp51 mRunning = false; in ~ImageManager()
105 run = mRunning; in threadMain()
112 [&]() REQUIRES(mMutex) { return !mQueue.empty() || !mRunning; }); in threadMain()
113 run = mRunning; in threadMain()
115 if (!mRunning) { in threadMain()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesUserState.java31 private String[] mRunning = null; field in ForegroundServicesUserState
44 mRunning = pkgs != null ? Arrays.copyOf(pkgs, pkgs.length) : null; in setRunningServices()
121 if (mRunning != null in isDisclosureNeeded()
125 for (String pkg : mRunning) { in isDisclosureNeeded()
153 + "mRunning=" + Arrays.toString(mRunning) in toString()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java223 if (!mTranslateRunnable.mRunning) { in onTouchEvent()
346 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onScroll()
363 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onFling()
371 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onScale()
382 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onScaleBegin()
407 } else if (mTranslateRunnable.mRunning) { in interceptMoveLeft()
440 } else if (mTranslateRunnable.mRunning) { in interceptMoveRight()
1174 private boolean mRunning; field in PhotoView.ScaleRunnable
1185 if (mRunning) { in start()
1198 mRunning = true; in start()
[all …]
/frameworks/base/core/java/android/animation/
DValueAnimator.java193 private boolean mRunning = false; field in ValueAnimator
1135 mRunning = false; in start()
1191 if ((mStarted || mRunning || mStartListenersCalled) && mListeners != null) { in cancel()
1192 if (!mRunning) { in cancel()
1206 if (!mRunning) { in end()
1244 return mRunning; in isRunning()
1296 boolean notify = (mStarted || mRunning) && mListeners != null; in endAnimation()
1297 if (notify && !mRunning) { in endAnimation()
1304 mRunning = false; in endAnimation()
1327 mRunning = true; in startAnimation()
[all …]
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraTestInstance.cc68 if (mRunning.exchange(true, std::memory_order_relaxed)) { in start()
78 if (!mRunning.exchange(false, std::memory_order_relaxed)) { in stop()
83 mRunning = false; in stop()
101 while (mRunning) { in renderThreadLoop()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java96 private boolean mRunning; field in AnimationDrawable
127 boolean startFromZero = restart || (!mRunning && !mAnimationState.mOneShot) || in setVisible()
188 return mRunning; in isRunning()
204 mRunning = false; in unscheduleSelf()
254 if (!mRunning) { in addFrame()
285 mRunning = true; in setFrame()
DAnimatedRotateDrawable.java48 private boolean mRunning; field in AnimatedRotateDrawable
84 if (!mRunning) { in start()
85 mRunning = true; in start()
97 mRunning = false; in stop()
103 return mRunning; in isRunning()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DCanvasTextureViewActivity.java73 private volatile boolean mRunning = true; field in CanvasTextureViewActivity.RenderingThread
89 while (mRunning && !Thread.interrupted()) { in run()
118 mRunning = false; in stopRendering()
DHardwareCanvasTextureViewActivity.java75 private volatile boolean mRunning = true; field in HardwareCanvasTextureViewActivity.RenderingThread
92 while (mRunning && !Thread.interrupted()) { in run()
121 mRunning = false; in stopRendering()
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DDynamicAnimation.java312 boolean mRunning = false; field in DynamicAnimation
604 if (!mRunning) { in start()
630 if (mRunning) { in cancel()
641 return mRunning; in isRunning()
649 if (!mRunning) { in startAnimationInternal()
650 mRunning = true; in startAnimationInternal()
714 mRunning = false; in endAnimationInternal()

123