Home
last modified time | relevance | path

Searched refs:ProfileDatabaseHelper (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileDatabaseHelper.java29 public class ProfileDatabaseHelper extends ContactsDatabaseHelper { class
39 private static ProfileDatabaseHelper sSingleton = null;
45 public static ProfileDatabaseHelper getNewInstanceForTest(Context context) { in getNewInstanceForTest()
46 return new ProfileDatabaseHelper(context, null, false); in getNewInstanceForTest()
49 private ProfileDatabaseHelper( in ProfileDatabaseHelper() method in ProfileDatabaseHelper
54 public static synchronized ProfileDatabaseHelper getInstance(Context context) { in getInstance()
56 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true); in getInstance()
DContactsUpgradeReceiver.java84 ProfileDatabaseHelper profileHelper = ProfileDatabaseHelper.getInstance(context); in onReceive()
DProfileProvider.java51 protected ProfileDatabaseHelper getDatabaseHelper(Context context) { in getDatabaseHelper()
52 return ProfileDatabaseHelper.getInstance(context); in getDatabaseHelper()
DContactsProvider2.java1466 private ProfileDatabaseHelper mProfileHelper;
1849 ProfileDatabaseHelper profileHelper) { in needsToUpdateLocaleData()
1903 ProfileDatabaseHelper profileHelper) { in updateLocaleOffline()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousProfileProvider.java28 private static ProfileDatabaseHelper sDbHelper;
35 protected ProfileDatabaseHelper getDatabaseHelper(final Context context) { in getDatabaseHelper()
37 sDbHelper = ProfileDatabaseHelper.getNewInstanceForTest(context); in getDatabaseHelper()