Searched refs:hasListeners (Results 1 – 5 of 5) sorted by relevance
127 private final AtomicBoolean hasListeners = new AtomicBoolean(false); field in JdkFutureAdapters.ListenableFutureAdapter152 if (hasListeners.compareAndSet(false, true)) { in addListener()
516 assertFalse(sup.hasListeners("myProp")); in testHasListener_AllRegistered()518 assertTrue(sup.hasListeners("myProp")); in testHasListener_AllRegistered()520 assertFalse(sup.hasListeners("myProp")); in testHasListener_AllRegistered()522 assertTrue(sup.hasListeners("myProp")); in testHasListener_AllRegistered()537 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()539 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()541 assertTrue(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()543 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()546 assertTrue(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()555 assertFalse(sup.hasListeners("myProp")); in testHasListener_None()[all …]
67 bool hasListeners() const;
202 bool SkEventSink::hasListeners() const in hasListeners() function in SkEventSink
117 if (!fEvent.isType("") && this->hasListeners())