Home
last modified time | relevance | path

Searched refs:PAUSING (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/services/audioflinger/
DTrackBase.h197 case PAUSING: in getTrackStateAsString()
317 case PAUSING: in getTrackStateAsCodedString()
DTracks.cpp247 static_assert(CBLK_STATE_PAUSING == PAUSING); in TrackBase()
1214 if (state == PAUSED || state == PAUSING) { in start()
1328 if (state == RESUMING || state == ACTIVE || state == PAUSING || state == PAUSED) { in stop()
1378 mState = PAUSING; in pause()
1434 mState != PAUSED && mState != PAUSING && mState != IDLE && mState != FLUSHED) { in flush()
2908 case PAUSING: // invalidated while in the middle of stop() pausing (still active) in destroy()
DPlaybackTracks.h239 bool isPausing() const final { return mState == PAUSING; } in isPausing()
DIAfTrack.h68 PAUSING, enumerator
DThreads.cpp5680 case IAfTrackBase::PAUSING: in prepareTracks_l()
8353 case IAfTrackBase::PAUSING: in threadLoop()
9115 if (recordTrack->state() == IAfTrackBase::PAUSING) { in start()
9203 if (mActiveTracks.indexOf(recordTrack) < 0 || recordTrack->state() == IAfTrackBase::PAUSING) { in stop()
9207 recordTrack->setState(IAfTrackBase::PAUSING); in stop()
9211 while (recordTrack->state() == IAfTrackBase::PAUSING && !recordTrack->isInvalid()) { in stop()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessController.java34 import static com.android.server.wm.ActivityRecord.State.PAUSING;
1118 || r.isState(STARTED, RESUMED, PAUSING, PAUSED, STOPPING)) { in releaseSomeActivities()
1276 } else if (!visible && bestInvisibleState != PAUSING) { in computeProcessActivityState()
1277 if (r.isState(PAUSING, PAUSED)) { in computeProcessActivityState()
1278 bestInvisibleState = PAUSING; in computeProcessActivityState()
1300 } else if (bestInvisibleState == PAUSING) { in computeProcessActivityState()
DActivityRecord.java167 import static com.android.server.wm.ActivityRecord.State.PAUSING;
618 PAUSING, enumConstant
3456 case PAUSING: in checkEnterPictureInPictureState()
3821 } else if (!isState(PAUSING)) { in finishIfPossible()
3903 if (isState(PAUSING)) { in completeFinishing()
4377 mVisibleForServiceConnection = mVisibleRequested || mState == RESUMED || mState == PAUSING; in updateVisibleForServiceConnection()
5034 if (forceSendForMediaProjection && attachedToProcess() && isState(STARTED, PAUSING, PAUSED, in sendResult()
5083 case PAUSING: in getLifecycleItemForCurrentStateForResult()
6337 case PAUSING: in makeInvisible()
6371 setState(PAUSING, "makeActiveIfNeeded"); in makeActiveIfNeeded()
[all …]
DActivityClientController.java49 import static com.android.server.wm.ActivityRecord.State.PAUSING;
1523 if (r != null && r.isState(RESUMED, PAUSING)) { in overridePendingTransition()
DTaskFragment.java53 import static com.android.server.wm.ActivityRecord.State.PAUSING;
1789 prev.setState(PAUSING, "startPausingLocked"); in startPausing()
DWindowOrganizerController.java71 import static com.android.server.wm.ActivityRecord.State.PAUSING;
1263 if (pipActivity.isState(PAUSING) && pipActivity.mPauseSchedulePendingForPip) { in applyHierarchyOp()
DActivityTaskSupervisor.java57 import static com.android.server.wm.ActivityRecord.State.PAUSING;
2124 if (!processPausingActivities && s.isState(PAUSING)) { in processStoppingAndFinishingActivities()
DActivityTaskManagerService.java108 import static com.android.server.wm.ActivityRecord.State.PAUSING;
3748 if (fromClient && r.isState(PAUSING) && params.isAutoEnterEnabled()) { in enterPictureInPictureMode()
3774 && (!r.isState(PAUSING) || params.isAutoEnterEnabled()); in enterPictureInPictureMode()
3807 if (r.isState(PAUSING) && r.mPauseSchedulePendingForPip) { in enterPictureInPictureMode()
DTask.java70 import static com.android.server.wm.ActivityRecord.State.PAUSING;
5395 if (topActivity != null && topActivity.isState(RESUMED, PAUSING)
5514 if (activityBelow.isState(STARTED, RESUMED, PAUSING, PAUSED)) {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowProcessControllerTests.java31 import static com.android.server.wm.ActivityRecord.State.PAUSING;
413 activity.setState(PAUSING, "test"); in testComputeProcessActivityState()
DActivityTaskManagerServiceTests.java32 import static com.android.server.wm.ActivityRecord.State.PAUSING;
358 doReturn(true).when(activity).isState(PAUSING); in testEnterPipModeWhenPausing_autoEnterEnabled_returnFalse()
374 doReturn(true).when(activity).isState(PAUSING); in testEnterPipModeWhenPausing_autoEnterDisabled_returnTrue()
434 assertEquals(PAUSING, topActivity.getState()); in testUpdateSleep()
DRootTaskTests.java42 import static com.android.server.wm.ActivityRecord.State.PAUSING;
253 r.setState(PAUSING, "testResumedActivity"); in testResumedActivity()
1075 assertThat(secondActivity.getState()).isEqualTo(PAUSING); in testFinishDisabledPackageActivities_FinishAliveActivities()
DActivityRecordTests.java92 import static com.android.server.wm.ActivityRecord.State.PAUSING;
296 assertTrue(activity.isState(PAUSING)); in testPausingWhenVisibleFromStopped()
1117 assertEquals(PAUSING, activity.getState()); in testFinishActivityIfPossible_resumedStartsPausing()
1146 activity.setState(PAUSING, "test"); in testFinishActivityIfPossible_pausing()
1249 activity2.setState(PAUSING, "test"); in testFinishActivityIfPossible_collectToExistingTransition()
1339 activity.setState(PAUSING, "test"); in testCompleteFinishing_pausing()
1344 assertEquals(PAUSING, activity.getState()); in testCompleteFinishing_pausing()
DActivityMetricsLaunchObserverTests.java446 mTrampolineActivity.setState(ActivityRecord.State.PAUSING, "test"); in testDoNotCountInvisibleActivityToBeDrawn()
DRootWindowContainerTests.java36 import static com.android.server.wm.ActivityRecord.State.PAUSING;
190 activity.setState(PAUSING, "test PAUSING"); in testAllPausedActivitiesComplete()