Searched refs:FilteredNumbersUtil (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/ |
D | FilteredNumbersUtilTest.java | 64 .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/ |
D | ViewNumbersToImportFragment.java | 38 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()
|
D | BlockedNumbersFragment.java | 43 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()
|
D | BlockNumberDialogFragment.java | 195 if (!FilteredNumbersUtil.canBlockNumber(getActivity(), mNumber, mCountryIso)) { in onActivityCreated() 269 if (context != null && FilteredNumbersUtil.hasRecentEmergencyCall(context)) { in blockNumber() 270 FilteredNumbersUtil.maybeNotifyCallBlockingDisabled(context); in blockNumber()
|
D | ViewNumbersToImportAdapter.java | 52 FilteredNumbersUtil.PhoneQuery.NUMBER_COLUMN_INDEX); in bindView()
|
D | FilteredNumbersUtil.java | 49 public class FilteredNumbersUtil { class
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | DefaultVoicemailNotifier.java | 45 import com.android.dialer.filterednumber.FilteredNumbersUtil; 125 if (FilteredNumbersUtil.shouldBlockVoicemail( in updateNotification()
|
D | CallLogListItemViewHolder.java | 57 import com.android.dialer.filterednumber.FilteredNumbersUtil; 349 && FilteredNumbersUtil.canBlockNumber(mContext, number, countryIso)) { in onCreateContextMenu()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | InCallPresenter.java | 54 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/ |
D | CallDetailActivity.java | 61 import com.android.dialer.filterednumber.FilteredNumbersUtil; 433 !FilteredNumbersUtil.canBlockNumber(this, mNumber, mDetails.countryIso)) { in updateFilteredNumberChanges()
|