Searched refs:td1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityManagerTest.java | 124 TaskDescription td1 = new TaskDescription( in testTaskDescriptionCopyFrom() local 141 td2.copyFrom(td1); in testTaskDescriptionCopyFrom() 143 assertTaskDescriptionEqual(td1, td2, true, true); in testTaskDescriptionCopyFrom() 148 TaskDescription td1 = new TaskDescription( in testTaskDescriptionCopyFromPreserveHiddenFields() local 179 td2.copyFromPreserveHiddenFields(td1); in testTaskDescriptionCopyFromPreserveHiddenFields() 181 assertTaskDescriptionEqual(td1, td2, true, true); in testTaskDescriptionCopyFromPreserveHiddenFields() 188 assertTaskDescriptionEqual(td1, td2, false, true); in testTaskDescriptionCopyFromPreserveHiddenFields() 235 private void assertTaskDescriptionEqual(TaskDescription td1, TaskDescription td2, in assertTaskDescriptionEqual() argument 238 assertEquals(td1.getLabel(), td2.getLabel()); in assertTaskDescriptionEqual() 239 assertEquals(td1.getInMemoryIcon(), td2.getInMemoryIcon()); in assertTaskDescriptionEqual() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1766 public static boolean equals(TaskDescription td1, TaskDescription td2) { in equals() argument 1767 if (td1 == null && td2 == null) { in equals() 1769 } else if (td1 != null && td2 != null) { in equals() 1770 return td1.equals(td2); in equals()
|