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
172 if (mTimeChangedReceiver == null) { in startListening()
173 mTimeChangedReceiver = new BroadcastReceiver() { in startListening()
183 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in startListening()
193 if (mTimeChangedReceiver != null) { in stopListening()
194 getContext().unregisterReceiver(mTimeChangedReceiver); in stopListening()
195 mTimeChangedReceiver = null; in stopListening()
/frameworks/base/services/core/java/com/android/server/display/
DColorDisplayService.java446 private final BroadcastReceiver mTimeChangedReceiver; field in ColorDisplayService.CustomAutoMode
455 mTimeChangedReceiver = new BroadcastReceiver() { in CustomAutoMode()
497 getContext().registerReceiver(mTimeChangedReceiver, intentFilter); in onStart()
510 getContext().unregisterReceiver(mTimeChangedReceiver); in onStop()