Home
last modified time | relevance | path

Searched refs:sInstance (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Stk/src/com/android/stk/
DStkDigitsKeyListener.java37 if (sInstance != null) { in getInstance()
38 return sInstance; in getInstance()
40 sInstance = new StkDigitsKeyListener(); in getInstance()
41 return sInstance; in getInstance()
53 private static StkDigitsKeyListener sInstance; field in StkDigitsKeyListener
DStkAppService.java75 static StkAppService sInstance = null; field in StkAppService
157 sInstance = this; in onCreate()
227 return sInstance; in getInstance()
/packages/apps/IM/src/com/android/im/engine/
DPrefManager.java27 private static PrefManager sInstance; field in PrefManager
36 if (sInstance == null) { in getInstance()
37 sInstance = new PrefManager(); in getInstance()
39 return sInstance; in getInstance()
DConnectionFactory.java27 private static ConnectionFactory sInstance; field in ConnectionFactory
38 if (sInstance == null) { in getInstance()
39 sInstance = new ConnectionFactory(); in getInstance()
41 return sInstance; in getInstance()
/packages/apps/Mms/src/com/android/mms/layout/
DLayoutManager.java38 private static LayoutManager sInstance; field in LayoutManager
74 if (sInstance != null) { in init()
77 sInstance = new LayoutManager(context); in init()
81 if (sInstance == null) { in getInstance()
84 return sInstance; in getInstance()
/packages/apps/IM/src/com/android/im/service/
DAndroidSystemService.java26 private static AndroidSystemService sInstance; field in AndroidSystemService
32 if (sInstance == null) { in getInstance()
33 sInstance = new AndroidSystemService(); in getInstance()
35 return sInstance; in getInstance()
/packages/apps/Mms/src/com/android/mms/util/
DRateController.java50 private static RateController sInstance; field in RateController
82 if (sInstance != null) { in init()
85 sInstance = new RateController(context); in init()
89 if (sInstance == null) { in getInstance()
92 return sInstance; in getInstance()
DDownloadManager.java74 synchronized (sInstance) {
98 synchronized (sInstance) {
108 private static DownloadManager sInstance; field in DownloadManager
135 if (sInstance != null) { in init()
138 sInstance = new DownloadManager(context); in init()
142 if (sInstance == null) { in getInstance()
145 return sInstance; in getInstance()
DDraftCache.java37 private static DraftCache sInstance; field in DraftCache
163 sInstance = new DraftCache(context); in init()
170 return sInstance; in getInstance()
DSmileyParser.java37 private static SmileyParser sInstance; field in SmileyParser
38 public static SmileyParser getInstance() { return sInstance; } in getInstance()
40 sInstance = new SmileyParser(context); in init()
DContactInfoCache.java92 private static ContactInfoCache sInstance; field in ContactInfoCache
212 sInstance = new ContactInfoCache(context); in init()
219 return sInstance; in getInstance()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAppWidgetProvider.java58 private static CalendarAppWidgetProvider sInstance; field in CalendarAppWidgetProvider
61 if (sInstance == null) { in getInstance()
62 sInstance = new CalendarAppWidgetProvider(); in getInstance()
64 return sInstance; in getInstance()
/packages/apps/Music/src/com/android/music/
DMediaAppWidgetProvider.java43 private static MediaAppWidgetProvider sInstance; field in MediaAppWidgetProvider
46 if (sInstance == null) { in getInstance()
47 sInstance = new MediaAppWidgetProvider(); in getInstance()
49 return sInstance; in getInstance()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSessionManager.java42 private static SessionManager sInstance; field in SessionManager
47 return sInstance; in getInstance()
66 sInstance = new SessionManager(context, sources, shortcutRepo, in refreshSessionmanager()
68 return sInstance; in refreshSessionmanager()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java57 private static RetryScheduler sInstance; field in RetryScheduler
59 if (sInstance == null) { in getInstance()
60 sInstance = new RetryScheduler(context); in getInstance()
62 return sInstance; in getInstance()