Home
last modified time | relevance | path

Searched refs:mTimeChangedReceiver (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java68 private BroadcastReceiver mTimeChangedReceiver; field in TwilightService
169 if (mTimeChangedReceiver == null) { in startListening()
170 mTimeChangedReceiver = new BroadcastReceiver() { in startListening()
180 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in startListening()
190 if (mTimeChangedReceiver != null) { in stopListening()
191 getContext().unregisterReceiver(mTimeChangedReceiver); in stopListening()
192 mTimeChangedReceiver = null; in stopListening()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java900 private final BroadcastReceiver mTimeChangedReceiver; field in ColorDisplayService.CustomNightDisplayAutoMode
909 mTimeChangedReceiver = new BroadcastReceiver() { in CustomNightDisplayAutoMode()
953 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in onStart()
966 getContext().unregisterReceiver(mTimeChangedReceiver); in onStop()