/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/av/services/audioflinger/ |
D | TrackBase.h | 37 PAUSED, enumerator 258 case PAUSED: in getTrackStateString()
|
D | PlaybackTracks.h | 190 bool isPaused() const { return mState == PAUSED; } in isPaused() 193 void setPaused() { mState = PAUSED; } in setPaused()
|
D | Tracks.cpp | 949 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()
|
D | Threads.cpp | 4710 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/ |
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/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 | ActivityRecord.java | 107 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()
|
D | ActivityStack.java | 61 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()
|
D | RootActivityContainer.java | 46 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 2084 if (r != null && !r.isState(PAUSED, STOPPED, STOPPING)) { in allPausedActivitiesComplete()
|
D | ActivityStackSupervisor.java | 52 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/ |
D | RecentsAnimationTest.java | 34 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 143 assertThat(recentActivity.getState()).isEqualTo(PAUSED); in testRestartRecentsActivity()
|
D | ActivityRecordTests.java | 34 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 169 assertTrue(mActivity.isState(PAUSED)); in testPausingWhenVisibleFromStopped() 445 assertEquals(PAUSED, mActivity.getState()); in testShouldPauseWhenMakeClientVisible()
|
D | ActivityStackTests.java | 35 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED; 1015 activity.setState(PAUSED, "finishCurrentActivity"); in finishCurrentActivity()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 1015 mState = PAUSED; in pause() 1025 mState = PAUSED; in autoPause() 1034 if (mState == PAUSED) { in resume() 1045 if (mAutoPaused && (mState == PAUSED)) { in autoResume()
|
D | SoundPool.h | 117 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enumerator
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | IllustrationVideoViewTest.java | 76 assertThat(getShadowMediaPlayer().getState()).isEqualTo(ShadowMediaPlayer.State.PAUSED); in testPausedWhenWindowFocusLost()
|