/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 197 case PAUSING: in getTrackStateAsString() 317 case PAUSING: in getTrackStateAsCodedString()
|
D | Tracks.cpp | 247 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()
|
D | PlaybackTracks.h | 239 bool isPausing() const final { return mState == PAUSING; } in isPausing()
|
D | IAfTrack.h | 68 PAUSING, enumerator
|
D | Threads.cpp | 5680 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/ |
D | WindowProcessController.java | 34 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()
|
D | ActivityRecord.java | 167 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 …]
|
D | ActivityClientController.java | 49 import static com.android.server.wm.ActivityRecord.State.PAUSING; 1523 if (r != null && r.isState(RESUMED, PAUSING)) { in overridePendingTransition()
|
D | TaskFragment.java | 53 import static com.android.server.wm.ActivityRecord.State.PAUSING; 1789 prev.setState(PAUSING, "startPausingLocked"); in startPausing()
|
D | WindowOrganizerController.java | 71 import static com.android.server.wm.ActivityRecord.State.PAUSING; 1263 if (pipActivity.isState(PAUSING) && pipActivity.mPauseSchedulePendingForPip) { in applyHierarchyOp()
|
D | ActivityTaskSupervisor.java | 57 import static com.android.server.wm.ActivityRecord.State.PAUSING; 2124 if (!processPausingActivities && s.isState(PAUSING)) { in processStoppingAndFinishingActivities()
|
D | ActivityTaskManagerService.java | 108 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()
|
D | Task.java | 70 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/ |
D | WindowProcessControllerTests.java | 31 import static com.android.server.wm.ActivityRecord.State.PAUSING; 413 activity.setState(PAUSING, "test"); in testComputeProcessActivityState()
|
D | ActivityTaskManagerServiceTests.java | 32 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()
|
D | RootTaskTests.java | 42 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()
|
D | ActivityRecordTests.java | 92 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()
|
D | ActivityMetricsLaunchObserverTests.java | 446 mTrampolineActivity.setState(ActivityRecord.State.PAUSING, "test"); in testDoNotCountInvisibleActivityToBeDrawn()
|
D | RootWindowContainerTests.java | 36 import static com.android.server.wm.ActivityRecord.State.PAUSING; 190 activity.setState(PAUSING, "test PAUSING"); in testAllPausedActivitiesComplete()
|