Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java85 import static com.android.server.wm.ActivityRecord.FINISH_RESULT_REQUESTED;
972 assertEquals("Currently resumed activity must be prepared removal", FINISH_RESULT_REQUESTED, in testFinishActivityIfPossible_requested()
981 assertEquals("Activity outside of task/stack cannot be finished", FINISH_RESULT_REQUESTED, in testFinishActivityIfPossible_requested()
1116 FINISH_RESULT_REQUESTED, activity.finishIfPossible("test", false /* oomAdj */)); in testFinishActivityIfPossible_resumedStartsPausing()
1133 assertEquals("Finish must be requested", FINISH_RESULT_REQUESTED, in testFinishActivityIfPossible_nonResumedFinishCompletesImmediately()
1147 assertEquals("Finish must be requested", FINISH_RESULT_REQUESTED, in testFinishActivityIfPossible_pausing()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java3667 static final int FINISH_RESULT_REQUESTED = 1; field in ActivityRecord
3674 FINISH_RESULT_REQUESTED,
3855 return removedActivity ? FINISH_RESULT_REMOVED : FINISH_RESULT_REQUESTED; in finishIfPossible()
3860 return FINISH_RESULT_REQUESTED; in finishIfPossible()