Home
last modified time | relevance | path

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

12345678

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
DAnimationBindHandlerTest.kt69 whenever(animatable.isRunning).thenReturn(false) in registerStoppedAnimations_executeCallbackImmediately()
70 whenever(animatable2.isRunning).thenReturn(false) in registerStoppedAnimations_executeCallbackImmediately()
78 whenever(animatable.isRunning).thenReturn(true) in registerRunningAnimations_executeCallbackDelayed()
79 whenever(animatable2.isRunning).thenReturn(true) in registerRunningAnimations_executeCallbackDelayed()
87 whenever(animatable.isRunning).thenReturn(false) in registerRunningAnimations_executeCallbackDelayed()
91 whenever(animatable2.isRunning).thenReturn(false) in registerRunningAnimations_executeCallbackDelayed()
98 whenever(animatable.isRunning).thenReturn(true) in repeatedEndCallback_executeSingleCallback()
105 whenever(animatable.isRunning).thenReturn(false) in repeatedEndCallback_executeSingleCallback()
114 whenever(animatable.isRunning).thenReturn(true) in registerUnregister_executeImmediately()
DMetadataAnimationHandlerTest.kt136 whenever(exitAnimator.isRunning()).thenReturn(true) in rebindBeforeEnterComplete_animationRestarts()
137 whenever(enterAnimator.isRunning()).thenReturn(false) in rebindBeforeEnterComplete_animationRestarts()
148 whenever(exitAnimator.isRunning()).thenReturn(false) in rebindBeforeEnterComplete_animationRestarts()
149 whenever(enterAnimator.isRunning()).thenReturn(true) in rebindBeforeEnterComplete_animationRestarts()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DMetadataAnimationHandler.kt38 val isRunning: Boolean constant in com.android.systemui.media.controls.ui.MetadataAnimationHandler
39 get() = enterAnimator.isRunning || exitAnimator.isRunning
46 if (!isRunning) { in setNext()
/frameworks/base/core/java/com/android/internal/os/
DCachedDeviceState.java123 mStartTimeMillis = isRunning() ? SystemClock.elapsedRealtime() : 0; in reset()
129 if (!isRunning()) { in start()
137 if (isRunning()) { in stop()
145 return isRunning() ? SystemClock.elapsedRealtime() - mStartTimeMillis : 0; in elapsedTime()
149 public boolean isRunning() { in isRunning() method in CachedDeviceState.TimeInStateStopwatch
/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/android/animation/
DValueAnimatorTests.java95 assertFalse(a.isRunning()); in testStartDelay()
99 assertFalse(a.isRunning()); in testStartDelay()
194 assertFalse(a1.isRunning()); in testIsStarted()
195 assertFalse(a2.isRunning()); in testIsStarted()
218 assertFalse(a1.isRunning()); in testIsStarted()
228 assertTrue(a1.isRunning()); in testIsStarted()
229 assertTrue(a2.isRunning()); in testIsStarted()
239 assertFalse(a1.isRunning()); in testIsStarted()
241 assertFalse(a2.isRunning()); in testIsStarted()
268 assertTrue(a1.isRunning()); in testPause()
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/
DFdEventsReader.java217 if (!isRunning() || !handleInput()) { in createAndRegisterFd()
227 protected boolean isRunning() { in isRunning() method in FdEventsReader
233 while (isRunning()) { in handleInput()
239 if (isRunning()) logError("Socket closed, exiting", null); in handleInput()
250 if (!isRunning()) break; in handleInput()
256 if (isRunning()) logError("readPacket error: ", e); in handleInput()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java51 assertFalse(bgtb.isRunning()); in testBgTimeBase()
58 assertFalse(bgtb.isRunning()); in testBgTimeBase()
65 assertFalse(bgtb.isRunning()); in testBgTimeBase()
73 assertTrue(bgtb.isRunning()); in testBgTimeBase()
80 assertTrue(bgtb.isRunning()); in testBgTimeBase()
87 assertTrue(bgtb.isRunning()); in testBgTimeBase()
95 assertFalse(bgtb.isRunning()); in testBgTimeBase()
102 assertFalse(bgtb.isRunning()); in testBgTimeBase()
119 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase()
124 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase()
[all …]
DBatteryStatsTimeBaseTest.java107 Assert.assertTrue(tb.isRunning()); in testRunning()
114 + " isRunning=" + tb.isRunning()); in testRunning()
141 Assert.assertFalse(tb.isRunning()); in testRunning()
148 + " isRunning=" + tb.isRunning()); in testRunning()
DLongSamplingCounterArrayTest.java123 when(mTimeBase.isRunning()).thenReturn(false); in testGetCountsLocked()
126 when(mTimeBase.isRunning()).thenReturn(true); in testGetCountsLocked()
144 when(mTimeBase.isRunning()).thenReturn(true); in testAddCountLocked()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngineThread.java36 public boolean isRunning() { in isRunning() method in FullRestoreEngineThread
37 return mEngine.isRunning(); in isRunning()
47 while (mEngine.isRunning()) { in run()
DRestoreEngine.java36 public boolean isRunning() { in isRunning() method in RestoreEngine
49 while (isRunning()) { in waitForResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt117 if (retractDwellAnimator?.isRunning == true || fadeDwellAnimator?.isRunning == true) { in <lambda>()
121 if (dwellPulseOutAnimator?.isRunning == true) { in <lambda>()
169 if (fadeDwellAnimator?.isRunning == true) { in <lambda>()
173 if (dwellPulseOutAnimator?.isRunning == true || retractDwellAnimator?.isRunning == true) { in <lambda>()
205 if (unlockedRippleAnimator?.isRunning == true || dwellPulseOutAnimator?.isRunning == true) { in <lambda>()
DUdfpsEnrollProgressBarDrawable.java238 if (mProgressAnimator != null && mProgressAnimator.isRunning()) { in updateProgress()
255 if (mBackgroundColorAnimator != null && mBackgroundColorAnimator.isRunning()) { in animateBackgroundColor()
276 if (mFillColorAnimator != null && mFillColorAnimator.isRunning()) { in updateFillColor()
296 if (mCheckmarkAnimator != null && mCheckmarkAnimator.isRunning()) { in startCompletionAnimation()
320 if (mCheckmarkAnimator != null && mCheckmarkAnimator.isRunning()) { in rollBackCompletionAnimation()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCachedDeviceStateServiceTest.java154 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery()
157 assertThat(stopwatch.isRunning()).isTrue(); in correctlyTracksTimeOnBattery()
161 assertThat(stopwatch.isRunning()).isTrue(); in correctlyTracksTimeOnBattery()
170 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery()
178 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery()
/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
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java361 usage.isRunning, isPhone, usage.attributionTag, attributionLabel, in getOpUsageData()
494 if (attrOpEntry.isRunning()) { in getOpUsages()
498 if (lastAccessTime < recentThreshold && !attrOpEntry.isRunning()) { in getOpUsages()
502 boolean isRunning = attrOpEntry.isRunning() in getOpUsages()
509 op, proxy.getUid(), lastAccessTime, isRunning, null); in getOpUsages()
514 lastAccessTime, isRunning, proxyUsage); in getOpUsages()
727 public final boolean isRunning; field in PermissionUsageHelper.OpUsage
730 boolean isRunning, OpUsage proxy) { in OpUsage() argument
736 this.isRunning = isRunning; in OpUsage()
750 return Objects.hash(packageName, attributionTag, op, uid, lastAccessTime, isRunning); in hashCode()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitDecorManager.java140 if (mFadeAnimator.isRunning()) { in release()
146 if (mScreenshotAnimator.isRunning()) { in release()
199 if (update && mFadeAnimator != null && mFadeAnimator.isRunning()) { in onResizing()
254 if (mScreenshotAnimator != null && mScreenshotAnimator.isRunning()) { in onResized()
299 if (mFadeAnimator != null && mFadeAnimator.isRunning()) { in onResized()
328 if (mScreenshotAnimator != null && mScreenshotAnimator.isRunning()) { in screenshotIfNeeded()
346 if (mScreenshotAnimator != null && mScreenshotAnimator.isRunning()) { in setScreenshotIfNeeded()
363 if (mFadeAnimator != null && mFadeAnimator.isRunning()) { in fadeOutDecor()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java372 assertFalse(timer.isRunning()); in testTimer()
375 assertTrue(timer.isRunning()); in testTimer()
378 assertTrue(timer.isRunning()); in testTimer()
383 assertFalse(timer.isRunning()); in testTimer()
386 assertTrue(timer.isRunning()); in testTimer()
389 assertTrue(timer.isRunning()); in testTimer()
394 assertFalse(timer.isRunning()); in testTimer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotPolicyImplTest.kt151 isRunning = true in <lambda>()
175 isRunning = true in <lambda>()
199 isRunning = true in <lambda>()
223 isRunning = false in <lambda>()
/frameworks/base/libs/hwui/thread/
DThreadBase.h50 bool isRunning() const { return Thread::isRunning(); } in isRunning() function
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt410 if (!isRunning) { in <lambda>()
419 var isRunning: Boolean = false in <lambda>() variable in com.android.keyguard.ClockEventController.TimeListener
423 if (isRunning) { in <lambda>()
427 isRunning = true in <lambda>()
441 if (!isRunning) { in <lambda>()
445 isRunning = false in <lambda>()
/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/
DAnimatable.java38 boolean isRunning(); in isRunning() method
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DIUserVisibleJobObserver.aidl32 void onUserVisibleJobStateChanged(in UserVisibleJobSummary summary, boolean isRunning); in onUserVisibleJobStateChanged() argument

12345678