Lines Matching defs:sListeners
378 static final ArrayList<ListenerDelegate> sListeners =
447 // must be called with sListeners lock
472 // NOTE: this cannot synchronize on sListeners, since
501 synchronized (sListeners) {
502 if (sensor == -1 || sListeners.isEmpty()) {
505 if (sensor == -1 && !sListeners.isEmpty()) {
519 final int size = sListeners.size();
521 ListenerDelegate listener = sListeners.get(i);
524 // with sListeners lock held).
630 synchronized(sListeners) {
923 synchronized(sListeners) {
925 for (ListenerDelegate i : sListeners) {
1023 for (ListenerDelegate i : sListeners) {
1035 for (ListenerDelegate i : sListeners) {
1103 synchronized (sListeners) {
1106 for (ListenerDelegate i : sListeners) {
1116 sListeners.add(l);
1118 if (!sListeners.isEmpty()) {
1122 sListeners.remove(l);
1127 sListeners.remove(l);
1152 synchronized (sListeners) {
1153 final int size = sListeners.size();
1155 ListenerDelegate l = sListeners.get(i);
1160 sListeners.remove(i);
1174 synchronized (sListeners) {
1175 final int size = sListeners.size();
1177 ListenerDelegate l = sListeners.get(i);
1179 sListeners.remove(i);
1665 synchronized(sListeners) {
1671 synchronized(sListeners) {