Home
last modified time | relevance | path

Searched refs:FilteredNumberContract (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberProviderTest.java42 super(TestFilteredNumberProvider.class, FilteredNumberContract.AUTHORITY); in FilteredNumberProviderTest()
54 FilteredNumberContract.FilteredNumber.CONTENT_URI, in testInsert()
63 FilteredNumberContract.FilteredNumber.CONTENT_URI, null, null, null, null); in testQuery()
72 Uri uri = mResolver.insert(FilteredNumberContract.FilteredNumber.CONTENT_URI, testValues); in testInsertAndQuery()
88 FilteredNumberContract.FilteredNumber.CONTENT_URI, in testIllegalUri()
98 Uri uri = mResolver.insert(FilteredNumberContract.FilteredNumber.CONTENT_URI, testValues); in testQueryWithId()
104 FilteredNumberContract.FilteredNumber.CONTENT_URI, in testQueryWithId()
117 FilteredNumberContract.FilteredNumber.CONTENT_URI, in testDelete()
123 FilteredNumberContract.FilteredNumber.CONTENT_URI, in testDelete()
124 FilteredNumberContract.FilteredNumberColumns._ID + " = ?", in testDelete()
[all …]
DFilteredNumberAsyncQueryHandlerTest.java36 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
37 import com.android.dialer.database.FilteredNumberContract.FilteredNumberSources;
38 import com.android.dialer.database.FilteredNumberContract.FilteredNumberTypes;
54 Uri.withAppendedPath(FilteredNumberContract.AUTHORITY_URI, "filtered_numbers_table");
71 mContentResolver.addProvider(FilteredNumberContract.AUTHORITY, mContentProvider); in setUp()
82 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testHasBlockedNumbers_Disabled()
131 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testIsBlockedNumber_Disabled()
208 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testBlockNumber_Disabled()
261 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testUnblockNumber_Disabled()
/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberProvider.java34 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
63 FilteredNumberContract.FilteredNumber.FILTERED_NUMBERS_TABLE, in onCreate()
66 FilteredNumberContract.FilteredNumber.FILTERED_NUMBERS_TABLE + "/#", in onCreate()
69 FilteredNumberContract.FilteredNumber.FILTERED_NUMBERS_INCREMENT_FILTERED_COUNT in onCreate()
99 FilteredNumberContract.FilteredNumber.CONTENT_URI); in query()
108 return FilteredNumberContract.FilteredNumber.CONTENT_ITEM_TYPE; in getType()
134 values.put(FilteredNumberContract.FilteredNumberColumns.TIMES_FILTERED, 0); in setDefaultValues()
202 return FilteredNumberContract.FilteredNumberColumns._ID + "=" + id; in getSelectionWithId()
204 return selection + "AND " + FilteredNumberContract.FilteredNumberColumns._ID + "=" + id; in getSelectionWithId()
DFilteredNumberAsyncQueryHandler.java32 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
33 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
34 import com.android.dialer.database.FilteredNumberContract.FilteredNumberTypes;
DFilteredNumberContract.java31 public final class FilteredNumberContract { class
DDialerDatabaseHelper.java41 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DBlockedNumbersFragment.java41 import com.android.dialer.database.FilteredNumberContract;
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()
186 + "=" + FilteredNumberContract.FilteredNumberTypes.BLOCKED_NUMBER; in onCreateLoader()
188 getContext(), FilteredNumberContract.FilteredNumber.CONTENT_URI, projection, in onCreateLoader()
DBlockedNumbersMigrator.java28 import com.android.dialer.database.FilteredNumberContract;
29 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
30 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
DFilteredNumbersUtil.java39 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
40 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
DBlockedNumbersAdapter.java28 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
DViewNumbersToImportFragment.java37 import com.android.dialer.database.FilteredNumberContract;
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DFilteredNumbersUtilTest.java32 import com.android.dialer.database.FilteredNumberContract;
33 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
34 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
59 mContext = new ContactsMockContext(getContext(), FilteredNumberContract.AUTHORITY); in setUp()
DBlockedNumbersMigratorTest.java29 import com.android.dialer.database.FilteredNumberContract;
30 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
31 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
55 mContentResolver.addProvider(FilteredNumberContract.AUTHORITY, mContentProvider); in setUp()
/packages/apps/Dialer/src/com/android/dialer/compat/
DFilteredNumberCompat.java42 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
43 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
44 import com.android.dialer.database.FilteredNumberContract.FilteredNumberSources;
45 import com.android.dialer.database.FilteredNumberContract.FilteredNumberTypes;
/packages/apps/Dialer/tests/src/com/android/dialer/compat/
DFilteredNumberCompatTest.java38 import com.android.dialer.database.FilteredNumberContract.FilteredNumber;
39 import com.android.dialer.database.FilteredNumberContract.FilteredNumberColumns;
40 import com.android.dialer.database.FilteredNumberContract.FilteredNumberSources;
41 import com.android.dialer.database.FilteredNumberContract.FilteredNumberTypes;