Searched refs:td2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityManagerTest.java | 139 TaskDescription td2 = new TaskDescription(); in testTaskDescriptionCopyFrom() local 141 td2.copyFrom(td1); in testTaskDescriptionCopyFrom() 143 assertTaskDescriptionEqual(td1, td2, true, true); in testTaskDescriptionCopyFrom() 163 TaskDescription td2 = new TaskDescription( in testTaskDescriptionCopyFromPreserveHiddenFields() local 179 td2.copyFromPreserveHiddenFields(td1); in testTaskDescriptionCopyFromPreserveHiddenFields() 181 assertTaskDescriptionEqual(td1, td2, true, true); in testTaskDescriptionCopyFromPreserveHiddenFields() 185 td2.copyFromPreserveHiddenFields(td3); in testTaskDescriptionCopyFromPreserveHiddenFields() 187 assertTaskDescriptionEqual(td3, td2, true, false); in testTaskDescriptionCopyFromPreserveHiddenFields() 188 assertTaskDescriptionEqual(td1, td2, false, true); in testTaskDescriptionCopyFromPreserveHiddenFields() 235 private void assertTaskDescriptionEqual(TaskDescription td1, TaskDescription td2, in assertTaskDescriptionEqual() argument [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()
|