Searched refs:mInjectedSystemServices (Results 1 – 2 of 2) sorted by relevance
28 private HashMap<String, Object> mInjectedSystemServices = new HashMap<>(); field in TestContext36 mInjectedSystemServices.put(name, service); in injectSystemService()46 if (mInjectedSystemServices.containsKey(name)) { in getSystemService()48 return mInjectedSystemServices.get(name); in getSystemService()
29 private Map<String, Object> mInjectedSystemServices = new HashMap<>(); field in ContextWithServiceOverrides38 mInjectedSystemServices.put(name, service); in injectSystemService()48 if (mInjectedSystemServices.containsKey(name)) { in getSystemService()49 return mInjectedSystemServices.get(name); in getSystemService()