Home
last modified time | relevance | path

Searched refs:DialerDatabaseHelper (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/database/
DDialerDatabaseHelperTest.java27 import com.android.dialer.database.DialerDatabaseHelper;
28 import com.android.dialer.database.DialerDatabaseHelper.ContactNumber;
46 private DialerDatabaseHelper mTestHelper;
51 mTestHelper = DialerDatabaseHelper.getNewInstanceForTest(getContext()); in setUp()
122 new MatrixCursor(DialerDatabaseHelper.DeleteContactQuery.PROJECTION); in testForDeletedContacts()
143 new MatrixCursor(DialerDatabaseHelper.UpdatedContactQuery.PROJECTION); in testForDeletedNumber()
DDatabaseTestUtils.java25 import com.android.dialer.database.DialerDatabaseHelper.ContactNumber;
30 DialerDatabaseHelper.SmartDialDbColumns.DISPLAY_NAME_PRIMARY, in constructNewNameCursor()
31 DialerDatabaseHelper.SmartDialDbColumns.CONTACT_ID}); in constructNewNameCursor()
DFilteredNumberProviderTest.java213 private DialerDatabaseHelper mDialerDatabaseHelper;
216 protected DialerDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
218 mDialerDatabaseHelper = DialerDatabaseHelper.getNewInstanceForTest(context); in getDatabaseHelper()
DVoicemailArchiveProviderTest.java287 private DialerDatabaseHelper mDialerDatabaseHelper;
295 protected DialerDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
297 mDialerDatabaseHelper = DialerDatabaseHelper.getNewInstanceForTest(context); in getDatabaseHelper()
DSmartDialPrefixTest.java26 import com.android.dialer.database.DialerDatabaseHelper;
27 import com.android.dialer.database.DialerDatabaseHelper.ContactNumber;
44 private DialerDatabaseHelper mTestHelper;
80 mTestHelper = DialerDatabaseHelper.getNewInstanceForTest(getContext()); in setUp()
/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberProvider.java48 private DialerDatabaseHelper mDialerDatabaseHelper;
76 protected DialerDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
85 qb.setTables(DialerDatabaseHelper.Tables.FILTERED_NUMBER_TABLE); in query()
115 long id = db.insert(DialerDatabaseHelper.Tables.FILTERED_NUMBER_TABLE, null, values); in insert()
154 int rows = db.delete(DialerDatabaseHelper.Tables.FILTERED_NUMBER_TABLE, in delete()
176 db.execSQL(" UPDATE " + DialerDatabaseHelper.Tables.FILTERED_NUMBER_TABLE in update()
190 int rows = db.update(DialerDatabaseHelper.Tables.FILTERED_NUMBER_TABLE, in update()
DVoicemailArchiveProvider.java49 private DialerDatabaseHelper mDialerDatabaseHelper;
68 protected DialerDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
110 long id = db.insert(DialerDatabaseHelper.Tables.VOICEMAIL_ARCHIVE_TABLE, in insert()
147 int rows = db.delete(DialerDatabaseHelper.Tables.VOICEMAIL_ARCHIVE_TABLE, in delete()
163 int rows = db.update(DialerDatabaseHelper.Tables.VOICEMAIL_ARCHIVE_TABLE, in update()
193 queryBuilder.setTables(DialerDatabaseHelper.Tables.VOICEMAIL_ARCHIVE_TABLE); in getQueryBuilder()
DDialerDatabaseHelper.java62 public class DialerDatabaseHelper extends SQLiteOpenHelper { class
67 private static DialerDatabaseHelper sSingleton = null;
349 public static synchronized DialerDatabaseHelper getInstance(Context context) { in getInstance()
357 sSingleton = new DialerDatabaseHelper(context.getApplicationContext(), in getInstance()
367 static DialerDatabaseHelper getNewInstanceForTest(Context context) { in getNewInstanceForTest()
368 return new DialerDatabaseHelper(context, null, true); in getNewInstanceForTest()
371 protected DialerDatabaseHelper(Context context, String databaseName, boolean isTestInstance) { in DialerDatabaseHelper() method in DialerDatabaseHelper
376 protected DialerDatabaseHelper(Context context, String databaseName) { in DialerDatabaseHelper() method in DialerDatabaseHelper
380 protected DialerDatabaseHelper(Context context, String databaseName, int dbVersion) { in DialerDatabaseHelper() method in DialerDatabaseHelper
/packages/apps/Dialer/src/com/android/dialerbind/
DDatabaseHelperManager.java21 import com.android.dialer.database.DialerDatabaseHelper;
25 public static DialerDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
26 return DialerDatabaseHelper.getInstance(context); in getDatabaseHelper()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialCursorLoader.java29 import com.android.dialer.database.DialerDatabaseHelper;
30 import com.android.dialer.database.DialerDatabaseHelper.ContactNumber;
86 final DialerDatabaseHelper dialerDatabaseHelper = DatabaseHelperManager.getDatabaseHelper( in loadInBackground()
126 DialerDatabaseHelper.SMART_DIAL_UPDATED_URI, true, mObserver); in deliverResult()
/packages/apps/Dialer/src/com/android/dialer/
DDialtactsActivity.java67 import com.android.dialer.database.DialerDatabaseHelper;
234 private DialerDatabaseHelper mDialerDatabaseHelper;