/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WaitForValidActivityState.java | 44 public final int activityType; field in WaitForValidActivityState 55 this.activityType = ACTIVITY_TYPE_UNDEFINED; in WaitForValidActivityState() 63 this.activityType = builder.mActivityType; in WaitForValidActivityState() 72 if (activityType != ACTIVITY_TYPE_UNDEFINED) { in toString() 73 sb.append(" type=").append(activityTypeName(activityType)); in toString() 100 private static String activityTypeName(int activityType) { in activityTypeName() argument 101 switch (activityType) { in activityTypeName() 108 throw new IllegalArgumentException("Unknown ACTIVITY_TYPE_: " + activityType); in activityTypeName() 143 public Builder setActivityType(int activityType) { in setActivityType() argument 144 mActivityType = activityType; in setActivityType()
|
D | ActivityAndWindowManagersState.java | 328 void waitForFocusedStack(int windowingMode, int activityType) { in waitForFocusedStack() argument 330 (activityType == ACTIVITY_TYPE_UNDEFINED in waitForFocusedStack() 331 || state.getFocusedStackActivityType() == activityType) in waitForFocusedStack() 445 final int activityType = state.activityType; in shouldWaitForActivities() local 468 if (activityType != ACTIVITY_TYPE_UNDEFINED in shouldWaitForActivities() 469 && ws.getActivityType() != activityType) { in shouldWaitForActivities() 568 void assertContainsStack(String msg, int windowingMode, int activityType) { in assertContainsStack() argument 569 assertTrue(msg, mAmState.containsStack(windowingMode, activityType)); in assertContainsStack() 570 assertTrue(msg, mWmState.containsStack(windowingMode, activityType)); in assertContainsStack() 573 void assertDoesNotContainStack(String msg, int windowingMode, int activityType) { in assertDoesNotContainStack() argument [all …]
|
D | ActivityManagerState.java | 282 boolean containsStack(int windowingMode, int activityType) { in containsStack() argument 284 if (activityType != ACTIVITY_TYPE_UNDEFINED in containsStack() 285 && activityType != stack.getActivityType()) { in containsStack() 306 ActivityStack getStackByActivityType(int activityType) { in getStackByActivityType() argument 308 if (activityType == stack.getActivityType()) { in getStackByActivityType() 341 int getStackIndexByActivityType(int activityType) { in getStackIndexByActivityType() argument 344 if (activityType == display.mStacks.get(i).getActivityType()) { in getStackIndexByActivityType() 776 mTaskType = proto.activityType; in ActivityTask()
|
D | ActivityLauncher.java | 182 final int activityType = extras.getInt(KEY_ACTIVITY_TYPE, -1); in launchActivityFromExtras() local 183 if (activityType != -1) { in launchActivityFromExtras() 187 options.setLaunchActivityType(activityType); in launchActivityFromExtras()
|
D | ProtoExtractors.java | 57 config.setActivityType(proto.activityType); in extract()
|
D | WindowManagerState.java | 457 boolean containsStack(int windowingMode, int activityType) { in containsStack() argument 459 if (activityType != ACTIVITY_TYPE_UNDEFINED in containsStack() 460 && activityType != stack.getActivityType()) { in containsStack() 535 int getStackIndexByActivityType(int activityType) { in getStackIndexByActivityType() argument 539 if (activityType == stacks.get(i).getActivityType()) { in getStackIndexByActivityType()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | WaitForValidActivityState.java | 44 public final int activityType; field in WaitForValidActivityState 55 this.activityType = ACTIVITY_TYPE_UNDEFINED; in WaitForValidActivityState() 63 this.activityType = builder.mActivityType; in WaitForValidActivityState() 72 if (activityType != ACTIVITY_TYPE_UNDEFINED) { in toString() 73 sb.append(" type=").append(activityTypeName(activityType)); in toString() 100 private static String activityTypeName(int activityType) { in activityTypeName() argument 101 switch (activityType) { in activityTypeName() 108 throw new IllegalArgumentException("Unknown ACTIVITY_TYPE_: " + activityType); in activityTypeName() 138 public Builder setActivityType(int activityType) { in setActivityType() argument 139 mActivityType = activityType; in setActivityType()
|
D | ActivityAndWindowManagersState.java | 240 final int activityType = state.activityType; in shouldWaitForActivities() local 262 if (activityType != ACTIVITY_TYPE_UNDEFINED in shouldWaitForActivities() 263 && ws.getActivityType() != activityType) { in shouldWaitForActivities()
|
D | ActivityManagerState.java | 184 ActivityStack getStackByActivityType(int activityType) { in getStackByActivityType() argument 186 if (activityType == stack.getActivityType()) { in getStackByActivityType() 318 mTaskType = proto.activityType; in ActivityTask()
|
D | ProtoExtractors.java | 57 config.setActivityType(proto.activityType); in extract()
|
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/ |
D | JdwpTunnelTest.java | 170 ReferenceType activityType = null; in testAttachDebugger() local 171 while (activityType == null) { in testAttachDebugger() 175 activityType = vm.eventQueue().remove().stream() in testAttachDebugger() 184 activityType.methodsByName("onCreate").get(0).allLineLocations().get(0)); in testAttachDebugger()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AssistantStackTests.java | 370 private void waitForValidStateWithActivityType(ComponentName activityName, int activityType) in waitForValidStateWithActivityType() argument 373 .setActivityType(activityType) in waitForValidStateWithActivityType() 378 int activityType, int windowingMode) throws Exception { in waitForValidStateWithActivityTypeAndWindowingMode() argument 380 .setActivityType(activityType) in waitForValidStateWithActivityTypeAndWindowingMode()
|
D | MultiDisplayActivityLaunchTests.java | 107 private void validateActivityLaunchOnNewDisplay(int activityType) throws Exception { in validateActivityLaunchOnNewDisplay() argument 116 .setMultipleTask(true).setActivityType(activityType) in validateActivityLaunchOnNewDisplay() 126 assertEquals("Top activity must have correct activity type", activityType, in validateActivityLaunchOnNewDisplay()
|
D | PinnedStackTests.java | 1307 int windowingMode, int activityType) { in assertPinnedStackStateOnMoveToFullscreen() argument 1308 mAmWmState.waitForFocusedStack(windowingMode, activityType); in assertPinnedStackStateOnMoveToFullscreen() 1309 mAmWmState.assertFocusedStack("Wrong focused stack", windowingMode, activityType); in assertPinnedStackStateOnMoveToFullscreen()
|