Home
last modified time | relevance | path

Searched refs:StationaryListener (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeDeviceStationaryHelper.java25 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()
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
DDeviceIdleInternal.java84 interface StationaryListener { interface
92 void registerStationaryListener(StationaryListener listener); in registerStationaryListener()
98 void unregisterStationaryListener(StationaryListener listener); in unregisterStationaryListener()
/frameworks/base/services/core/java/com/android/server/location/injector/
DDeviceStationaryHelper.java30 public abstract void addListener(DeviceIdleInternal.StationaryListener listener); in addListener()
35 public abstract void removeListener(DeviceIdleInternal.StationaryListener listener); in removeListener()
DSystemDeviceStationaryHelper.java41 public void addListener(DeviceIdleInternal.StationaryListener listener) { in addListener()
53 public void removeListener(DeviceIdleInternal.StationaryListener listener) { in removeListener()
/frameworks/base/services/core/java/com/android/server/location/provider/
DStationaryThrottlingLocationProvider.java53 implements DeviceIdleHelper.DeviceIdleListener, DeviceIdleInternal.StationaryListener {
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java570 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 …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java280 private class StationaryListenerForTest implements DeviceIdleInternal.StationaryListener {
/frameworks/base/services/
Dart-profile1360 …alService;->registerStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V
1363 …Service;->unregisterStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V
1369 …d/os/PowerManager$WakeLock;]Lcom/android/server/DeviceIdleInternal$StationaryListener;Lcom/android…
1389 …om/android/server/DeviceIdleController;Lcom/android/server/DeviceIdleInternal$StationaryListener;)V
1452 …eIdleController;->postStationaryStatus(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V
1459 …ontroller;->registerStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V
1479 …troller;->unregisterStationaryListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V
22697 …emDeviceStationaryHelper;->addListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V
22699 …eviceStationaryHelper;->removeListener(Lcom/android/server/DeviceIdleInternal$StationaryListener;)V