Searched refs:DreamManagerStateListener (Results 1 – 6 of 6) sorted by relevance
68 public abstract void registerDreamManagerStateListener(DreamManagerStateListener listener); in registerDreamManagerStateListener()76 public abstract void unregisterDreamManagerStateListener(DreamManagerStateListener listener); in unregisterDreamManagerStateListener()81 public interface DreamManagerStateListener { interface in DreamManagerInternal
138 private final CopyOnWriteArrayList<DreamManagerInternal.DreamManagerStateListener>394 Consumer<DreamManagerInternal.DreamManagerStateListener> notifier) { in notifyDreamStateListeners()396 for (DreamManagerInternal.DreamManagerStateListener listener in notifyDreamStateListeners()1227 public void registerDreamManagerStateListener(DreamManagerStateListener listener) { in registerDreamManagerStateListener()1234 public void unregisterDreamManagerStateListener(DreamManagerStateListener listener) { in unregisterDreamManagerStateListener()
65 private final DreamManagerInternal.DreamManagerStateListener mDreamManagerStateListener =66 new DreamManagerInternal.DreamManagerStateListener() {
889 ArgumentCaptor<DreamManagerInternal.DreamManagerStateListener> dreamManagerStateListener = in testWakefulnessDream_shouldStopDreamingWhenUndocked_whenNotConfigured()890 ArgumentCaptor.forClass(DreamManagerInternal.DreamManagerStateListener.class); in testWakefulnessDream_shouldStopDreamingWhenUndocked_whenNotConfigured()919 ArgumentCaptor<DreamManagerInternal.DreamManagerStateListener> dreamManagerStateListener = in testWakefulnessDream_shouldKeepDreamingWhenUndocked_whenConfigured()920 ArgumentCaptor.forClass(DreamManagerInternal.DreamManagerStateListener.class); in testWakefulnessDream_shouldKeepDreamingWhenUndocked_whenConfigured()949 ArgumentCaptor<DreamManagerInternal.DreamManagerStateListener> dreamManagerStateListener = in testWakefulnessDream_shouldStopDreamingWhenUndocked_whenDreamPrevents()950 ArgumentCaptor.forClass(DreamManagerInternal.DreamManagerStateListener.class); in testWakefulnessDream_shouldStopDreamingWhenUndocked_whenDreamPrevents()977 ArgumentCaptor<DreamManagerInternal.DreamManagerStateListener> dreamManagerStateListener = in testWakefulnessDream_shouldStopDreamingWhenUnplugging_whenDreamPrevents()978 ArgumentCaptor.forClass(DreamManagerInternal.DreamManagerStateListener.class); in testWakefulnessDream_shouldStopDreamingWhenUnplugging_whenDreamPrevents()
721 private final class DreamManagerStateListener implements class in PowerManagerService722 DreamManagerInternal.DreamManagerStateListener {1386 mDreamManager.registerDreamManagerStateListener(new DreamManagerStateListener());
11536 …DreamManagerStateListener(Landroid/service/dreams/DreamManagerInternal$DreamManagerStateListener;)V21367 PLcom/android/server/power/PowerManagerService$DreamManagerStateListener;-><init>(Lcom/android/serv…21368 …DreamManagerStateListener;-><init>(Lcom/android/server/power/PowerManagerService;Lcom/android/serv…21369 PLcom/android/server/power/PowerManagerService$DreamManagerStateListener;->onKeepDreamingWhenUnplug…