Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java33 private BroadcastReceiver mScreenOffReceiver; field in CellBroadcastAlertDialog
49 mScreenOffReceiver = new ScreenOffReceiver(); in onCreate()
50 registerReceiver(mScreenOffReceiver, in onCreate()
58 if (mScreenOffReceiver != null) { in onDestroy()
59 unregisterReceiver(mScreenOffReceiver); in onDestroy()
/packages/apps/Settings/src/com/android/settings/
DRestrictedSettingsFragment.java76 private BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() { field in RestrictedSettingsFragment
111 getActivity().registerReceiver(mScreenOffReceiver, offFilter); in onCreate()
142 getActivity().unregisterReceiver(mScreenOffReceiver); in onDestroy()