Searched refs:sLocalServiceObjects (Results 1 – 2 of 2) sorted by relevance
42 private static final ArrayMap<Class<?>, Object> sLocalServiceObjects = field in CarLocalServices57 synchronized (sLocalServiceObjects) { in getService()58 return (T) sLocalServiceObjects.get(type); in getService()66 synchronized (sLocalServiceObjects) { in addService()67 if (sLocalServiceObjects.containsKey(type)) { in addService()73 sLocalServiceObjects.put(type, service); in addService()85 synchronized (sLocalServiceObjects) { in removeServiceForTest()86 sLocalServiceObjects.remove(type); in removeServiceForTest()97 synchronized (sLocalServiceObjects) { in removeAllServices()98 sLocalServiceObjects.clear(); in removeAllServices()
34 private static final ArrayMap<Class<?>, Object> sLocalServiceObjects = field in WifiLocalServices45 synchronized (sLocalServiceObjects) { in getService()46 return (T) sLocalServiceObjects.get(type); in getService()54 synchronized (sLocalServiceObjects) { in addService()55 if (sLocalServiceObjects.containsKey(type)) { in addService()58 sLocalServiceObjects.put(type, service); in addService()67 synchronized (sLocalServiceObjects) { in removeServiceForTest()68 sLocalServiceObjects.remove(type); in removeServiceForTest()