Home
last modified time | relevance | path

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

1234

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DFdEventsReader.java207 if (!isRunning() || !handleInput()) { in createAndRegisterFd()
216 private boolean isRunning() { in isRunning() method in FdEventsReader
222 while (isRunning()) { in handleInput()
228 if (isRunning()) logError("Socket closed, exiting", null); in handleInput()
239 if (isRunning()) logError("readPacket error: ", e); in handleInput()
243 if (isRunning()) logError("readPacket error: ", e); in handleInput()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java329 if (pos.isRunning() != op.isRunning()) { in addOp()
330 if (op.isRunning()) { in addOp()
409 if (isRunning()) { in getTimeText()
421 public boolean isRunning() { in isRunning() method in AppOpsState.AppOpEntry
422 return mOps.get(0).isRunning(); in isRunning()
444 if (object1.isRunning() != object2.isRunning()) {
446 return object1.isRunning() ? -1 : 1;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/
DAppOpsState.java329 if (pos.isRunning() != op.isRunning()) { in addOp()
330 if (op.isRunning()) { in addOp()
409 if (isRunning()) { in getTimeText()
421 public boolean isRunning() { in isRunning() method in AppOpsState.AppOpEntry
422 return mOps.get(0).isRunning(); in isRunning()
444 if (object1.isRunning() != object2.isRunning()) {
446 return object1.isRunning() ? -1 : 1;
/packages/modules/NetworkStack/src/android/net/util/
DStopwatch.java37 public boolean isRunning() { in isRunning() method in Stopwatch
65 if (isRunning()) { in stop()
78 if (isRunning()) { in lap()
/packages/apps/TV/common/src/com/android/tv/common/util/
DDurationTimer.java40 public boolean isRunning() { in isRunning() method in DurationTimer
59 return isRunning() ? SystemClock.elapsedRealtime() - mStartTimeMs : TIME_NOT_SET; in getDuration()
76 if (isRunning() && (!mLogEngOnly || BuildConfig.ENG)) { in log()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsTaskScheduler.java87 private boolean isRunning() { in isRunning() method in ContactsTaskScheduler
103 if (!isRunning()) { in scheduleTask()
157 return isRunning(); in isRunningForTest()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java208 if (!isRunning()) return; // Ignore when we're no longer running in updateFileProgress()
231 if (!isRunning()) return; // Ignore when we're no longer running in finishTransfer()
264 public boolean isRunning() { in isRunning() method in BeamTransferManager
278 if (!isRunning()) return; in cancel()
374 if (isRunning()) { in updateStateAndNotification()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DContentFillItemAnimator.java227 if (!isRunning()) { in endAnimations()
259 public boolean isRunning() { in isRunning() method in ContentFillItemAnimator
274 if (!isRunning()) { in dispatchFinishedWhenDone()
/packages/apps/TV/src/com/android/tv/ui/
DBlockScreenView.java250 if (mFadeOut != null && mFadeOut.isRunning()) { in endAnimations()
253 if (mInfoFadeIn != null && mInfoFadeIn.isRunning()) { in endAnimations()
256 if (mInfoFadeOut != null && mInfoFadeOut.isRunning()) { in endAnimations()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmRecyclerView.kt38 return rv.getItemAnimator()!!.isRunning() in onInterceptTouchEvent()
51 (getItemAnimator() == null || !getItemAnimator()!!.isRunning())) { in requestLayout()
DAlarmRecyclerView.java47 return rv.getItemAnimator().isRunning(); in AlarmRecyclerView()
62 (getItemAnimator() == null || !getItemAnimator().isRunning())) { in requestLayout()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerModel.kt345 if (timer.isRunning || timer.isPaused) { in resetUnexpiredTimers()
603 if (updated.remainingTime < MISSED_THRESHOLD && updated.isRunning) { in doUpdateAfterRebootTimer()
623 if (timer.isRunning) { in updateAlarmManager()
695 if (timer.isRunning || timer.isPaused) { in updateNotification()
DTimerModel.java386 if (timer.isRunning() || timer.isPaused()) { in resetUnexpiredTimers()
646 if (updated.getRemainingTime() < MISSED_THRESHOLD && updated.isRunning()) { in doUpdateAfterRebootTimer()
667 if (timer.isRunning()) { in updateAlarmManager()
738 if (timer.isRunning() || timer.isPaused()) { in updateNotification()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt235 if (stopwatch.isRunning) { in <lambda>()
425 if (stopwatch.isRunning && isTabSelected && appInForeground) { in <lambda>()
440 if (stopwatch.isRunning) { in <lambda>()
584 if (stopwatch.isRunning) { in <lambda>()
DStopwatchFragment.java243 if (getStopwatch().isRunning()) { in updateFab()
443 if (getStopwatch().isRunning() && isTabSelected() && appInForeground) { in adjustWakeLock()
458 if (getStopwatch().isRunning()) { in toggleStopwatchState()
609 if (getStopwatch().isRunning()) {
/packages/apps/Camera2/src/com/android/camera/ui/
DCaptureAnimationOverlay.java100 if (mFlashAnimation != null && mFlashAnimation.isRunning()) { in startFlashAnimation()
140 if (mFlashAnimation != null && mFlashAnimation.isRunning()) { in onDraw()
DModeTransitionView.java217 if (mPeepHoleAnimator != null && mPeepHoleAnimator.isRunning()) { in startPeepHoleAnimation()
419 if (mPeepHoleAnimator != null && mPeepHoleAnimator.isRunning()) { in prepareShadeAnimation()
490 if (mPeepHoleAnimator != null && mPeepHoleAnimator.isRunning()) { in setupModeCover()
DModeListView.java448 if (mAnimator != null && mAnimator.isRunning()) { in shouldHandleTouchEvent()
686 if (mAnimator != null && mAnimator.isRunning()) { in cancelAnimation()
1494 return mAnimatorSet != null && mAnimatorSet.isRunning(); in isRunningAccordionAnimation()
1843 if (mAnimatorSet != null && mAnimatorSet.isRunning()) { in animateListToWidth()
1881 if (mAnimatorSet != null && mAnimatorSet.isRunning()) { in animateListToWidthAtVelocity()
2177 if (mPeepHoleAnimator != null && mPeepHoleAnimator.isRunning()) { in startAnimation()
2205 if (mPeepHoleAnimator == null || !mPeepHoleAnimator.isRunning()) { in cancelAnimation()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItemFragment.kt82 } else if (timer.isRunning || timer.isExpired || timer.isMissed) { in onClick()
110 } else if (clickedTimer.isRunning) { in onClick()
DTimerItemFragment.java101 } else if (timer.isRunning() || timer.isExpired() || timer.isMissed()) { in onClick()
131 } else if (clickedTimer.isRunning()) { in onClick()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java271 if (!mFilmstripAnimator.isRunning()) { in animateHide()
292 if (mFilmstripAnimator.isRunning()) { in runAnimation()
337 if (mFilmstripAnimator.isRunning()) { in onScroll()
/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java136 if (mFlashAnim != null && mFlashAnim.isRunning()) { in startFlashAnimation()
175 if (mFlashAnim != null && mFlashAnim.isRunning()) { in cancelAnimations()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DSpringObjectAnimator.java216 public boolean isRunning() { in isRunning() method in SpringObjectAnimator
217 return mObjectAnimator.isRunning(); in isRunning()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.kt108 @StringRes val action: Int = if (DataModel.dataModel.stopwatch.isRunning) { in createStopwatchShortcut()
120 if (DataModel.dataModel.stopwatch.isRunning) { in createStopwatchShortcut()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionUsage.java165 public boolean isRunning() { in isRunning() method in AppPermissionUsage.GroupUsage
178 if (op.getOpStr().equals(opName) && op.isRunning()) { in isRunning()

1234