Home
last modified time | relevance | path

Searched refs:TwilightListener (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightManager.java32 void registerListener(@NonNull TwilightListener listener, @NonNull Handler handler); in registerListener()
39 void unregisterListener(@NonNull TwilightListener listener); in unregisterListener()
DTwilightService.java58 private final ArrayMap<TwilightListener, Handler> mListeners = new ArrayMap<>();
83 public void registerListener(@NonNull TwilightListener listener, in onStart()
96 public void unregisterListener(@NonNull TwilightListener listener) { in onStart()
222 final TwilightListener listener = mListeners.keyAt(i); in updateTwilightState()
DTwilightListener.java24 public interface TwilightListener { interface
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNightDisplayServiceTest.java37 import com.android.server.twilight.TwilightListener;
1001 private final Map<TwilightListener, Handler> mListeners = new HashMap<>();
1014 for (Map.Entry<TwilightListener, Handler> entry : mListeners.entrySet()) { in setTwilightState()
1033 public void registerListener(@NonNull TwilightListener listener, @NonNull Handler handler) { in registerListener()
1040 public void unregisterListener(@NonNull TwilightListener listener) { in unregisterListener()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java65 import com.android.server.twilight.TwilightListener;
171 private final TwilightListener mTwilightListener = new TwilightListener() {
/frameworks/base/services/core/java/com/android/server/display/
DNightDisplayService.java47 import com.android.server.twilight.TwilightListener;
547 private class TwilightAutoMode extends AutoMode implements TwilightListener {
/frameworks/base/services/
Dprofile-classes5388 Lcom/android/server/twilight/TwilightListener;