Home
last modified time | relevance | path

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

/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java82 assertEquals(ON_CREATE, r.getLifecycleState()); in testWindowVisibilityChange_OnCreate()
85 assertEquals(ON_CREATE, r.getLifecycleState()); in testWindowVisibilityChange_OnCreate()
88 assertEquals(ON_CREATE, r.getLifecycleState()); in testWindowVisibilityChange_OnCreate()
100 assertEquals(ON_CREATE, r.getLifecycleState()); in testWindowVisibilityChange_OnCreate_Finished()
103 assertEquals(ON_CREATE, r.getLifecycleState()); in testWindowVisibilityChange_OnCreate_Finished()
106 assertEquals(ON_CREATE, r.getLifecycleState()); in testWindowVisibilityChange_OnCreate_Finished()
118 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStart()
121 assertEquals(ON_STOP, r.getLifecycleState()); in testWindowVisibilityChange_OnStart()
124 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStart()
137 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStart_Finished()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java160 final int currentState = r.getLifecycleState(); in getClosestOfStates()
178 final int prevState = r.getLifecycleState(); in getLifecycleRequestForCurrentState()
DTransactionExecutor.java193 final int start = r.getLifecycleState(); in cycleToPath()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java441 return mExecutorHelper.getLifecyclePath(mClientRecord.getLifecycleState(), finish, in path()
446 return mExecutorHelper.getLifecyclePath(mClientRecord.getLifecycleState(), finish, in pathExcludeLast()
/frameworks/base/core/java/android/app/
DActivityThread.java580 public int getLifecycleState() { in getLifecycleState() method in ActivityThread.ActivityClientRecord
3591 final int lifecycleState = r.getLifecycleState(); in handleRequestDirectActions()
3632 final int lifecycleState = r.getLifecycleState(); in handlePerformDirectAction()
4205 if (r.getLifecycleState() == ON_RESUME) { in performResumeActivity()
4415 if (r.getLifecycleState() == ON_RESUME) { in handleTopResumedActivityChanged()
4419 Slog.d(TAG, "Won't deliver top position change in state=" + r.getLifecycleState()); in handleTopResumedActivityChanged()
4764 } else if (show && r.getLifecycleState() == ON_STOP) { in handleWindowVisibility()
5255 final int prevState = r.getLifecycleState(); in handleRelaunchActivityLocally()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt1854 Landroid/app/ActivityThread$ActivityClientRecord;->getLifecycleState()I