Home
last modified time | relevance | path

Searched refs:sInstances (Results 1 – 3 of 3) sorted by relevance

/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java59 sInstances = new HashMap<>(); field in InstrumentedAccessibilityService
72 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 …]
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/
DServiceBase.java35 private static Map<String, ServiceBase> sInstances = new HashMap<>(); field in ServiceBase
38 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()
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/
DServiceBase.java35 private static Map<String, ServiceBase> sInstances = new HashMap<>(); field in ServiceBase
38 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()