Searched refs:CallLogDatabaseHelper (Results 1 – 14 of 14) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogProviderTest.java | 143 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 …]
|
D | CallLogMigrationTest.java | 18 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()
|
D | CallLogDatabaseHelperTestable.java | 21 public class CallLogDatabaseHelperTestable extends CallLogDatabaseHelper {
|
D | CallLogProviderTestable.java | 37 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper()
|
D | BaseVoicemailProviderTest.java | 185 protected CallLogDatabaseHelper getDatabaseHelper(Context context) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogDatabaseHelper.java | 50 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()
|
D | ShadowCallLogProvider.java | 22 protected CallLogDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper() 23 return CallLogDatabaseHelper.getInstanceForShadow(context); in getDatabaseHelper()
|
D | ContactsUpgradeReceiver.java | 83 CallLogDatabaseHelper calllogHelper = CallLogDatabaseHelper.getInstance(context); in onReceive()
|
D | VoicemailStatusTable.java | 62 private final CallLogDatabaseHelper mDbHelper; 65 public VoicemailStatusTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailStatusTable()
|
D | VoicemailContentProvider.java | 44 import com.android.providers.contacts.CallLogDatabaseHelper.Tables; 158 /*package*/ CallLogDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper() 159 return CallLogDatabaseHelper.getInstance(context); in getDatabaseHelper()
|
D | CallLogProvider.java | 68 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()
|
D | VoicemailContentTable.java | 91 private final CallLogDatabaseHelper mDbHelper; 96 public VoicemailContentTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailContentTable()
|
D | DbModifierWithNotification.java | 41 import com.android.providers.contacts.CallLogDatabaseHelper.Tables;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | PhoneAccountHandleMigrationUtils.java | 18 import com.android.providers.contacts.CallLogDatabaseHelper; 64 CallLogDatabaseHelper.Tables.CALLS};
|