Home
last modified time | relevance | path

Searched refs:PAUSED (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkRunner.java33 private static final int PAUSED = 2; // The benchmark is paused field in BenchmarkRunner
53 case PAUSED: in keepRunning()
85 mState = PAUSED; in pauseTiming()
89 if (mState != PAUSED) { in resumeTiming()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStateErrors.java29 PAUSED, enumConstant
DMediaPlayerStateUnitTestTemplate.java358 case PAUSED: in setMediaPlayerToState()
402 case PAUSED: in setStateError()
446 callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState.PAUSED); in checkPausedState()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java57 public static final int PAUSED = 8; field in GraphRunner.State
244 mState.addState(State.PAUSED); in onPause()
248 if (mState.removeState(State.PAUSED)) { in onResume()
734 return mRunLoop.checkState(State.PAUSED); in isPaused()
/frameworks/av/services/audioflinger/
DTrackBase.h37 PAUSED, enumerator
260 case PAUSED: in getTrackStateString()
DPlaybackTracks.h193 bool isPaused() const { return mState == PAUSED; } in isPaused()
196 void setPaused() { mState = PAUSED; } in setPaused()
DTracks.cpp930 if (state == PAUSED || state == PAUSING) { in start()
1003 if (state == RESUMING || state == ACTIVE || state == PAUSING || state == PAUSED) { in stop()
1100 mState != PAUSED && mState != PAUSING && mState != IDLE && mState != FLUSHED) { in flush()
1376 if (isTerminated() || mState == PAUSED || in setSyncEvent()
2211 case PAUSED: // OK, not active in destroy()
DThreads.cpp4807 case TrackBase::PAUSED: in prepareTracks_l()
6981 activeTrack->mState = TrackBase::PAUSED; in threadLoop()
7004 case TrackBase::PAUSED: // cannot be on ActiveTracks if paused in threadLoop()
7786 if (recordTrack->mState == TrackBase::PAUSED) { // successful stop in stop()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowToken.java30 import static com.android.server.wm.WindowTokenProto.PAUSED;
288 proto.write(PAUSED, paused); in writeToProto()
DWindowProcessController.java26 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
741 || r.isState(RESUMED, PAUSING, PAUSED, STOPPING)) { in getReleaseSomeActivitiesTasks()
798 } else if (r.isState(PAUSING, PAUSED)) { in computeOomAdjFromActivities()
DActivityRecord.java107 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
1471 case PAUSED: in checkEnterPictureInPictureState()
1612 if ((mState == RESUMED || mState == PAUSED || isTopActivityWhileSleeping) in deliverNewIntentLocked()
1885 } else if (state == PAUSED) { in setState()
2048 setState(PAUSED, "makeClientVisible"); in makeClientVisible()
2094 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED); in shouldPauseActivity()
2124 if (!isState(RESUMED, PAUSED, STOPPED, STOPPING) in shouldMakeActive()
3487 setState(PAUSED, "relaunchActivityLocked"); in relaunchActivityLocked()
DActivityStack.java62 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
299 PAUSED, enumConstant
1613 if (r.isState(STOPPING, STOPPED, PAUSED, PAUSING)) { in goToSleep()
1780 r.setState(PAUSED, "activityPausedLocked"); in activityPausedLocked()
1800 prev.setState(PAUSED, "completePausedLocked"); in completePauseLocked()
2417 && !r.isState(STOPPING, STOPPED, PAUSED); in makeInvisible()
2439 case PAUSED: in makeInvisible()
3888 if (r.isState(RESUMED, PAUSING, PAUSED)) { in finishTopCrashedActivityLocked()
4158 && prevState == PAUSED && (noFocusedStack || noRunningStack); in finishCurrentActivityLocked()
4161 || (prevState == PAUSED in finishCurrentActivityLocked()
DRootActivityContainer.java47 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
2105 if (r != null && !r.isState(PAUSED, STOPPED, STOPPING)) { in allPausedActivitiesComplete()
DActivityStackSupervisor.java52 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
924 r.setState(PAUSED, "realStartActivityLocked"); in realStartActivityLocked()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp1021 mState = PAUSED; in pause()
1031 mState = PAUSED; in autoPause()
1040 if (mState == PAUSED) { in resume()
1051 if (mAutoPaused && (mState == PAUSED)) { in autoResume()
DSoundPool.h117 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enumerator
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java34 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
197 assertThat(recentActivity.getState()).isEqualTo(PAUSED); in testRestartRecentsActivity()
DActivityRecordTests.java35 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
175 assertTrue(mActivity.isState(PAUSED)); in testPausingWhenVisibleFromStopped()
451 assertEquals(PAUSED, mActivity.getState()); in testShouldPauseWhenMakeClientVisible()
DActivityStackTests.java35 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
1019 activity.setState(PAUSED, "finishCurrentActivity"); in finishCurrentActivity()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DIllustrationVideoViewTest.java76 assertThat(getShadowMediaPlayer().getState()).isEqualTo(ShadowMediaPlayer.State.PAUSED); in testPausedWhenWindowFocusLost()