Searched defs:sSingleton (Results 1 - 8 of 8) 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.java416 private static ContactLocaleUtils sSingleton; field in class:ContactLocaleUtils
443 if (sSingleton == null) {
444 sSingleton = new ContactLocaleUtils(LocaleSet.getDefault());
446 return sSingleton;
455 if (sSingleton == null || !sSingleton.isLocale(locales)) {
456 sSingleton = new ContactLocaleUtils(locales);
H A DContactsDatabaseHelper.java940 private static ContactsDatabaseHelper sSingleton = null; field in class:ContactsDatabaseHelper
998 if (sSingleton == null) {
999 sSingleton = new ContactsDatabaseHelper(context, DATABASE_NAME, true);
1001 return sSingleton;
/packages/services/Telephony/src/com/android/phone/
H A DCallGatewayManager.java73 private static CallGatewayManager sSingleton; field in class:CallGatewayManager
76 if (sSingleton == null) {
77 sSingleton = new CallGatewayManager();
79 return sSingleton;
/packages/apps/Settings/src/com/android/settings/search/
H A DIndexDatabaseHelper.java134 private static IndexDatabaseHelper sSingleton; field in class:IndexDatabaseHelper
137 if (sSingleton == null) {
138 sSingleton = new IndexDatabaseHelper(context);
140 return sSingleton;
/packages/apps/Dialer/src/com/android/dialer/database/
H A DDialerDatabaseHelper.java64 private static DialerDatabaseHelper sSingleton = null; field in class:DialerDatabaseHelper
322 if (sSingleton == null) {
326 sSingleton = new DialerDatabaseHelper(context.getApplicationContext(),
329 return sSingleton;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarDatabaseHelper.java251 private static CalendarDatabaseHelper sSingleton = null; field in class:CalendarDatabaseHelper
308 if (sSingleton == null) {
309 sSingleton = new CalendarDatabaseHelper(context);
311 return sSingleton;

Completed in 241 milliseconds