Searched refs:sInstances (Results 1 – 3 of 3) sorted by relevance
59 sInstances = new HashMap<>(); field in InstrumentedAccessibilityService72 synchronized (sInstances) { in onServiceConnected()73 sInstances.put(getClass(), new WeakReference<>(this)); in onServiceConnected()74 sInstances.notifyAll(); in onServiceConnected()87 synchronized (sInstances) { in onDestroy()88 sInstances.remove(getClass()); in onDestroy()109 synchronized (sInstances) { in disableSelfAndRemove()110 sInstances.remove(getClass()); in disableSelfAndRemove()237 synchronized (sInstances) { in getInstanceForClass()243 sInstances.wait(timeoutTimeMillis - SystemClock.uptimeMillis()); in getInstanceForClass()[all …]
35 private static Map<String, ServiceBase> sInstances = new HashMap<>(); field in ServiceBase38 synchronized (sInstances) { in ServiceBase()39 sInstances.put(this.getClass().getName(), this); in ServiceBase()44 synchronized (sInstances) { in getInstanceForClass()45 ServiceBase result = sInstances.get(className); in getInstanceForClass()