Searched refs:mStationaryListeners (Results 1 – 1 of 1) sorted by relevance
555 private final ArraySet<StationaryListener> mStationaryListeners = field in DeviceIdleController619 if (mStationaryListeners.size() > 0) {710 if (!mStationaryListeners.add(listener)) { in registerStationaryListener()716 if (!isStationaryLocked() && mStationaryListeners.size() == 1) { in registerStationaryListener()730 if (mStationaryListeners.remove(listener) && mStationaryListeners.size() == 0 in unregisterStationaryListener()1547 listeners = mStationaryListeners.toArray( in handleMessage()1548 new StationaryListener[mStationaryListeners.size()]); in handleMessage()3441 if (mStationaryListeners.size() > 0) { in handleMotionDetectedLocked()3514 if (mMotionSensor != null && mStationaryListeners.size() == 0) { in maybeStopMonitoringMotionLocked()4537 if (mUseMotionSensor || mStationaryListeners.size() > 0) { in dump()[all …]