Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java124 TaskDescription td1 = new TaskDescription( in testTaskDescriptionCopyFrom() local
143 td2.copyFrom(td1); in testTaskDescriptionCopyFrom()
145 assertTaskDescriptionEqual(td1, td2, true, true); in testTaskDescriptionCopyFrom()
150 TaskDescription td1 = new TaskDescription( in testTaskDescriptionCopyFromPreserveHiddenFields() local
185 td2.copyFromPreserveHiddenFields(td1); in testTaskDescriptionCopyFromPreserveHiddenFields()
187 assertTaskDescriptionEqual(td1, td2, true, true); in testTaskDescriptionCopyFromPreserveHiddenFields()
194 assertTaskDescriptionEqual(td1, td2, false, true); in testTaskDescriptionCopyFromPreserveHiddenFields()
245 private void assertTaskDescriptionEqual(TaskDescription td1, TaskDescription td2, in assertTaskDescriptionEqual() argument
248 assertEquals(td1.getLabel(), td2.getLabel()); in assertTaskDescriptionEqual()
249 assertEquals(td1.getInMemoryIcon(), td2.getInMemoryIcon()); in assertTaskDescriptionEqual()
[all …]
/frameworks/base/core/java/android/app/
DActivityManager.java2588 public static boolean equals(TaskDescription td1, TaskDescription td2) { in equals() argument
2589 if (td1 == null && td2 == null) { in equals()
2591 } else if (td1 != null && td2 != null) { in equals()
2592 return td1.equals(td2); in equals()