Searched refs:sInstance (Results 1 - 23 of 23) sorted by relevance

/packages/apps/Stk/src/com/android/stk/
H A DStkDigitsKeyListener.java37 if (sInstance != null) {
38 return sInstance;
40 sInstance = new StkDigitsKeyListener();
41 return sInstance;
53 private static StkDigitsKeyListener sInstance; field in class:StkDigitsKeyListener
H A DStkAppService.java75 static StkAppService sInstance = null; field in class:StkAppService
157 sInstance = this;
234 return sInstance;
/packages/apps/IM/src/com/android/im/engine/
H A DConnectionFactory.java27 private static ConnectionFactory sInstance; field in class:ConnectionFactory
38 if (sInstance == null) {
39 sInstance = new ConnectionFactory();
41 return sInstance;
H A DPrefManager.java27 private static PrefManager sInstance; field in class:PrefManager
36 if (sInstance == null) {
37 sInstance = new PrefManager();
39 return sInstance;
/packages/apps/IM/src/com/android/im/service/
H A DAndroidSystemService.java26 private static AndroidSystemService sInstance; field in class:AndroidSystemService
32 if (sInstance == null) {
33 sInstance = new AndroidSystemService();
35 return sInstance;
/packages/apps/Mms/src/com/android/mms/data/
H A DRecipientIdCache.java30 private static RecipientIdCache sInstance; field in class:RecipientIdCache
31 static RecipientIdCache getInstance() { return sInstance; }
46 sInstance = new RecipientIdCache(context);
64 Context context = sInstance.mContext;
73 synchronized (sInstance) {
76 sInstance.mCache.clear();
81 sInstance.mCache.put(id, number);
95 synchronized (sInstance) {
108 String number = sInstance.mCache.get(longId);
117 number = sInstance
[all...]
H A DConversation.java634 private static Cache sInstance = new Cache(); field in class:Conversation.Cache
635 static Cache getInstance() { return sInstance; }
646 synchronized (sInstance) {
650 for (Conversation c : sInstance.mCache) {
668 synchronized (sInstance) {
672 for (Conversation c : sInstance.mCache) {
687 synchronized (sInstance) {
694 if (sInstance.mCache.contains(c)) {
698 sInstance.mCache.add(c);
707 for (Conversation c : sInstance
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DSmsReceiver.java34 private static SmsReceiver sInstance; field in class:SmsReceiver
37 if (sInstance == null) {
38 sInstance = new SmsReceiver();
40 return sInstance;
H A DRetryScheduler.java59 private static RetryScheduler sInstance; field in class:RetryScheduler
61 if (sInstance == null) {
62 sInstance = new RetryScheduler(context);
64 return sInstance;
/packages/apps/Mms/src/com/android/mms/layout/
H A DLayoutManager.java38 private static LayoutManager sInstance; field in class:LayoutManager
74 if (sInstance != null) {
77 sInstance = new LayoutManager(context);
81 if (sInstance == null) {
84 return sInstance;
/packages/apps/Mms/src/com/android/mms/util/
H A DRateController.java50 private static RateController sInstance; field in class:RateController
82 if (sInstance != null) {
85 sInstance = new RateController(context);
89 if (sInstance == null) {
92 return sInstance;
H A DDownloadManager.java76 synchronized (sInstance) {
100 synchronized (sInstance) {
110 private static DownloadManager sInstance; field in class:DownloadManager
137 if (sInstance != null) {
140 sInstance = new DownloadManager(context);
144 if (sInstance == null) {
147 return sInstance;
H A DDraftCache.java37 private static DraftCache sInstance; field in class:DraftCache
195 sInstance = new DraftCache(context);
202 return sInstance;
H A DSmileyParser.java36 private static SmileyParser sInstance; field in class:SmileyParser
37 public static SmileyParser getInstance() { return sInstance; }
39 sInstance = new SmileyParser(context);
/packages/apps/Email/src/com/android/email/
H A DVendorPolicyLoader.java62 private static VendorPolicyLoader sInstance; field in class:VendorPolicyLoader
67 if (sInstance == null) {
69 sInstance = new VendorPolicyLoader(context);
71 return sInstance;
H A DSecurityPolicy.java47 private static SecurityPolicy sInstance = null; field in class:SecurityPolicy
81 if (sInstance == null) {
82 sInstance = new SecurityPolicy(context);
84 return sInstance;
H A DUtility.java297 private static FolderProperties sInstance; field in class:Utility.FolderProperties
325 if (sInstance == null) {
327 if (sInstance == null) {
328 sInstance = new FolderProperties(context);
332 return sInstance;
H A DController.java53 static Controller sInstance; field in class:Controller
85 if (sInstance == null) {
86 sInstance = new Controller(_context);
88 return sInstance;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarAppWidgetProvider.java58 private static CalendarAppWidgetProvider sInstance; field in class:CalendarAppWidgetProvider
61 if (sInstance == null) {
62 sInstance = new CalendarAppWidgetProvider();
64 return sInstance;
/packages/apps/Music/src/com/android/music/
H A DMediaAppWidgetProvider.java39 private static MediaAppWidgetProvider sInstance; field in class:MediaAppWidgetProvider
42 if (sInstance == null) {
43 sInstance = new MediaAppWidgetProvider();
45 return sInstance;
/packages/apps/Calendar/src/com/android/calendar/
H A DContactsAsyncHelper.java60 private static ContactsAsyncHelper sInstance; field in class:ContactsAsyncHelper
63 sInstance = new ContactsAsyncHelper();
/packages/apps/Contacts/src/com/android/contacts/model/
H A DSources.java63 private static SoftReference<Sources> sInstance = null; field in class:Sources
71 Sources sources = sInstance == null ? null : sInstance.get();
74 sInstance = new SoftReference<Sources>(sources);
/packages/apps/IM/src/com/android/im/app/
H A DImPluginHelper.java54 private static ImPluginHelper sInstance; field in class:ImPluginHelper
56 if (sInstance == null) {
57 sInstance = new ImPluginHelper(context);
59 return sInstance;

Completed in 625 milliseconds