Home
last modified time | relevance | path

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

/cts/tests/framework/base/activitymanager/util/src/android/server/am/
DActivityAndWindowManagersState.java77 private final ActivityManagerState mAmState = new ActivityManagerState(); field in ActivityAndWindowManagersState
145 mAmState.computeState(); in waitForValidState()
181 mAmState.computeState(); in waitForAllStoppedActivities()
182 if (!mAmState.containsStartedActivities()) { in waitForAllStoppedActivities()
201 mAmState.computeState(); in waitForDebuggerWindowVisible()
215 ComponentName homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
220 homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
224 return mAmState.isHomeActivityVisible(); in waitForHomeActivityVisible()
231 if (mAmState.isHomeRecentsComponent()) { in waitForRecentsActivityVisible()
237 return mAmState.isRecentsActivityVisible(); in waitForRecentsActivityVisible()
[all …]
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java74 private ActivityManagerState mAmState = new ActivityManagerState(); field in ActivityAndWindowManagersState
116 mAmState.computeState(); in waitForValidState()
132 ComponentName homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
137 homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
141 return mAmState.isHomeActivityVisible(); in waitForHomeActivityVisible()
163 mAmState.computeState(); in waitFor()
165 return waitCondition.test(mAmState, mWmState); in waitFor()
204 final int stackCount = mAmState.getStackCount(); in shouldWaitForValidStacks()
209 final int resumedActivitiesCount = mAmState.getResumedActivitiesCount(); in shouldWaitForValidStacks()
210 if (!mAmState.getKeyguardControllerState().keyguardShowing && resumedActivitiesCount != 1) { in shouldWaitForValidStacks()
[all …]