Searched refs:mOldInstances (Results 1 – 3 of 3) sorted by relevance
35 private final HashMap<InstanceKey, Object> mOldInstances = new HashMap<>(); field in MockedServiceManager86 if (!mOldInstances.containsKey(key)) { in replaceInstance()87 mOldInstances.put(key, field.get(obj)); in replaceInstance()100 field.set(key.mObj, mOldInstances.get(key)); in restoreInstances()104 mOldInstances.clear(); in restoreInstances()
34 private final HashMap<InstanceKey, Object> mOldInstances = new HashMap<>(); field in MockedServiceManager85 if (!mOldInstances.containsKey(key)) { in replaceInstance()86 mOldInstances.put(key, field.get(obj)); in replaceInstance()99 field.set(key.mObj, mOldInstances.get(key)); in restoreInstances()103 mOldInstances.clear(); in restoreInstances()
83 private final HashMap<InstanceKey, Object> mOldInstances = new HashMap<>(); field in CellBroadcastServiceTestBase192 if (!mOldInstances.containsKey(key)) { in replaceInstance()193 mOldInstances.put(key, field.get(obj)); in replaceInstance()206 field.set(key.mObj, mOldInstances.get(key)); in restoreInstances()210 mOldInstances.clear(); in restoreInstances()