Searched refs:ScreenOffReceiver (Results 1 – 3 of 3) sorted by relevance
38 import com.android.settings.homepage.contextualcards.ContextualCardsFragment.ScreenOffReceiver;99 verify(mActivity).unregisterReceiver(any(ScreenOffReceiver.class)); in onDestroy_shouldUnregisterScreenOffReceiver()121 verify(mActivity).unregisterReceiver(any(ScreenOffReceiver.class)); in onReceive_homeKey_shouldResetSession()134 verify(mActivity).unregisterReceiver(any(ScreenOffReceiver.class)); in onReceive_recentApps_shouldResetSession()147 verify(mActivity, never()).unregisterReceiver(any(ScreenOffReceiver.class)); in onReceive_otherKey_shouldNotResetSession()159 verify(mActivity).unregisterReceiver(any(ScreenOffReceiver.class)); in onReceive_screenOff_shouldResetSession()
141 mScreenOffReceiver = new ScreenOffReceiver(); in registerScreenOffReceiver()193 class ScreenOffReceiver extends BroadcastReceiver { class in ContextualCardsFragment
155 private ScreenOffReceiver mScreenOffReceiver;506 mScreenOffReceiver = new ScreenOffReceiver(effect, attr); in playAlertTone()857 private class ScreenOffReceiver extends BroadcastReceiver { class in CellBroadcastAlertAudio861 ScreenOffReceiver(VibrationEffect effect, AudioAttributes attributes) { in ScreenOffReceiver() method in CellBroadcastAlertAudio.ScreenOffReceiver