Home
last modified time | relevance | path

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

12345678910

/frameworks/base/services/tests/selinux/src/com/android/server/selinux/
DSelinuxAuditLogsJobTest.java62 assertThat(mAuditLogsJob.isRunning()).isFalse(); in testFinishSuccessfully()
72 assertThat(mAuditLogsJob.isRunning()).isFalse(); in testInterrupt()
84 assertThat(mAuditLogsJob.isRunning()).isFalse(); in testInterruptAndResume()
89 Semaphore isRunning = new Semaphore(0); in testRequestStop() local
98 isRunning.release(); in testRequestStop()
110 assertThat(mAuditLogsJob.isRunning()).isFalse(); in testRequestStop()
114 isRunning.acquire(); in testRequestStop()
115 assertThat(mAuditLogsJob.isRunning()).isTrue(); in testRequestStop()
122 assertThat(mAuditLogsJob.isRunning()).isFalse(); in testRequestStop()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/
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()
/frameworks/base/tests/TrustTests/src/android/trust/test/
DIsActiveUnlockRunningTest.kt57 var isRunning = false variable in android.trust.test.IsActiveUnlockRunningTest
60 override fun onIsActiveUnlockRunningChanged(isRunning: Boolean, userId: Int) { in onIsActiveUnlockRunningChanged()
61 this.isRunning = isRunning in onIsActiveUnlockRunningChanged()
86 assertThat(listener.isRunning).isFalse() in defaultState_isActiveUnlockRunningIsFalse()
99 assertThat(listener.isRunning).isFalse() in grantTrustLockedDevice_isActiveUnlockRunningIsFalse()
111 assertThat(listener.isRunning).isTrue() in grantTrustUnlockedDevice_isActiveUnlockRunningIsTrueWhileLocked()
122 assertThat(listener.isRunning).isFalse() in trustRevoked_isActiveUnlockRunningIsFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSurfaceBehindParamsApplier.kt134 if (alphaAnimator.isRunning) { in <lambda>()
138 if (translateYSpring.isRunning) { in <lambda>()
151 if (alphaAnimator.isRunning) { in <lambda>()
161 if (!translateYSpring.isRunning) { in <lambda>()
175 interactor.setAnimatingSurface(translateYSpring.isRunning || alphaAnimator.isRunning) in <lambda>()
192 if (translateYSpring.isRunning) animatedTranslationY.value in <lambda>()
196 if (alphaAnimator.isRunning) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DMetadataAnimationHandler.kt38 val isRunning: Boolean constant in com.android.systemui.media.controls.ui.animation.MetadataAnimationHandler
39 get() = enterAnimator.isRunning || exitAnimator.isRunning
46 if (!isRunning) { in setNext()
/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/java/com/android/internal/os/
DCachedDeviceState.java124 mStartTimeMillis = isRunning() ? SystemClock.elapsedRealtime() : 0; in reset()
130 if (!isRunning()) { in start()
138 if (isRunning()) { in stop()
146 return isRunning() ? SystemClock.elapsedRealtime() - mStartTimeMillis : 0; in elapsedTime()
150 public boolean isRunning() { in isRunning() method in CachedDeviceState.TimeInStateStopwatch
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java97 assertFalse(a.isRunning()); in testStartDelay()
101 assertFalse(a.isRunning()); in testStartDelay()
196 assertFalse(a1.isRunning()); in testIsStarted()
197 assertFalse(a2.isRunning()); in testIsStarted()
220 assertFalse(a1.isRunning()); in testIsStarted()
230 assertTrue(a1.isRunning()); in testIsStarted()
231 assertTrue(a2.isRunning()); in testIsStarted()
241 assertFalse(a1.isRunning()); in testIsStarted()
243 assertFalse(a2.isRunning()); in testIsStarted()
270 assertTrue(a1.isRunning()); in testPause()
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsBackgroundStatsTest.java63 assertFalse(bgtb.isRunning()); in testBgTimeBase()
70 assertFalse(bgtb.isRunning()); in testBgTimeBase()
77 assertFalse(bgtb.isRunning()); in testBgTimeBase()
85 assertTrue(bgtb.isRunning()); in testBgTimeBase()
92 assertTrue(bgtb.isRunning()); in testBgTimeBase()
99 assertTrue(bgtb.isRunning()); in testBgTimeBase()
107 assertFalse(bgtb.isRunning()); in testBgTimeBase()
114 assertFalse(bgtb.isRunning()); in testBgTimeBase()
132 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase()
137 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase()
[all …]
/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>()
/frameworks/base/services/core/java/com/android/server/wm/
DTransparentPolicy.java123 boolean isRunning() { in isRunning() method in TransparentPolicy
124 return mTransparentPolicyState.isRunning(); in isRunning()
135 return isRunning() in hasInheritedOrientation()
179 return isRunning() ? Optional.of(mTransparentPolicyState.mFirstOpaqueActivity) in getFirstOpaqueActivity()
321 private boolean isRunning() { in isRunning() method in TransparentPolicy.TransparentPolicyState
334 if (!isRunning() || mActivityRecord.getTask() == null) { in findOpaqueNotFinishingActivityBelow()
/frameworks/base/services/core/java/com/android/server/appop/
DAttributedOp.java223 if (!triggeredByUidStateChange && !parent.isRunning() && isStarted) { in startedOrPaused()
303 int indexOfToken = isRunning() ? mInProgressEvents.indexOfKey(clientId) : -1; in finishOrPause()
346 if (!triggeredByUidStateChange && !parent.isRunning()) { in finishOrPause()
402 if (!isRunning()) { in pause()
468 if (!isPaused() && !isRunning()) { in onClientDeath()
489 if (!isPaused() && !isRunning()) { in onUidStateChanged()
493 boolean isRunning = isRunning(); in onUidStateChanged()
495 isRunning ? mInProgressEvents : mPausedInProgressEvents; in onUidStateChanged()
521 isRunning); in onUidStateChanged() local
526 event.getAttributionChainId(), true, isRunning); in onUidStateChanged() local
[all …]
/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/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DTransitioningIconDrawable.kt48 if (Objects.equals(drawable, incomingDrawable) && !transitionAnimator.isRunning) { in setIcon()
80 if (transitionAnimator.isRunning) { in draw()
92 if (transitionAnimator.isRunning) { in draw()
/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/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryFaceAuthInteractor.kt48 fun isRunning(): Boolean in canFaceAuthRun() method
97 fun onRunningStateChanged(isRunning: Boolean) in canFaceAuthRun()
/frameworks/base/libs/hwui/platform/host/thread/
DThreadBase.h43 bool isRunning() const { return Thread::isRunning(); } in isRunning() function
/frameworks/base/services/tests/displayservicetests/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitDecorManager.java155 if (mFadeAnimator.isRunning()) { in cancelRunningAnimations()
161 if (mScreenshotAnimator.isRunning()) { in cancelRunningAnimations()
228 if (update && mFadeAnimator != null && mFadeAnimator.isRunning()) { in onResizing()
285 if (mScreenshotAnimator != null && mScreenshotAnimator.isRunning()) { in onResized()
335 if (mFadeAnimator != null && mFadeAnimator.isRunning()) { in onResized()
371 if (mScreenshotAnimator != null && mScreenshotAnimator.isRunning()) { in screenshotIfNeeded()
389 if (mScreenshotAnimator != null && mScreenshotAnimator.isRunning()) { in setScreenshotIfNeeded()
406 if (mFadeAnimator != null && mFadeAnimator.isRunning()) { in fadeOutDecor()
/frameworks/base/libs/hwui/platform/android/thread/
DThreadBase.h50 bool isRunning() const { return Thread::isRunning(); } in isRunning() function
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java361 usage.isRunning, isPhone, usage.attributionTag, attributionLabel, in getOpUsageDataByDevice()
533 if (attrOpEntry.isRunning()) { in getOpUsagesByDevice()
537 if (lastAccessTime < recentThreshold && !attrOpEntry.isRunning()) { in getOpUsagesByDevice()
541 boolean isRunning = attrOpEntry.isRunning() in getOpUsagesByDevice()
548 op, proxy.getUid(), lastAccessTime, isRunning, null); in getOpUsagesByDevice()
553 lastAccessTime, isRunning, proxyUsage); in getOpUsagesByDevice()
766 public final boolean isRunning; field in PermissionUsageHelper.OpUsage
769 boolean isRunning, OpUsage proxy) { in OpUsage() argument
775 this.isRunning = isRunning; in OpUsage()
789 return Objects.hash(packageName, attributionTag, op, uid, lastAccessTime, isRunning); in hashCode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DTrustRepository.kt106 isRunning: Boolean, in <lambda>()
110 ActiveUnlockModel(isRunning, userId), in <lambda>()
152 .map { activeUnlockRunningForUser[it.second.id]?.isRunning ?: false } in <lambda>()
157 activeUnlockRunningForUser[userRepository.getSelectedUserInfo().id]?.isRunning in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DDeviceEntryFingerprintAuthRepositoryTest.kt103 val isRunning = collectLastValue(underTest.isRunning) in fpRunningStateIsPropagated() constant
107 assertThat(isRunning()).isTrue() in fpRunningStateIsPropagated()
115 assertThat(isRunning()).isFalse() in fpRunningStateIsPropagated()
119 assertThat(isRunning()).isFalse() in fpRunningStateIsPropagated()
125 assertThat(isRunning()).isTrue() in fpRunningStateIsPropagated()

12345678910