Home
last modified time | relevance | path

Searched refs:FilteredNumberColumns (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberProvider.java33 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
73 qb.appendWhere(FilteredNumberColumns._ID + "=" + ContentUris.parseId(uri)); in query()
111 if (values.getAsString(FilteredNumberColumns.COUNTRY_ISO) == null) { in setDefaultValues()
112 values.put(FilteredNumberColumns.COUNTRY_ISO, GeoUtil.getCurrentCountryIso(getContext())); in setDefaultValues()
114 if (values.getAsInteger(FilteredNumberColumns.TIMES_FILTERED) == null) { in setDefaultValues()
115 values.put(FilteredNumberContract.FilteredNumberColumns.TIMES_FILTERED, 0); in setDefaultValues()
117 if (values.getAsLong(FilteredNumberColumns.CREATION_TIME) == null) { in setDefaultValues()
118 values.put(FilteredNumberColumns.CREATION_TIME, getCurrentTimeMs()); in setDefaultValues()
167 return FilteredNumberContract.FilteredNumberColumns._ID + "=" + id; in getSelectionWithId()
169 return selection + "AND " + FilteredNumberContract.FilteredNumberColumns._ID + "=" + id; in getSelectionWithId()
DFilteredNumberCompat.java35 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
61 return useNewFiltering(context) ? BlockedNumbers.COLUMN_ID : FilteredNumberColumns._ID; in getIdColumnName()
70 return useNewFiltering(context) ? null : FilteredNumberColumns.TYPE; in getTypeColumnName()
79 return useNewFiltering(context) ? null : FilteredNumberColumns.SOURCE; in getSourceColumnName()
86 : FilteredNumberColumns.NUMBER; in getOriginalNumberColumnName()
95 return useNewFiltering(context) ? null : FilteredNumberColumns.COUNTRY_ISO; in getCountryIsoColumnName()
102 : FilteredNumberColumns.NORMALIZED_NUMBER; in getE164NumberColumnName()
DFilteredNumberAsyncQueryHandler.java33 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
108 : FilteredNumberColumns.TYPE + "=" + FilteredNumberTypes.BLOCKED_NUMBER, in hasBlockedNumbers()
175 && cursor.getInt(cursor.getColumnIndex(FilteredNumberColumns.TYPE)) in isBlockedNumber()
181 Integer blockedId = cursor.getInt(cursor.getColumnIndex(FilteredNumberColumns._ID)); in isBlockedNumber()
249 int blockedId = cursor.getInt(cursor.getColumnIndex(FilteredNumberColumns._ID)); in getBlockedIdSynchronous()
DBlockedNumbersMigrator.java28 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
52 new String[] {FilteredNumberColumns.NUMBER}, in migrateToNewBlockingInBackground()
69 cursor.getString(cursor.getColumnIndex(FilteredNumberColumns.NUMBER)); in migrateToNewBlockingInBackground()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java46 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
180 + FilteredNumberColumns._ID in setupTables()
182 + FilteredNumberColumns.NORMALIZED_NUMBER in setupTables()
184 + FilteredNumberColumns.NUMBER in setupTables()
186 + FilteredNumberColumns.COUNTRY_ISO in setupTables()
188 + FilteredNumberColumns.TIMES_FILTERED in setupTables()
190 + FilteredNumberColumns.LAST_TIME_FILTERED in setupTables()
192 + FilteredNumberColumns.CREATION_TIME in setupTables()
194 + FilteredNumberColumns.TYPE in setupTables()
196 + FilteredNumberColumns.SOURCE in setupTables()
[all …]
DFilteredNumberContract.java49 public interface FilteredNumberColumns { interface in FilteredNumberContract
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DBlockedNumbersAdapter.java25 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
55 final Integer id = cursor.getInt(cursor.getColumnIndex(FilteredNumberColumns._ID)); in bindView()
57 cursor.getString(cursor.getColumnIndex(FilteredNumberColumns.COUNTRY_ISO)); in bindView()
58 final String number = cursor.getString(cursor.getColumnIndex(FilteredNumberColumns.NUMBER)); in bindView()
DBlockedNumbersFragment.java173 FilteredNumberContract.FilteredNumberColumns._ID, in onCreateLoader()
174 FilteredNumberContract.FilteredNumberColumns.COUNTRY_ISO, in onCreateLoader()
175 FilteredNumberContract.FilteredNumberColumns.NUMBER, in onCreateLoader()
176 FilteredNumberContract.FilteredNumberColumns.NORMALIZED_NUMBER in onCreateLoader()
179 FilteredNumberContract.FilteredNumberColumns.TYPE in onCreateLoader()