/frameworks/base/core/java/com/android/internal/os/ |
D | CachedDeviceState.java | 123 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/ |
D | RemotePrintServicePlugin.java | 53 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/ |
D | ValueAnimatorTests.java | 95 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/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 51 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 …]
|
D | BatteryStatsNoteTest.java | 210 assertFalse(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 212 assertFalse(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 214 assertFalse(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 217 assertTrue(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 218 assertFalse(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked() 220 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked() 222 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked() 236 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked() 239 assertFalse(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked() 242 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked()
|
D | BatteryStatsTimeBaseTest.java | 107 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()
|
D | LongSamplingCounterArrayTest.java | 123 when(mTimeBase.isRunning()).thenReturn(false); in testGetCountsLocked() 126 when(mTimeBase.isRunning()).thenReturn(true); in testGetCountsLocked() 144 when(mTimeBase.isRunning()).thenReturn(true); in testAddCountLocked()
|
D | LongSamplingCounterTest.java | 119 when(mTimeBase.isRunning()).thenReturn(true); in testAddCountLocked() 125 when(mTimeBase.isRunning()).thenReturn(false); in testAddCountLocked()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngineThread.java | 36 public boolean isRunning() { in isRunning() method in FullRestoreEngineThread 37 return mEngine.isRunning(); in isRunning() 47 while (mEngine.isRunning()) { in run()
|
D | RestoreEngine.java | 36 public boolean isRunning() { in isRunning() method in RestoreEngine 49 while (isRunning()) { in waitForResult()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 154 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/core/java/android/app/ |
D | TaskInfo.java | 60 public boolean isRunning; field in TaskInfo 223 isRunning = source.readBoolean(); in readFromParcel() 260 dest.writeBoolean(isRunning); in writeToParcel() 306 + " isRunning=" + isRunning in toString()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | AmbientBrightnessStatsTrackerTest.java | 372 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/libs/hwui/thread/ |
D | ThreadBase.h | 50 bool isRunning() const { return Thread::isRunning(); } in isRunning() function
|
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/ |
D | CameraEffectsRecordingSample.java | 83 if (mRunner.isRunning()) { in onPause() 92 if (mRunner.isRunning()) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Animatable.java | 38 boolean isRunning(); in isRunning() method
|
D | AnimationDrawable.java | 157 if (!isRunning()) { in start() 175 if (isRunning()) { in stop() 187 public boolean isRunning() { in isRunning() method in AnimationDrawable
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ViewFilter.java | 51 if (isRunning()) { in bindToView() 59 if (isRunning()) { in setScaleMode()
|
D | Filter.java | 429 protected final boolean isRunning() { in isRunning() method in Filter 431 && mFilterGraph.mRunner.isRunning(); in isRunning() 534 if (isRunning()) { in wakeUp()
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 377 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/base/services/core/java/com/android/server/connectivity/ |
D | Nat464Xlat.java | 167 public boolean isRunning() { in isRunning() method in Nat464Xlat 279 boolean wasRunning = isRunning(); in stop() 414 if (!isRunning()) { in fixupLinkProperties() 501 if (!isRunning()) { in handleInterfaceRemoved()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamMMAP.cpp | 96 if (!isRunning()) { in pause_l() 108 if (!isRunning()) { in stop_l()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | RotationButtonController.java | 206 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) { in setRotateSuggestionButtonState() 229 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) { in setRotateSuggestionButtonState() 237 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) return; in setRotateSuggestionButtonState() 393 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) return; in rescheduleRotationTimeout()
|
/frameworks/base/core/java/android/animation/ |
D | Animator.java | 235 public abstract boolean isRunning(); in isRunning() method in Animator 253 return isRunning(); in isStarted()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GraphRunner.java | 92 public abstract boolean isRunning(); in isRunning() method in GraphRunner
|