/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkRunner.java | 33 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/ |
D | MediaPlayerStateErrors.java | 29 PAUSED, enumConstant
|
D | MediaPlayerStateUnitTestTemplate.java | 358 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/ |
D | GraphRunner.java | 57 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/ |
D | TrackBase.h | 37 PAUSED, enumerator 260 case PAUSED: in getTrackStateString()
|
D | PlaybackTracks.h | 193 bool isPaused() const { return mState == PAUSED; } in isPaused() 196 void setPaused() { mState = PAUSED; } in setPaused()
|
D | Tracks.cpp | 930 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()
|
D | Threads.cpp | 4807 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/ |
D | WindowToken.java | 30 import static com.android.server.wm.WindowTokenProto.PAUSED; 288 proto.write(PAUSED, paused); in writeToProto()
|
D | WindowProcessController.java | 26 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()
|
D | ActivityRecord.java | 107 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()
|
D | ActivityStack.java | 62 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()
|
D | RootActivityContainer.java | 47 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 2105 if (r != null && !r.isState(PAUSED, STOPPED, STOPPING)) { in allPausedActivitiesComplete()
|
D | ActivityStackSupervisor.java | 52 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 924 r.setState(PAUSED, "realStartActivityLocked"); in realStartActivityLocked()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 1021 mState = PAUSED; in pause() 1031 mState = PAUSED; in autoPause() 1040 if (mState == PAUSED) { in resume() 1051 if (mAutoPaused && (mState == PAUSED)) { in autoResume()
|
D | SoundPool.h | 117 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enumerator
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentsAnimationTest.java | 34 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 197 assertThat(recentActivity.getState()).isEqualTo(PAUSED); in testRestartRecentsActivity()
|
D | ActivityRecordTests.java | 35 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 175 assertTrue(mActivity.isState(PAUSED)); in testPausingWhenVisibleFromStopped() 451 assertEquals(PAUSED, mActivity.getState()); in testShouldPauseWhenMakeClientVisible()
|
D | ActivityStackTests.java | 35 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/ |
D | IllustrationVideoViewTest.java | 76 assertThat(getShadowMediaPlayer().getState()).isEqualTo(ShadowMediaPlayer.State.PAUSED); in testPausedWhenWindowFocusLost()
|