Home
last modified time | relevance | path

Searched refs:FilteredNumbersUtil (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DFilteredNumbersUtilTest.java64 .putLong(FilteredNumbersUtil.LAST_EMERGENCY_CALL_MS_PREF_KEY, 0) in setUp()
70 assertFalse(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER, in testShouldBlockVoicemail_NotBlocked()
76 assertTrue(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER, in testShouldBlockVoicemail_BlockedBeforeVoicemail()
82 assertFalse(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER, in testShouldBlockVoicemail_BlockedAfterVoicemail()
88 assertTrue(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER, in testShouldBlockVoicemail_BlockedSameTimeAsVoicemail()
94 assertTrue(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER, in testShouldBlockVoicemail_BlockedInSameMinuteAsVoicemail()
102 .putLong(FilteredNumbersUtil.LAST_EMERGENCY_CALL_MS_PREF_KEY, in testShouldBlockVoicemail_AfterEmergencyCall()
105 assertFalse(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER, in testShouldBlockVoicemail_AfterEmergencyCall()
117 FilteredNumbersUtil.maybeNotifyCallBlockingDisabled(mockContext); in testMaybeNotifyCallBlockingDisabled_Migrated()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DViewNumbersToImportFragment.java38 import com.android.dialer.filterednumber.FilteredNumbersUtil.ImportSendToVoicemailContactsListener;
100 FilteredNumbersUtil.PhoneQuery.PROJECTION, in onCreateLoader()
101 FilteredNumbersUtil.PhoneQuery.SELECT_SEND_TO_VOICEMAIL_TRUE, in onCreateLoader()
120 FilteredNumbersUtil.importSendToVoicemailContacts(getContext(), in onClick()
DBlockedNumbersFragment.java43 import com.android.dialer.filterednumber.FilteredNumbersUtil.CheckForSendToVoicemailContactListener;
44 import com.android.dialer.filterednumber.FilteredNumbersUtil.ImportSendToVoicemailContactsListener;
149 FilteredNumbersUtil.checkForSendToVoicemailContact( in onResume()
162 && FilteredNumbersUtil.hasRecentEmergencyCall(getContext())) { in onResume()
221 FilteredNumbersUtil.importSendToVoicemailContacts(activity, in onClick()
DBlockNumberDialogFragment.java195 if (!FilteredNumbersUtil.canBlockNumber(getActivity(), mNumber, mCountryIso)) { in onActivityCreated()
269 if (context != null && FilteredNumbersUtil.hasRecentEmergencyCall(context)) { in blockNumber()
270 FilteredNumbersUtil.maybeNotifyCallBlockingDisabled(context); in blockNumber()
DViewNumbersToImportAdapter.java52 FilteredNumbersUtil.PhoneQuery.NUMBER_COLUMN_INDEX); in bindView()
DFilteredNumbersUtil.java49 public class FilteredNumbersUtil { class
/packages/apps/Dialer/src/com/android/dialer/calllog/
DDefaultVoicemailNotifier.java45 import com.android.dialer.filterednumber.FilteredNumbersUtil;
125 if (FilteredNumbersUtil.shouldBlockVoicemail( in updateNotification()
DCallLogListItemViewHolder.java57 import com.android.dialer.filterednumber.FilteredNumbersUtil;
349 && FilteredNumbersUtil.canBlockNumber(mContext, number, countryIso)) { in onCreateContextMenu()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallPresenter.java54 import com.android.dialer.filterednumber.FilteredNumbersUtil;
176 if (FilteredNumbersUtil.hasRecentEmergencyCall(mContext)) {
520 if (FilteredNumbersUtil.hasRecentEmergencyCall(mContext)) { in shouldAttemptBlocking()
683 FilteredNumbersUtil.recordLastEmergencyCallTime(mContext); in onDisconnect()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java61 import com.android.dialer.filterednumber.FilteredNumbersUtil;
433 !FilteredNumbersUtil.canBlockNumber(this, mNumber, mDetails.countryIso)) { in updateFilteredNumberChanges()