Home
last modified time | relevance | path

Searched refs:isRunning (Results 1 – 25 of 78) 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/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DOpUsageLiveData.kt80 if (attributedOpEntry.isRunning || in loadDataAndPostValue()
83 val accessTime = if (attributedOpEntry.isRunning) { in loadDataAndPostValue()
162 val isRunning = lastAccessTime == IS_RUNNING constant
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java171 public boolean isRunning() { in isRunning() method in Nat464Xlat
266 boolean wasRunning = isRunning(); in stop()
401 if (!isRunning()) { in fixupLinkProperties()
489 if (!isRunning()) { in handleInterfaceRemoved()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmRecyclerView.kt38 return rv.getItemAnimator()!!.isRunning() in onInterceptTouchEvent()
51 (getItemAnimator() == null || !getItemAnimator()!!.isRunning())) { in requestLayout()
/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/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()
375 if (isRunning()) { in updateStateAndNotification()
/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()
/packages/apps/Settings/src/com/android/settings/widget/
DVectorAnimationController.java75 return mAnimatedVectorDrawableCompat.isRunning(); in isPlaying()
99 if (mAnimatedVectorDrawableCompat.isRunning()) { in updateViewStates()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItemFragment.kt81 } else if (timer.isRunning || timer.isExpired || timer.isMissed) { in onClick()
109 } else if (clickedTimer.isRunning) { in onClick()
/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/stopwatch/
DStopwatchFragment.kt234 if (stopwatch.isRunning) { in <lambda>()
424 if (stopwatch.isRunning && isTabSelected && appInForeground) { in <lambda>()
439 if (stopwatch.isRunning) { in <lambda>()
583 if (stopwatch.isRunning) { in <lambda>()
/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/TvSettings/Settings/src/com/android/tv/settings/privacy/
DRecentlyAccessedByUtils.java102 + ", running: " + entry.isRunning() in getRecentRequestFromOps()
105 if (entry.isRunning()) { in getRecentRequestFromOps()
/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/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/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java156 boolean isRunning) { in mockUmIsUserRunning() argument
157 when(um.isUserRunning(userId)).thenReturn(isRunning); in mockUmIsUserRunning()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java63 boolean isRunning(); in isRunning() method
100 public boolean isRunning() {
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DTutorialFragment.java237 if (mTutorialAnimation != null && mTutorialAnimation.isRunning()) { in releaseFeedbackVideoView()
245 if (mGestureAnimation != null && mGestureAnimation.isRunning()) { in releaseGestureVideoView()
/packages/modules/Virtualization/virtmanager/aidl/android/system/virtmanager/
DIVirtualMachine.aidl25 boolean isRunning(); in isRunning() method

1234