Searched refs:StationaryListener (Results 1 – 8 of 8) sorted by relevance
25 private final CopyOnWriteArrayList<DeviceIdleInternal.StationaryListener> mListeners =31 public void addListener(DeviceIdleInternal.StationaryListener listener) { in addListener()39 public void removeListener(DeviceIdleInternal.StationaryListener listener) { in removeListener()48 for (DeviceIdleInternal.StationaryListener listener : mListeners) { in setStationary()
84 interface StationaryListener { interface92 void registerStationaryListener(StationaryListener listener); in registerStationaryListener()98 void unregisterStationaryListener(StationaryListener listener); in unregisterStationaryListener()
30 public abstract void addListener(DeviceIdleInternal.StationaryListener listener); in addListener()35 public abstract void removeListener(DeviceIdleInternal.StationaryListener listener); in removeListener()
41 public void addListener(DeviceIdleInternal.StationaryListener listener) { in addListener()53 public void removeListener(DeviceIdleInternal.StationaryListener listener) { in removeListener()
53 implements DeviceIdleHelper.DeviceIdleListener, DeviceIdleInternal.StationaryListener {
570 private final ArraySet<DeviceIdleInternal.StationaryListener> mStationaryListeners =708 private void postStationaryStatus(DeviceIdleInternal.StationaryListener listener) { in postStationaryStatus()726 void registerStationaryListener(DeviceIdleInternal.StationaryListener listener) { in registerStationaryListener()746 private void unregisterStationaryListener(DeviceIdleInternal.StationaryListener listener) { in unregisterStationaryListener()1787 final DeviceIdleInternal.StationaryListener newListener = in handleMessage()1788 (DeviceIdleInternal.StationaryListener) msg.obj; in handleMessage()1789 final DeviceIdleInternal.StationaryListener[] listeners; in handleMessage()1796 new DeviceIdleInternal.StationaryListener[ in handleMessage()1803 for (DeviceIdleInternal.StationaryListener listener : listeners) { in handleMessage()2115 public void registerStationaryListener(StationaryListener listener) { in registerStationaryListener()[all …]
280 private class StationaryListenerForTest implements DeviceIdleInternal.StationaryListener {
1360 …alService;->registerStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V1363 …Service;->unregisterStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V1369 …d/os/PowerManager$WakeLock;]Lcom/android/server/DeviceIdleInternal$StationaryListener;Lcom/android…1389 …om/android/server/DeviceIdleController;Lcom/android/server/DeviceIdleInternal$StationaryListener;)V1452 …eIdleController;->postStationaryStatus(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V1459 …ontroller;->registerStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V1479 …troller;->unregisterStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V22697 …emDeviceStationaryHelper;->addListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V22699 …eviceStationaryHelper;->removeListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V