Home
last modified time | relevance | path

Searched refs:CallLogDatabaseHelper (Results 1 – 12 of 12) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java58 assertTrue(CallLogDatabaseHelper.tableExists(sourceDb, "calls")); in testMigration()
59 assertTrue(CallLogDatabaseHelper.tableExists(sourceDb, "voicemail_status")); in testMigration()
71 CallLogDatabaseHelper.Tables.CALLS, null)); in testMigration()
74 CallLogDatabaseHelper.Tables.VOICEMAIL_STATUS, null)); in testMigration()
77 dbh.getProperty(CallLogDatabaseHelper.DbProperties.CALL_LOG_LAST_SYNCED, "")); in testMigration()
80 assertFalse(CallLogDatabaseHelper.tableExists(sourceDb, "calls")); in testMigration()
81 assertFalse(CallLogDatabaseHelper.tableExists(sourceDb, "voicemail_status")); in testMigration()
84 dbh.getProperty(CallLogDatabaseHelper.DbProperties.DATA_MIGRATED, "")); in testMigration()
DCallLogDatabaseHelperTestable.java21 public class CallLogDatabaseHelperTestable extends CallLogDatabaseHelper {
DCallLogProviderTestable.java37 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper()
DBaseVoicemailProviderTest.java185 protected CallLogDatabaseHelper getDatabaseHelper(Context context) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java39 public class CallLogDatabaseHelper { class
52 private static CallLogDatabaseHelper sInstance;
55 private static CallLogDatabaseHelper sInstanceForShadow;
227 CallLogDatabaseHelper(Context context, String databaseName) { in CallLogDatabaseHelper() method in CallLogDatabaseHelper
232 public static synchronized CallLogDatabaseHelper getInstance(Context context) { in getInstance()
234 sInstance = new CallLogDatabaseHelper(context, DATABASE_NAME); in getInstance()
239 public static synchronized CallLogDatabaseHelper getInstanceForShadow(Context context) { in getInstanceForShadow()
242 sInstanceForShadow = new CallLogDatabaseHelper( in getInstanceForShadow()
DShadowCallLogProvider.java22 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper()
23 return CallLogDatabaseHelper.getInstanceForShadow(context); in getDatabaseHelper()
DContactsUpgradeReceiver.java83 CallLogDatabaseHelper calllogHelper = CallLogDatabaseHelper.getInstance(context); in onReceive()
DCallLogProvider.java52 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
53 import com.android.providers.contacts.CallLogDatabaseHelper.Tables;
183 private CallLogDatabaseHelper mDbHelper;
256 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper()
257 return CallLogDatabaseHelper.getInstance(context); in getDatabaseHelper()
DVoicemailStatusTable.java62 private final CallLogDatabaseHelper mDbHelper;
65 public VoicemailStatusTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailStatusTable()
DVoicemailContentProvider.java42 import com.android.providers.contacts.CallLogDatabaseHelper.Tables;
157 /*package*/ CallLogDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
158 return CallLogDatabaseHelper.getInstance(context); in getDatabaseHelper()
DVoicemailContentTable.java91 private final CallLogDatabaseHelper mDbHelper;
96 public VoicemailContentTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailContentTable()
DDbModifierWithNotification.java40 import com.android.providers.contacts.CallLogDatabaseHelper.Tables;