Searched refs:sLocalServiceObjects (Results 1 – 2 of 2) sorted by relevance
40 private static final ArrayMap<Class<?>, Object> sLocalServiceObjects = field in CarLocalServices54 synchronized (sLocalServiceObjects) { in getService()55 return (T) sLocalServiceObjects.get(type); in getService()63 synchronized (sLocalServiceObjects) { in addService()64 if (sLocalServiceObjects.containsKey(type)) { in addService()70 sLocalServiceObjects.put(type, service); in addService()82 synchronized (sLocalServiceObjects) { in removeServiceForTest()83 sLocalServiceObjects.remove(type); in removeServiceForTest()94 synchronized (sLocalServiceObjects) { in removeAllServices()95 sLocalServiceObjects.clear(); in removeAllServices()
35 private static final ArrayMap<Class<?>, Object> sLocalServiceObjects = field in LocalServices46 synchronized (sLocalServiceObjects) { in getService()47 return (T) sLocalServiceObjects.get(type); in getService()55 synchronized (sLocalServiceObjects) { in addService()56 if (sLocalServiceObjects.containsKey(type)) { in addService()59 sLocalServiceObjects.put(type, service); in addService()68 synchronized (sLocalServiceObjects) { in removeServiceForTest()69 sLocalServiceObjects.remove(type); in removeServiceForTest()