Searched refs:getCallsSettingSummary (Results 1 – 9 of 9) sorted by relevance
74 assertThat(mBuilder.getCallsSettingSummary(policy)).isEqualTo("Don\u2019t allow any calls"); in testGetCallsSettingSummary_none()81 assertThat(mBuilder.getCallsSettingSummary(policy)).isEqualTo("Allow from contacts"); in testGetCallsSettingSummary_contacts()87 assertThat(mBuilder.getCallsSettingSummary(policy)).isEqualTo("Allow from repeat callers"); in testGetCallsSettingSummary_repeatCallers()95 assertThat(mBuilder.getCallsSettingSummary(policy)) in testGetCallsSettingSummary_starredRepeatCallers()
53 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()
114 mCallsPreference.setSummary(mSummaryBuilder.getCallsSettingSummary(noManPolicy)); in updateSummaries()
257 allowCallsText.setText(mSummaryBuilder.getCallsSettingSummary(mPolicy)); in onCreateDialog()
142 String getCallsSettingSummary(Policy policy) { in getCallsSettingSummary() method in ZenModeSettings.SummaryBuilder
64 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()