Searched refs:DiffedFieldValue (Results 1 – 5 of 5) sorted by relevance
/art/tools/ahat/src/test/com/android/ahat/ |
D | DiffFieldsTest.java | 20 import com.android.ahat.heapdump.DiffedFieldValue; 48 DiffedFieldValue x = DiffedFieldValue.matched(normal1, normal2); in normalMatchedDiffedFieldValues() 53 assertEquals(DiffedFieldValue.Status.MATCHED, x.status); in normalMatchedDiffedFieldValues() 61 DiffedFieldValue x = DiffedFieldValue.matched(normal, nulled); in nulledMatchedDiffedFieldValues() 66 assertEquals(DiffedFieldValue.Status.MATCHED, x.status); in nulledMatchedDiffedFieldValues() 68 DiffedFieldValue y = DiffedFieldValue.matched(nulled, normal); in nulledMatchedDiffedFieldValues() 73 assertEquals(DiffedFieldValue.Status.MATCHED, y.status); in nulledMatchedDiffedFieldValues() 80 DiffedFieldValue x = DiffedFieldValue.added(normal); in normalAddedDiffedFieldValues() 84 assertEquals(DiffedFieldValue.Status.ADDED, x.status); in normalAddedDiffedFieldValues() 91 DiffedFieldValue x = DiffedFieldValue.added(nulled); in nulledAddedDiffedFieldValues() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | DiffedFieldValue.java | 25 public class DiffedFieldValue { class 81 public static DiffedFieldValue matched(FieldValue current, FieldValue baseline) { in matched() 82 return new DiffedFieldValue(current.name, in matched() 95 public static DiffedFieldValue added(FieldValue current) { in added() 96 return new DiffedFieldValue(current.name, current.type, current.value, null, Status.ADDED); in added() 105 public static DiffedFieldValue deleted(FieldValue baseline) { in deleted() 106 return new DiffedFieldValue(baseline.name, baseline.type, null, baseline.value, Status.DELETED); in deleted() 109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue() method in DiffedFieldValue 123 if (otherObject instanceof DiffedFieldValue) { in equals() 124 DiffedFieldValue other = (DiffedFieldValue)otherObject; in equals()
|
D | DiffFields.java | 36 public static List<DiffedFieldValue> diff(Iterable<FieldValue> current, in diff() 51 List<DiffedFieldValue> diffed = new ArrayList<DiffedFieldValue>(); in diff() 60 diffed.add(DiffedFieldValue.added(currentField)); in diff() 63 diffed.add(DiffedFieldValue.matched(currentField, baselineField)); in diff() 67 diffed.add(DiffedFieldValue.deleted(baselineField)); in diff() 74 diffed.add(DiffedFieldValue.added(currentField)); in diff() 80 diffed.add(DiffedFieldValue.deleted(baselineField)); in diff()
|
/art/tools/ahat/etc/ |
D | ahat_api.txt | 134 method public static List<DiffedFieldValue> diff(Iterable<FieldValue>, Iterable<FieldValue>); 142 public class DiffedFieldValue { 143 …method public static com.android.ahat.heapdump.DiffedFieldValue added(com.android.ahat.heapdump.Fi… 144 …method public static com.android.ahat.heapdump.DiffedFieldValue deleted(com.android.ahat.heapdump.… 147 …method public static com.android.ahat.heapdump.DiffedFieldValue matched(com.android.ahat.heapdump.… 152 field public final com.android.ahat.heapdump.DiffedFieldValue.Status status; 156 public enum DiffedFieldValue.Status { 157 enum_constant public static final com.android.ahat.heapdump.DiffedFieldValue.Status ADDED; 158 enum_constant public static final com.android.ahat.heapdump.DiffedFieldValue.Status DELETED; 159 enum_constant public static final com.android.ahat.heapdump.DiffedFieldValue.Status MATCHED;
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | ObjectHandler.java | 26 import com.android.ahat.heapdump.DiffedFieldValue; 167 List<DiffedFieldValue> fields = DiffFields.diff(current, baseline); in printFields() 168 SubsetSelector<DiffedFieldValue> selector = new SubsetSelector(query, id, fields); in printFields() 176 for (DiffedFieldValue field : selector.selected()) { in printFields()
|