Searched refs:stateMask (Results 1 – 1 of 1) sorted by relevance
105 public void addCallback(int stateMask, Runnable callback) { in addCallback() argument106 if (FeatureFlags.IS_DOGFOOD_BUILD && mCallbacks.get(stateMask) != null) { in addCallback()109 mCallbacks.put(stateMask, callback); in addCallback()115 public void addChangeHandler(int stateMask, Consumer<Boolean> handler) { in addChangeHandler() argument116 mStateChangeHandlers.put(stateMask, handler); in addChangeHandler()123 public boolean hasStates(int stateMask) { in hasStates() argument124 return (mState & stateMask) == stateMask; in hasStates()