Searched refs:mZenModeHelper (Results 1 – 3 of 3) sorted by relevance
46 ZenModeHelper mZenModeHelper; field in ZenModeExtractorTest56 extractor.setZenHelper(mZenModeHelper); in testExtractIntercepted()61 when(mZenModeHelper.shouldIntercept(any())).thenReturn(true); in testExtractIntercepted()62 when(mZenModeHelper.getNotificationPolicy()).thenReturn( in testExtractIntercepted()73 extractor.setZenHelper(mZenModeHelper); in testExtractVisualDisturbancesNotIntercepted()76 when(mZenModeHelper.shouldIntercept(any())).thenReturn(false); in testExtractVisualDisturbancesNotIntercepted()77 when(mZenModeHelper.getNotificationPolicy()).thenReturn( in testExtractVisualDisturbancesNotIntercepted()88 extractor.setZenHelper(mZenModeHelper); in testExtractVisualDisturbancesIntercepted()91 when(mZenModeHelper.shouldIntercept(any())).thenReturn(true); in testExtractVisualDisturbancesIntercepted()92 when(mZenModeHelper.getNotificationPolicy()).thenReturn( in testExtractVisualDisturbancesIntercepted()
33 private ZenModeHelper mZenModeHelper; field in ZenModeExtractor45 if (mZenModeHelper == null) { in process()50 record.setIntercepted(mZenModeHelper.shouldIntercept(record)); in process()53 mZenModeHelper.getNotificationPolicy().suppressedVisualEffects); in process()68 mZenModeHelper = helper; in setZenHelper()
122 private ZenModeHelper mZenModeHelper; field in RankingHelper129 mZenModeHelper= zenHelper; in RankingHelper()155 mAreChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state & in RankingHelper()1008 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()1009 mZenModeHelper.setNotificationPolicy(new NotificationManager.Policy( in updateZenPolicy()