Home
last modified time | relevance | path

Searched refs:EmergencyListener (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java24 import com.android.systemui.statusbar.policy.NetworkController.EmergencyListener;
36 public class CallbackHandler extends Handler implements EmergencyListener, SignalCallback {
47 private final ArrayList<EmergencyListener> mEmergencyListeners = new ArrayList<>();
64 for (EmergencyListener listener : mEmergencyListeners) { in handleMessage()
95 mEmergencyListeners.add((EmergencyListener) msg.obj); in handleMessage()
97 mEmergencyListeners.remove((EmergencyListener) msg.obj); in handleMessage()
167 public void setListening(EmergencyListener listener, boolean listening) { in setListening()
DNetworkController.java44 void addEmergencyListener(EmergencyListener listener); in addEmergencyListener()
45 void removeEmergencyListener(EmergencyListener listener); in removeEmergencyListener()
89 public interface EmergencyListener { interface
DNetworkControllerImpl.java379 public void addEmergencyListener(EmergencyListener listener) { in addEmergencyListener()
384 public void removeEmergencyListener(EmergencyListener listener) { in removeEmergencyListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeNetworkController.java29 private final BaseLeakChecker<EmergencyListener> mEmergencyChecker;
38 public void addEmergencyListener(EmergencyListener listener) { in addEmergencyListener()
43 public void removeEmergencyListener(EmergencyListener listener) { in removeEmergencyListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java31 import com.android.systemui.statusbar.policy.NetworkController.EmergencyListener;
54 private EmergencyListener mEmengencyListener;