Searched refs:spamSettings (Results 1 – 10 of 10) sorted by relevance
47 private final SpamSettings spamSettings; field in BlockReportSpamListener62 spamSettings = SpamComponent.get(context).spamSettings(); in BlockReportSpamListener()63 spamBlockingPromoHelper = new SpamBlockingPromoHelper(context, spamSettings); in BlockReportSpamListener()75 spamSettings.isDialogReportSpamCheckedByDefault(), in onBlockReportSpam()78 if (isSpamChecked && spamSettings.isSpamEnabled()) { in onBlockReportSpam()116 spamSettings.isSpamEnabled(), in onBlock()119 if (spamSettings.isSpamEnabled()) { in onBlock()159 if (isSpam && spamSettings.isSpamEnabled()) { in onUnblock()192 if (spamSettings.isSpamEnabled()) { in onReportNotSpam()219 spamSettings.modifySpamBlockingSetting( in showSpamBlockingPromoDialog()
200 if (!SpamComponent.get(context).spamSettings().isSpamBlockingEnabled()) { in filterSpamNumbers()
679 isSpamEnabled = SpamComponent.get(activity).spamSettings().isSpamEnabled(); in onResume()
51 private final SpamSettings spamSettings; field in SpamBlockingPromoHelper53 public SpamBlockingPromoHelper(Context context, SpamSettings spamSettings) { in SpamBlockingPromoHelper() argument55 this.spamSettings = spamSettings; in SpamBlockingPromoHelper()71 || !spamSettings.isSpamEnabled() in shouldShowSpamBlockingPromo()72 || !spamSettings.isSpamBlockingEnabledByFlag() in shouldShowSpamBlockingPromo()73 || spamSettings.isSpamBlockingEnabledByUser()) { in shouldShowSpamBlockingPromo()134 v -> context.startActivity(spamSettings.getSpamBlockingSettingIntent(context))) in showModifySettingOnCompleteSnackbar()
90 private SpamSettings spamSettings; field in SpamNotificationActivity166 spamSettings = SpamComponent.get(this).spamSettings(); in onCreate()167 spamBlockingPromoHelper = new SpamBlockingPromoHelper(getApplicationContext(), spamSettings); in onCreate()223 if (SpamComponent.get(this).spamSettings().isDialogEnabledForSpamNotification()) { in maybeShowNotSpamDialog()242 if (SpamComponent.get(this).spamSettings().isDialogEnabledForSpamNotification()) { in maybeShowBlockReportSpamDialog()251 .spamSettings() in maybeShowBlockReportSpamDialog()344 if (!SpamComponent.get(this).spamSettings().isDialogEnabledForSpamNotification()) { in assertDialogsEnabled()559 spamSettings.modifySpamBlockingSetting(
106 SpamSettings spamSettings = SpamComponent.get(this).spamSettings(); in onStartCommand() local108 new SpamBlockingPromoHelper(this, SpamComponent.get(this).spamSettings()); in onStartCommand()156 spamSettings.modifySpamBlockingSetting( in onStartCommand()
206 if (!SpamComponent.get(context).spamSettings().isSpamNotificationEnabled()) { in shouldShowAfterCallNotification()311 SpamComponent.get(context).spamSettings().percentOfSpamNotificationsToShow(); in shouldThrottleSpamNotification()335 SpamComponent.get(context).spamSettings().percentOfNonSpamNotificationsToShow(); in shouldThrottleNonSpamNotification()434 return SpamComponent.get(context).spamSettings().isDialogEnabledForSpamNotification() in createBlockReportSpamPendingIntent()445 return SpamComponent.get(context).spamSettings().isDialogEnabledForSpamNotification() in createNotSpamPendingIntent()
111 SpamSettings spamSettings = SpamComponent.get(context).spamSettings(); in showDialogToBlockNumberAndOptionallyReportSpam() local120 if (reportSpam && spamSettings.isSpamEnabled()) { in showDialogToBlockNumberAndOptionallyReportSpam()142 spamSettings.isDialogReportSpamCheckedByDefault(), in showDialogToBlockNumberAndOptionallyReportSpam()182 if (SpamComponent.get(context).spamSettings().isSpamEnabled()) { in showDialogToReportNotSpam()
30 public abstract SpamSettings spamSettings(); in spamSettings() method in SpamComponent
150 if (SpamComponent.get(context).spamSettings().isSpamEnabled()) { in onCallAdded()