Searched refs:sInstance (Results 51 - 75 of 89) sorted by relevance

1234

/packages/apps/InCallUI/src/com/android/incallui/
H A DTelecomAdapter.java37 private static TelecomAdapter sInstance; field in class:TelecomAdapter
43 if (sInstance == null) {
44 sInstance = new TelecomAdapter();
46 return sInstance;
H A DContactsAsyncHelper.java87 private static ContactsAsyncHelper sInstance; field in class:ContactsAsyncHelper
90 sInstance = new ContactsAsyncHelper();
/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/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
H A Dtyping_weighting.cpp24 const TypingWeighting TypingWeighting::sInstance; member in class:latinime::TypingWeighting
H A Dtyping_weighting.h37 static const TypingWeighting *getInstance() { return &sInstance; }
215 static const TypingWeighting sInstance; member in class:latinime::TypingWeighting
/packages/services/Telephony/src/com/android/phone/
H A DCallController.java69 private static CallController sInstance; field in class:CallController
108 if (sInstance == null) {
109 sInstance = new CallController(app, callLogger, callGatewayManager);
111 Log.wtf(TAG, "init() called multiple times! sInstance = " + sInstance);
113 return sInstance;
H A DNotificationMgr.java73 private static NotificationMgr sInstance; field in class:NotificationMgr
120 if (sInstance == null) {
121 sInstance = new NotificationMgr(app);
123 Log.wtf(LOG_TAG, "init() called multiple times! sInstance = " + sInstance);
125 return sInstance;
H A DCallNotifier.java77 private static CallNotifier sInstance; field in class:CallNotifier
123 if (sInstance == null) {
124 sInstance = new CallNotifier(app, phone, callLogger, callStateMonitor,
127 Log.wtf(LOG_TAG, "init() called multiple times! sInstance = " + sInstance);
129 return sInstance;
/packages/services/Mms/src/com/android/mms/service/
H A DMmsConfigManager.java45 private static volatile MmsConfigManager sInstance = new MmsConfigManager(); field in class:MmsConfigManager
48 return sInstance;
/packages/apps/Browser/src/com/android/browser/
H A DDataController.java49 private static DataController sInstance; field in class:DataController
75 if (sInstance == null) {
76 sInstance = new DataController(c);
78 return sInstance;
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DDefaultVoicemailNotifier.java54 private static DefaultVoicemailNotifier sInstance; field in class:DefaultVoicemailNotifier
64 if (sInstance == null) {
68 sInstance = new DefaultVoicemailNotifier(context, notificationManager,
73 return sInstance;
/packages/apps/Mms/src/com/android/mms/transaction/
H A DRetryScheduler.java56 private static RetryScheduler sInstance; field in class:RetryScheduler
58 if (sInstance == null) {
59 sInstance = new RetryScheduler(context);
61 return sInstance;
/packages/experimental/LoaderApp/src/com/android/loaderapp/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/services/Telephony/src/com/android/services/telephony/
H A DTelecomAccountRegistry.java213 private static TelecomAccountRegistry sInstance; field in class:TelecomAccountRegistry
227 if (sInstance == null) {
228 sInstance = new TelecomAccountRegistry(context);
230 return sInstance;
/packages/apps/Mms/src/com/android/mms/util/
H A DDraftCache.java37 private static DraftCache sInstance; field in class:DraftCache
236 sInstance = new DraftCache(context);
243 return sInstance;
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DMailAppProvider.java93 private static MailAppProvider sInstance; field in class:MailAppProvider
136 return sInstance;
146 sInstance = this;
166 sInstance = null;
292 final MailAppProvider provider = sInstance;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSubtypeSwitcher.java52 private static final SubtypeSwitcher sInstance = new SubtypeSwitcher(); field in class:SubtypeSwitcher
95 return sInstance;
101 sInstance.initialize(context);
H A DRichInputMethodManager.java50 private static final RichInputMethodManager sInstance = new RichInputMethodManager(); field in class:RichInputMethodManager
62 sInstance.checkInitialized();
63 return sInstance;
67 sInstance.initInternal(context);
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DMailPrefs.java51 private static MailPrefs sInstance; field in class:MailPrefs
157 if (sInstance == null) {
158 sInstance = new MailPrefs(c, PREFS_NAME);
160 return sInstance;
/packages/experimental/PrintService/src/foo/bar/printservice/
H A DMyPrintService.java67 private static MyPrintService sInstance; field in class:MyPrintService
80 return sInstance;
89 sInstance = this;
100 sInstance = null;
/packages/services/Telecomm/src/com/android/server/telecom/
H A DRespondViaSmsManager.java45 private static final RespondViaSmsManager sInstance = new RespondViaSmsManager(); field in class:RespondViaSmsManager
83 public static RespondViaSmsManager getInstance() { return sInstance; }
/packages/apps/Email/src/com/android/email/
H A DNotificationController.java79 private static NotificationController sInstance; field in class:NotificationController
99 if (sInstance == null) {
100 sInstance = new NotificationController(context, Clock.INSTANCE);
102 return sInstance;
788 for (final long accountId : sInstance.mNotificationMap.keySet()) {
796 sInstance.registerMessageNotification(accountId);
800 sInstance.unregisterMessageNotification(accountId);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardSwitcher.java67 private static final KeyboardSwitcher sInstance = new KeyboardSwitcher(); field in class:KeyboardSwitcher
70 return sInstance;
79 sInstance.initInternal(latinIme, prefs);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSettings.java133 private static final Settings sInstance = new Settings(); field in class:Settings
136 return sInstance;
140 sInstance.onCreate(context);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DApplicationsState.java313 private static ApplicationsState sInstance; field in class:ApplicationsState
317 if (sInstance == null) {
318 sInstance = new ApplicationsState(app);
320 return sInstance;

Completed in 1253 milliseconds

1234