Home
last modified time | relevance | path

Searched refs:BlockedNumberDatabaseHelper (Results 1 – 3 of 3) sorted by relevance

/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberDatabaseHelper.java26 public class BlockedNumberDatabaseHelper { class
33 private static BlockedNumberDatabaseHelper sInstance;
80 public static BlockedNumberDatabaseHelper newInstanceForTest(Context context) { in newInstanceForTest()
81 return new BlockedNumberDatabaseHelper(context, /* instanceIsForTesting =*/ true); in newInstanceForTest()
84 private BlockedNumberDatabaseHelper(Context context, boolean instanceIsForTesting) { in BlockedNumberDatabaseHelper() method in BlockedNumberDatabaseHelper
91 public static synchronized BlockedNumberDatabaseHelper getInstance(Context context) { in getInstance()
93 sInstance = new BlockedNumberDatabaseHelper( in getInstance()
DBlockedNumberProvider.java54 import com.android.providers.blockednumber.BlockedNumberDatabaseHelper.Tables;
106 protected BlockedNumberDatabaseHelper mDbHelper;
112 mDbHelper = BlockedNumberDatabaseHelper.getInstance(getContext()); in onCreate()
171 BlockedNumberDatabaseHelper.Tables.BLOCKED_NUMBERS, null, cv, in insertBlockedNumber()
237 BlockedNumberDatabaseHelper.Tables.BLOCKED_NUMBERS, in deleteBlockedNumber()
292 qb.setTables(BlockedNumberDatabaseHelper.Tables.BLOCKED_NUMBERS); in queryBlockedList()
426 " FROM " + BlockedNumberDatabaseHelper.Tables.BLOCKED_NUMBERS + in isBlocked()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTestable.java27 mDbHelper = BlockedNumberDatabaseHelper.newInstanceForTest(getContext()); in onCreate()