Searched refs:sSingleton (Results 1 - 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DProfileDatabaseHelper.java39 private static ProfileDatabaseHelper sSingleton = null; field in class:ProfileDatabaseHelper
55 if (sSingleton == null) {
56 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true);
58 return sSingleton;
H A DFastScrollingIndexCache.java88 private static FastScrollingIndexCache sSingleton; field in class:FastScrollingIndexCache
91 if (sSingleton == null) {
93 sSingleton = new FastScrollingIndexCache(prefs);
95 return sSingleton;
101 sSingleton = new FastScrollingIndexCache(prefs);
102 return sSingleton;
H A DContactLocaleUtils.java397 private static ContactLocaleUtils sSingleton; field in class:ContactLocaleUtils
426 if (sSingleton == null) {
427 sSingleton = new ContactLocaleUtils(null);
429 return sSingleton;
433 if (sSingleton == null || !sSingleton.isLocale(locale)) {
434 sSingleton = new ContactLocaleUtils(locale);
H A DContactsDatabaseHelper.java767 private static ContactsDatabaseHelper sSingleton = null; field in class:ContactsDatabaseHelper
777 if (sSingleton == null) {
778 sSingleton = new ContactsDatabaseHelper(context, DATABASE_NAME, true);
780 return sSingleton;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarDatabaseHelper.java250 private static CalendarDatabaseHelper sSingleton = null; field in class:CalendarDatabaseHelper
307 if (sSingleton == null) {
308 sSingleton = new CalendarDatabaseHelper(context);
310 return sSingleton;

Completed in 856 milliseconds