Home
last modified time | relevance | path

Searched refs:PAUSED (Results 1 – 19 of 19) 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/av/services/audioflinger/
DTrackBase.h37 PAUSED, enumerator
258 case PAUSED: in getTrackStateString()
DPlaybackTracks.h190 bool isPaused() const { return mState == PAUSED; } in isPaused()
193 void setPaused() { mState = PAUSED; } in setPaused()
DTracks.cpp949 if (state == PAUSED || state == PAUSING) { in start()
1022 if (state == RESUMING || state == ACTIVE || state == PAUSING || state == PAUSED) { in stop()
1119 mState != PAUSED && mState != PAUSING && mState != IDLE && mState != FLUSHED) { in flush()
1395 if (isTerminated() || mState == PAUSED || in setSyncEvent()
2089 case PAUSED: // OK, not active in destroy()
DThreads.cpp4710 case TrackBase::PAUSED: in prepareTracks_l()
6930 activeTrack->mState = TrackBase::PAUSED; in threadLoop()
6953 case TrackBase::PAUSED: // cannot be on ActiveTracks if paused in threadLoop()
7734 if (recordTrack->mState == TrackBase::PAUSED) { // successful stop in stop()
/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/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()
DActivityRecord.java107 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
1469 case PAUSED: in checkEnterPictureInPictureState()
1614 if ((mState == RESUMED || mState == PAUSED || isTopActivityWhileSleeping) in deliverNewIntentLocked()
1887 } else if (state == PAUSED) { in setState()
2050 setState(PAUSED, "makeClientVisible"); in makeClientVisible()
2096 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED); in shouldPauseActivity()
2126 if (!isState(RESUMED, PAUSED, STOPPED, STOPPING) in shouldMakeActive()
3495 setState(PAUSED, "relaunchActivityLocked"); in relaunchActivityLocked()
DActivityStack.java61 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
296 PAUSED, enumConstant
1610 if (r.isState(STOPPING, STOPPED, PAUSED, PAUSING)) { in goToSleep()
1777 r.setState(PAUSED, "activityPausedLocked"); in activityPausedLocked()
1797 prev.setState(PAUSED, "completePausedLocked"); in completePauseLocked()
2415 && !r.isState(STOPPING, STOPPED, PAUSED); in makeInvisible()
2437 case PAUSED: in makeInvisible()
3873 if (r.isState(RESUMED, PAUSING, PAUSED)) { in finishTopCrashedActivityLocked()
4131 && prevState == PAUSED && (noFocusedStack || noRunningStack); in finishCurrentActivityLocked()
4134 || (prevState == PAUSED in finishCurrentActivityLocked()
DRootActivityContainer.java46 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
2084 if (r != null && !r.isState(PAUSED, STOPPED, STOPPING)) { in allPausedActivitiesComplete()
DActivityStackSupervisor.java52 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
909 r.setState(PAUSED, "realStartActivityLocked"); in realStartActivityLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java34 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
143 assertThat(recentActivity.getState()).isEqualTo(PAUSED); in testRestartRecentsActivity()
DActivityRecordTests.java34 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
169 assertTrue(mActivity.isState(PAUSED)); in testPausingWhenVisibleFromStopped()
445 assertEquals(PAUSED, mActivity.getState()); in testShouldPauseWhenMakeClientVisible()
DActivityStackTests.java35 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
1015 activity.setState(PAUSED, "finishCurrentActivity"); in finishCurrentActivity()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp1015 mState = PAUSED; in pause()
1025 mState = PAUSED; in autoPause()
1034 if (mState == PAUSED) { in resume()
1045 if (mAutoPaused && (mState == PAUSED)) { in autoResume()
DSoundPool.h117 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enumerator
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DIllustrationVideoViewTest.java76 assertThat(getShadowMediaPlayer().getState()).isEqualTo(ShadowMediaPlayer.State.PAUSED); in testPausedWhenWindowFocusLost()