Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java143 private CallLogDatabaseHelper getMockCallLogDatabaseHelper(String databaseNameForTesting) { in getMockCallLogDatabaseHelper()
144 CallLogDatabaseHelper callLogDatabaseHelper = new CallLogDatabaseHelper( in getMockCallLogDatabaseHelper()
148 db.execSQL("DELETE FROM " + CallLogDatabaseHelper.Tables.CALLS); in getMockCallLogDatabaseHelper()
155 db.insert(CallLogDatabaseHelper.Tables.CALLS, null, values); in getMockCallLogDatabaseHelper()
163 db.insert(CallLogDatabaseHelper.Tables.CALLS, null, values); in getMockCallLogDatabaseHelper()
171 db.insert(CallLogDatabaseHelper.Tables.CALLS, null, values); in getMockCallLogDatabaseHelper()
178 db.insert(CallLogDatabaseHelper.Tables.CALLS, null, values); in getMockCallLogDatabaseHelper()
186 db.insert(CallLogDatabaseHelper.Tables.CALLS, null, values); in getMockCallLogDatabaseHelper()
194 db.insert(CallLogDatabaseHelper.Tables.CALLS, null, values); in getMockCallLogDatabaseHelper()
200 CallLogDatabaseHelper originalCallLogDatabaseHelper in testPhoneAccountHandleMigrationSimEvent()
[all …]
DCallLogMigrationTest.java18 import static com.android.providers.contacts.CallLogDatabaseHelper.DATABASE_VERSION;
69 return db.insert(CallLogDatabaseHelper.Tables.CALLS, null, values) != -1; in insertCallLog()
80 CallLogDatabaseHelper.OpenHelper openHelper = testable.getOpenHelper(); in testPhoneAccountMigrationMarkingOnUpgrade()
92 db, "select count(*) from " + CallLogDatabaseHelper.Tables.CALLS in testPhoneAccountMigrationMarkingOnUpgrade()
109 db.execSQL("CREATE TABLE " + CallLogDatabaseHelper.Tables.CALLS + " (" + in onCreate()
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.java50 public class CallLogDatabaseHelper { class
64 private static CallLogDatabaseHelper sInstance;
67 private static CallLogDatabaseHelper sInstanceForShadow;
271 CallLogDatabaseHelper(Context context, String databaseName) { in CallLogDatabaseHelper() method in CallLogDatabaseHelper
278 public static synchronized CallLogDatabaseHelper getInstance(Context context) { in getInstance()
280 sInstance = new CallLogDatabaseHelper(context, DATABASE_NAME); in getInstance()
285 public static synchronized CallLogDatabaseHelper getInstanceForShadow(Context context) { in getInstanceForShadow()
288 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()
DVoicemailStatusTable.java62 private final CallLogDatabaseHelper mDbHelper;
65 public VoicemailStatusTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailStatusTable()
DVoicemailContentProvider.java44 import com.android.providers.contacts.CallLogDatabaseHelper.Tables;
158 /*package*/ CallLogDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
159 return CallLogDatabaseHelper.getInstance(context); in getDatabaseHelper()
DCallLogProvider.java68 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
69 import com.android.providers.contacts.CallLogDatabaseHelper.Tables;
313 private CallLogDatabaseHelper mDbHelper;
397 public CallLogDatabaseHelper getCallLogDatabaseHelperForTest() { in getCallLogDatabaseHelperForTest()
402 public void setCallLogDatabaseHelperForTest(CallLogDatabaseHelper callLogDatabaseHelper) { in setCallLogDatabaseHelperForTest()
415 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper()
416 return CallLogDatabaseHelper.getInstance(context); in getDatabaseHelper()
DVoicemailContentTable.java91 private final CallLogDatabaseHelper mDbHelper;
96 public VoicemailContentTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailContentTable()
DDbModifierWithNotification.java41 import com.android.providers.contacts.CallLogDatabaseHelper.Tables;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPhoneAccountHandleMigrationUtils.java18 import com.android.providers.contacts.CallLogDatabaseHelper;
64 CallLogDatabaseHelper.Tables.CALLS};