Searched refs:InstanceKey (Results 1 – 1 of 1) sorted by relevance
35 private final HashMap<InstanceKey, Object> mOldInstances = new HashMap<>();37 private final LinkedList<InstanceKey> mInstanceKeys = new LinkedList<>();39 private static class InstanceKey { class in MockedServiceManager44 InstanceKey(final Class c, final String instName, final Object obj) { in InstanceKey() method in MockedServiceManager.InstanceKey61 InstanceKey other = (InstanceKey) obj; in equals()85 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance()94 Iterator<InstanceKey> it = mInstanceKeys.descendingIterator(); in restoreInstances()97 InstanceKey key = it.next(); in restoreInstances()