Searched refs:FilteredNumberColumns (Results 1 – 14 of 14) sorted by relevance
124 FilteredNumberContract.FilteredNumberColumns._ID + " = ?", in testDelete()143 v.put(FilteredNumberContract.FilteredNumberColumns.TIMES_FILTERED, 3); in testUpdate()144 v.put(FilteredNumberContract.FilteredNumberColumns.LAST_TIME_FILTERED, TEST_TIME); in testUpdate()146 FilteredNumberContract.FilteredNumberColumns.NORMALIZED_NUMBER + " = ?", in testUpdate()151 expected.put(FilteredNumberContract.FilteredNumberColumns.TIMES_FILTERED, 3); in testUpdate()152 expected.put(FilteredNumberContract.FilteredNumberColumns.LAST_TIME_FILTERED, TEST_TIME); in testUpdate()177 cursor.getColumnIndex(FilteredNumberContract.FilteredNumberColumns.CREATION_TIME); in testInsertDefaultValues()191 v.putNull(FilteredNumberContract.FilteredNumberColumns._ID); in getTestValues()192 v.put(FilteredNumberContract.FilteredNumberColumns.NORMALIZED_NUMBER, in getTestValues()194 v.put(FilteredNumberContract.FilteredNumberColumns.NUMBER, TEST_NUMBER); in getTestValues()[all …]
36 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;84 disabledProvider.expectQuery(BLOCKED_NUMBER_URI_M).withProjection(FilteredNumberColumns._ID) in testHasBlockedNumbers_Disabled()85 .withSelection(FilteredNumberColumns.TYPE + "=" in testHasBlockedNumbers_Disabled()133 .withProjection(FilteredNumberColumns._ID, FilteredNumberColumns.TYPE) in testIsBlockedNumber_Disabled()134 .withSelection(FilteredNumberColumns.NORMALIZED_NUMBER + " = ?", E164_NUMBER) in testIsBlockedNumber_Disabled()323 .withProjection(FilteredNumberColumns._ID, FilteredNumberColumns.TYPE) in newIsBlockedNumberExpectedQueryM()324 .withSelection(FilteredNumberColumns.NORMALIZED_NUMBER + " = ?", E164_NUMBER); in newIsBlockedNumberExpectedQueryM()342 FilteredNumberColumns._ID) in newHasBlockedNumbersExpectedQueryM()343 .withSelection(FilteredNumberColumns.TYPE + "=" in newHasBlockedNumbersExpectedQueryM()362 contentValues.put(FilteredNumberColumns.NORMALIZED_NUMBER, E164_NUMBER); in newBlockNumberContentValuesM()[all …]
34 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;91 qb.appendWhere(FilteredNumberColumns._ID + "=" + ContentUris.parseId(uri)); in query()129 if (values.getAsString(FilteredNumberColumns.COUNTRY_ISO) == null) { in setDefaultValues()130 values.put(FilteredNumberColumns.COUNTRY_ISO, in setDefaultValues()133 if (values.getAsInteger(FilteredNumberColumns.TIMES_FILTERED) == null) { in setDefaultValues()134 values.put(FilteredNumberContract.FilteredNumberColumns.TIMES_FILTERED, 0); in setDefaultValues()136 if (values.getAsLong(FilteredNumberColumns.CREATION_TIME) == null) { in setDefaultValues()137 values.put(FilteredNumberColumns.CREATION_TIME, getCurrentTimeMs()); in setDefaultValues()177 + " SET" + FilteredNumberColumns.TIMES_FILTERED + "=" in update()178 + FilteredNumberColumns.TIMES_FILTERED + "+1," in update()[all …]
41 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;430 + FilteredNumberColumns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," in setupTables()431 + FilteredNumberColumns.NORMALIZED_NUMBER + " TEXT UNIQUE," in setupTables()432 + FilteredNumberColumns.NUMBER + " TEXT," in setupTables()433 + FilteredNumberColumns.COUNTRY_ISO + " TEXT," in setupTables()434 + FilteredNumberColumns.TIMES_FILTERED + " INTEGER," in setupTables()435 + FilteredNumberColumns.LAST_TIME_FILTERED + " LONG," in setupTables()436 + FilteredNumberColumns.CREATION_TIME + " LONG," in setupTables()437 + FilteredNumberColumns.TYPE + " INTEGER," in setupTables()438 + FilteredNumberColumns.SOURCE + " INTEGER" in setupTables()[all …]
33 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;138 FilteredNumberCompat.useNewFiltering() ? null : FilteredNumberColumns.TYPE in hasBlockedNumbers()174 && cursor.getInt(cursor.getColumnIndex(FilteredNumberColumns.TYPE)) in isBlockedNumber()180 cursor.getInt(cursor.getColumnIndex(FilteredNumberColumns._ID))); in isBlockedNumber()
57 public interface FilteredNumberColumns { interface in FilteredNumberContract
28 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;54 final Integer id = cursor.getInt(cursor.getColumnIndex(FilteredNumberColumns._ID)); in bindView()56 FilteredNumberColumns.COUNTRY_ISO)); in bindView()57 final String number = cursor.getString(cursor.getColumnIndex(FilteredNumberColumns.NUMBER)); in bindView()59 FilteredNumberColumns.NORMALIZED_NUMBER)); in bindView()
180 FilteredNumberContract.FilteredNumberColumns._ID, in onCreateLoader()181 FilteredNumberContract.FilteredNumberColumns.COUNTRY_ISO, in onCreateLoader()182 FilteredNumberContract.FilteredNumberColumns.NUMBER, in onCreateLoader()183 FilteredNumberContract.FilteredNumberColumns.NORMALIZED_NUMBER in onCreateLoader()185 final String selection = FilteredNumberContract.FilteredNumberColumns.TYPE in onCreateLoader()
30 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;101 new String[]{FilteredNumberColumns.NUMBER}, null, null, null)) { in migrateToNewBlockingInBackground()112 .getString(cursor.getColumnIndex(FilteredNumberColumns.NUMBER)); in migrateToNewBlockingInBackground()
40 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;250 FilteredNumberColumns.CREATION_TIME in shouldBlockVoicemail()252 FilteredNumberColumns.NORMALIZED_NUMBER + "=?", in shouldBlockVoicemail()
43 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;77 return useNewFiltering() ? BlockedNumbersSdkCompat._ID : FilteredNumberColumns._ID; in getIdColumnName()86 return useNewFiltering() ? null : FilteredNumberColumns.TYPE; in getTypeColumnName()95 return useNewFiltering() ? null : FilteredNumberColumns.SOURCE; in getSourceColumnName()103 : FilteredNumberColumns.NUMBER; in getOriginalNumberColumnName()112 return useNewFiltering() ? null : FilteredNumberColumns.COUNTRY_ISO; in getCountryIsoColumnName()120 : FilteredNumberColumns.NORMALIZED_NUMBER; in getE164NumberColumnName()
39 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;281 contentValues.put(FilteredNumberColumns.NUMBER, number); in newExpectedContentValuesM()282 contentValues.put(FilteredNumberColumns.NORMALIZED_NUMBER, e164Number); in newExpectedContentValuesM()283 contentValues.put(FilteredNumberColumns.COUNTRY_ISO, countryIso); in newExpectedContentValuesM()284 contentValues.put(FilteredNumberColumns.TYPE, FilteredNumberTypes.BLOCKED_NUMBER); in newExpectedContentValuesM()285 contentValues.put(FilteredNumberColumns.SOURCE, FilteredNumberSources.USER); in newExpectedContentValuesM()
31 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;97 .withProjection(FilteredNumberColumns.NUMBER).returnRow(NUMBER).returnRow(NUMBER1) in testMigrate_N()116 .withProjection(FilteredNumberColumns.NUMBER).returnRow(NUMBER); in testMigrate_N_AlreadyBlocked()
34 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;48 FilteredNumberColumns.CREATION_TIME };