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.java69 private BroadcastReceiver mTimeChangedReceiver; field in TwilightService
170 if (mTimeChangedReceiver == null) { in startListening()
171 mTimeChangedReceiver = new BroadcastReceiver() { in startListening()
181 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in startListening()
191 if (mTimeChangedReceiver != null) { in stopListening()
192 getContext().unregisterReceiver(mTimeChangedReceiver); in stopListening()
193 mTimeChangedReceiver = null; in stopListening()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java956 private final BroadcastReceiver mTimeChangedReceiver; field in ColorDisplayService.CustomNightDisplayAutoMode
965 mTimeChangedReceiver = new BroadcastReceiver() { in CustomNightDisplayAutoMode()
1009 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in onStart()
1022 getContext().unregisterReceiver(mTimeChangedReceiver); in onStop()