Home
last modified time | relevance | path

Searched refs:sSingleton (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DFastScrollingIndexCache.java89 private static FastScrollingIndexCache sSingleton; field in FastScrollingIndexCache
92 if (sSingleton == null) { in getInstance()
96 sSingleton = new FastScrollingIndexCache(prefs); in getInstance()
101 return sSingleton; in getInstance()
107 sSingleton = new FastScrollingIndexCache(prefs); in getInstanceForTest()
108 return sSingleton; in getInstanceForTest()
DContactLocaleUtils.java495 private static ContactLocaleUtils sSingleton; field in ContactLocaleUtils
522 if (sSingleton == null) { in getInstance()
523 sSingleton = new ContactLocaleUtils(LocaleSet.newDefault()); in getInstance()
525 return sSingleton; in getInstance()
539 if (sSingleton == null || !sSingleton.isLocale(locales)) { in setLocales()
543 sSingleton = new ContactLocaleUtils(locales); in setLocales()
DProfileDatabaseHelper.java39 private static ProfileDatabaseHelper sSingleton = null; field in ProfileDatabaseHelper
56 if (sSingleton == null) { in getInstance()
57 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true, in getInstance()
60 return sSingleton; in getInstance()
DContactsDatabaseHelper.java986 private static ContactsDatabaseHelper sSingleton = null; field in ContactsDatabaseHelper
1041 if (sSingleton == null) { in getInstance()
1042 sSingleton = new ContactsDatabaseHelper(context, DATABASE_NAME, true, in getInstance()
1045 return sSingleton; in getInstance()
/packages/services/Telephony/src/com/android/phone/
DCallGatewayManager.java73 private static CallGatewayManager sSingleton; field in CallGatewayManager
76 if (sSingleton == null) { in getInstance()
77 sSingleton = new CallGatewayManager(); in getInstance()
79 return sSingleton; in getInstance()
/packages/apps/Settings/src/com/android/settings/search/
DIndexDatabaseHelper.java162 private static IndexDatabaseHelper sSingleton; field in IndexDatabaseHelper
167 if (sSingleton == null) { in getInstance()
168 sSingleton = new IndexDatabaseHelper(context); in getInstance()
170 return sSingleton; in getInstance()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java251 private static CalendarDatabaseHelper sSingleton = null; field in CalendarDatabaseHelper
308 if (sSingleton == null) { in getInstance()
309 sSingleton = new CalendarDatabaseHelper(context); in getInstance()
311 return sSingleton; in getInstance()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java735 private static DatabaseHelper sSingleton = null; field in TvProvider.DatabaseHelper
739 if (sSingleton == null) { in getInstance()
740 sSingleton = new DatabaseHelper(context); in getInstance()
742 return sSingleton; in getInstance()