Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java61 public int mStartState; field in ServiceTest
71 if (mStartState == STATE_START_1) {
77 } else if (mStartState == STATE_START_2) {
84 finishBad("onStart() was called when not expected (state="+mStartState+")");
89 if (mStartState == STATE_DESTROY) {
92 finishBad("onDestroy() was called when not expected (state="+mStartState+")");
97 if (mStartState == STATE_UNBIND) {
98 mStartState = STATE_DESTROY;
99 } else if (mStartState == STATE_UNBIND_ONLY) {
102 finishBad("onUnbind() was called when not expected (state="+mStartState+")");
[all …]