Home
last modified time | relevance | path

Searched refs:SystemStateListener (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateHelper.java43 public interface SystemStateListener { interface in SystemStateHelper
138 private Set<SystemStateListener> mListeners = new CopyOnWriteArraySet<>();
164 public void addListener(SystemStateListener listener) { in addListener()
170 public boolean removeListener(SystemStateListener listener) { in removeListener()
261 for (SystemStateListener listener : mListeners) { in onEnterCarMode()
269 for (SystemStateListener listener : mListeners) { in onExitCarMode()
277 for (SystemStateListener listener : mListeners) { in onSetAutomotiveProjection()
286 for (SystemStateListener listener : mListeners) { in onReleaseAutomotiveProjection()
DInCallController.java69 import com.android.server.telecom.SystemStateHelper.SystemStateListener;
1184 private final SystemStateListener mSystemStateListener = new SystemStateListener() {
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java51 import com.android.server.telecom.SystemStateHelper.SystemStateListener;
76 @Mock SystemStateListener mSystemStateListener;
DInCallControllerTests.java199 private SystemStateHelper.SystemStateListener mSystemStateListener;
250 ArgumentCaptor<SystemStateHelper.SystemStateListener> systemStateListenerArgumentCaptor in setUp()
251 = ArgumentCaptor.forClass(SystemStateHelper.SystemStateListener.class); in setUp()