/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/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/libs/net/common/device/android/net/util/ |
D | FdEventsReader.java | 205 if (!isRunning() || !handleInput()) { in createAndRegisterFd() 215 private boolean isRunning() { in isRunning() method in FdEventsReader 221 while (isRunning()) { in handleInput() 227 if (isRunning()) logError("Socket closed, exiting", null); in handleInput() 238 if (isRunning()) logError("readPacket error: ", e); in handleInput() 242 if (isRunning()) logError("readPacket error: ", e); in handleInput()
|
/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 | 152 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery() 155 assertThat(stopwatch.isRunning()).isTrue(); in correctlyTracksTimeOnBattery() 159 assertThat(stopwatch.isRunning()).isTrue(); in correctlyTracksTimeOnBattery() 168 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery() 176 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery()
|
/frameworks/base/core/java/android/app/ |
D | TaskInfo.java | 57 public boolean isRunning; field in TaskInfo 171 isRunning = source.readBoolean(); in readFromParcel() 199 dest.writeBoolean(isRunning); in writeToParcel() 230 + " isRunning=" + isRunning in toString()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | AsyncRunner.java | 171 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/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/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/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/av/services/oboeservice/ |
D | AAudioServiceStreamBase.cpp | 73 result << std::setw(4) << (isRunning() ? "yes" : " no"); in dump() 177 if (isRunning()) { in start() 207 if (!isRunning()) { in pause() 239 if (!isRunning()) { in stop()
|
D | AAudioServiceStreamMMAP.cpp | 106 if (!isRunning()) { in pause() 118 if (!isRunning()) { in stop()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ViewFilter.java | 51 if (isRunning()) { in bindToView() 59 if (isRunning()) { in setScaleMode()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | RotationButtonController.java | 199 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) { in setRotateSuggestionButtonState() 222 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) { in setRotateSuggestionButtonState() 230 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) return; in setRotateSuggestionButtonState() 373 if (mRotateHideAnimator != null && mRotateHideAnimator.isRunning()) return; in rescheduleRotationTimeout()
|