Searched refs:STARTED (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DStrictFragment.java32 public static final int STARTED = 4; field in class:StrictFragment
48 case STARTED: return "STARTED";
129 mState = STARTED;
137 checkState("onResume", STARTED);
139 onStateChanged(STARTED);
147 // FIXME: We should not allow onSaveInstanceState except when STARTED or greater.
158 mState = STARTED;
166 checkState("onStop", STARTED);
168 onStateChanged(STARTED);
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateErrors.java27 STARTED, enum constant in enum:MediaPlayerStateErrors.MediaPlayerState
H A DMediaPlayerStateUnitTestTemplate.java352 case STARTED:
396 case STARTED:
442 callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState.STARTED);
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
H A DTestLifecycleOwner.java31 mLifecycleRegistry.markState(Lifecycle.State.STARTED);
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/
H A DLifecycle.java81 * For example, if the LifecycleOwner is in {@link State#STARTED} state, the given observer
184 STARTED, enum constant in enum:Lifecycle.State
/frameworks/support/lifecycle/common/src/test/java/androidx/lifecycle/
H A DFullLifecycleObserverTest.java28 import static androidx.lifecycle.Lifecycle.State.STARTED;
64 when(mLifecycle.getCurrentState()).thenReturn(STARTED);
74 when(mLifecycle.getCurrentState()).thenReturn(STARTED);
H A DReflectiveGenericLifecycleObserverTest.java29 import static androidx.lifecycle.Lifecycle.State.STARTED;
62 when(mLifecycle.getCurrentState()).thenReturn(STARTED);
127 when(mLifecycle.getCurrentState()).thenReturn(STARTED);
137 when(mLifecycle.getCurrentState()).thenReturn(STARTED);
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java69 static final int STARTED = 3; // Created and started, not resumed. field in class:LocalActivityManager
161 r.curState = STARTED;
172 // of our own (it is now STARTED, while we are only CREATED).
180 if (desiredState == STARTED) {
183 r.curState = STARTED;
193 case STARTED:
197 mActivityThread.performResumeActivity(r, true, "moveToState-STARTED");
203 mActivityThread.performStopActivity(r, false, "moveToState-STARTED");
209 if (desiredState == STARTED) {
212 r.curState = STARTED;
[all...]
/frameworks/av/media/libstagefright/
H A DSimpleDecodingSource.cpp149 me->mState = STARTED;
161 if (me->mState != STARTED) {
186 if (me->mState == STARTED || me->mState == INIT) {
207 if (me->mState != STARTED) {
216 if (me->mState != STARTED) {
226 CHECK_EQ(me->mState, STARTED);
276 if (res != OK || me->mState != STARTED) {
297 if (me->mState != STARTED) {
347 if (me->mState != STARTED) {
H A DMediaMuxer.cpp134 mState = STARTED;
146 if (mState == STARTED) {
169 if (mState != STARTED) {
/frameworks/av/include/media/stagefright/
H A DMediaMuxer.h130 STARTED, enumerator in enum:android::MediaMuxer::State
H A DSimpleDecodingSource.h86 STARTED, enumerator in enum:android::SimpleDecodingSource::State
H A DMediaFilter.h72 STARTED, enumerator in enum:android::MediaFilter::State
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaMuxer.h130 STARTED, enumerator in enum:android::MediaMuxer::State
H A DSimpleDecodingSource.h86 STARTED, enumerator in enum:android::SimpleDecodingSource::State
H A DMediaFilter.h72 STARTED, enumerator in enum:android::MediaFilter::State
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h52 STARTED enumerator in enum:android::SimplePlayer::State
H A DSimplePlayer.cpp190 mState = STARTED;
208 if (mState != STARTED) {
231 if (mState == STARTED) {
391 CHECK_EQ(mState, STARTED);
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/
H A DLifecycleRegistry.java29 import static androidx.lifecycle.Lifecycle.State.STARTED;
242 return STARTED;
259 case STARTED:
276 case STARTED:
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
H A DLiveDataTest.java608 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
641 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
652 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
665 * STARTED.
678 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
679 when(mLifecycle4.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
716 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
717 when(mLifecycle4.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
742 * Act: One Lifecycle enters STARTED state and dispatches lifecycle event.
757 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED);
[all...]
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
H A DTestUtils.java28 import static androidx.lifecycle.Lifecycle.State.STARTED;
91 waitTillState(owner, activityRule, STARTED);
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/
H A DLiveData.java20 import static androidx.lifecycle.Lifecycle.State.STARTED;
36 * {@link Lifecycle.State#STARTED} or {@link Lifecycle.State#RESUMED}. An observer added via
141 * The observer will only receive events if the owner is in {@link Lifecycle.State#STARTED}
322 * lifecycle states aren't {@link Lifecycle.State#STARTED} or {@link Lifecycle.State#RESUMED}
361 return mOwner.getLifecycle().getCurrentState().isAtLeast(STARTED);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneConnection.java389 setPostDialState(PostDialState.STARTED);
402 setPostDialState(PostDialState.STARTED);
553 setPostDialState(PostDialState.STARTED);
599 if (mPostDialState != PostDialState.STARTED
600 && s == PostDialState.STARTED) {
604 } else if (mPostDialState == PostDialState.STARTED
605 && s != PostDialState.STARTED) {
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp505 mState = STARTED;
516 if (mState != STARTED) {
588 if (mState != STARTED) {
661 CHECK(mState != STARTED);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java64 NONE, STARTED, COMPLETED, FAILED, CANCELED; enum constant in enum:Call.SrvccState

Completed in 431 milliseconds

12