Searched refs:mScreenOffReceiver (Results 1 – 7 of 7) sorted by relevance
56 BroadcastReceiver mScreenOffReceiver; field in ContextualCardsFragment140 if (mScreenOffReceiver == null) { in registerScreenOffReceiver()141 mScreenOffReceiver = new ScreenOffReceiver(); in registerScreenOffReceiver()142 getActivity().registerReceiver(mScreenOffReceiver, in registerScreenOffReceiver()148 if (mScreenOffReceiver != null) { in unregisterScreenOffReceiver()149 getActivity().unregisterReceiver(mScreenOffReceiver); in unregisterScreenOffReceiver()150 mScreenOffReceiver = null; in unregisterScreenOffReceiver()
81 private BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() { field in RestrictedDashboardFragment117 getActivity().registerReceiver(mScreenOffReceiver, offFilter); in onCreate()147 getActivity().unregisterReceiver(mScreenOffReceiver); in onDestroy()
81 private BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() { field in RestrictedSettingsFragment119 getActivity().registerReceiver(mScreenOffReceiver, offFilter); in onCreate()149 getActivity().unregisterReceiver(mScreenOffReceiver); in onDestroy()
79 private BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() { field in RestrictedSettingsFragment117 getActivity().registerReceiver(mScreenOffReceiver, offFilter); in onCreate()147 getActivity().unregisterReceiver(mScreenOffReceiver); in onDestroy()
82 verify(mActivity).registerReceiver(eq(mFragment.mScreenOffReceiver), in onStart_shouldRegisterBothReceivers()155 mFragment.mScreenOffReceiver.onReceive(mContext, intent); in onReceive_screenOff_shouldResetSession()
170 private BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() { field in CellBroadcastAlertDialog384 registerReceiver(mScreenOffReceiver, new IntentFilter(Intent.ACTION_SCREEN_OFF)); in onCreate()1031 unregisterReceiver(mScreenOffReceiver); in onDestroy()
483 registerReceiver(mScreenOffReceiver, new IntentFilter(Intent.ACTION_SCREEN_OFF)); in onCreate()1399 private final BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() { field in Launcher1631 unregisterReceiver(mScreenOffReceiver); in onDestroy()