Home
last modified time | relevance | path

Searched refs:mWatchers (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/
DUserTokenWatcher.java42 private final SparseArray<TokenWatcher> mWatchers = new SparseArray<>(1); field in UserTokenWatcher
66 synchronized (mWatchers) { in acquire()
67 TokenWatcher watcher = mWatchers.get(userId); in acquire()
70 mWatchers.put(userId, watcher); in acquire()
85 synchronized (mWatchers) { in release()
86 TokenWatcher watcher = mWatchers.get(userId); in release()
99 synchronized (mWatchers) { in isAcquired()
100 TokenWatcher watcher = mWatchers.get(userId); in isAcquired()
109 synchronized (mWatchers) { in dump()
110 for (int i = 0; i < mWatchers.size(); i++) { in dump()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java57 private final HashMap<String, UiWatcher> mWatchers = new HashMap<String, UiWatcher>(); field in UiDevice
526 mWatchers.put(name, watcher); in registerWatcher()
541 mWatchers.remove(name); in removeWatcher()
555 for (String watcherName : mWatchers.keySet()) { in runWatchers()
556 UiWatcher watcher = mWatchers.get(watcherName); in runWatchers()