Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java81 private final ActivityManagerState mAmState = new ActivityManagerState(); field in ActivityAndWindowManagersState
149 mAmState.computeState(); in waitForValidState()
185 mAmState.computeState(); in waitForAllStoppedActivities()
186 if (!mAmState.containsStartedActivities()) { in waitForAllStoppedActivities()
205 mAmState.computeState(); in waitForDebuggerWindowVisible()
234 ComponentName homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
239 homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
246 if (mAmState.isHomeRecentsComponent()) { in waitForRecentsActivityVisible()
370 mAmState.computeState(); in waitFor()
372 return waitCondition.test(mAmState, mWmState); in waitFor()
[all …]
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java75 private ActivityManagerState mAmState = new ActivityManagerState(); field in ActivityAndWindowManagersState
117 mAmState.computeState(); in waitForValidState()
133 ComponentName homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
138 homeActivity = mAmState.getHomeActivityName(); in waitForHomeActivityVisible()
142 return mAmState.isHomeActivityVisible(); in waitForHomeActivityVisible()
164 mAmState.computeState(); in waitFor()
166 return waitCondition.test(mAmState, mWmState); in waitFor()
205 final int stackCount = mAmState.getStackCount(); in shouldWaitForValidStacks()
210 final int resumedActivitiesCount = mAmState.getResumedActivitiesCount(); in shouldWaitForValidStacks()
211 if (!mAmState.getKeyguardControllerState().keyguardShowing && resumedActivitiesCount != 1) { in shouldWaitForValidStacks()
[all …]