HomeSort by relevance Sort by last modified time
    Searched defs:sInstance (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/java/android/os/
NullVibrator.java 27 private static final NullVibrator sInstance = new NullVibrator();
33 return sInstance;
  /frameworks/base/core/java/android/text/
Spannable.java 53 private static Spannable.Factory sInstance = new Spannable.Factory();
59 return sInstance;
Editable.java 124 private static Editable.Factory sInstance = new Editable.Factory();
130 return sInstance;
  /frameworks/base/core/java/android/text/method/
DateKeyListener.java 43 if (sInstance != null)
44 return sInstance;
46 sInstance = new DateKeyListener();
47 return sInstance;
61 private static DateKeyListener sInstance;
DateTimeKeyListener.java 43 if (sInstance != null)
44 return sInstance;
46 sInstance = new DateTimeKeyListener();
47 return sInstance;
61 private static DateTimeKeyListener sInstance;
HideReturnsTransformationMethod.java 51 if (sInstance != null)
52 return sInstance;
54 sInstance = new HideReturnsTransformationMethod();
55 return sInstance;
58 private static HideReturnsTransformationMethod sInstance;
SingleLineTransformationMethod.java 54 if (sInstance != null)
55 return sInstance;
57 sInstance = new SingleLineTransformationMethod();
58 return sInstance;
61 private static SingleLineTransformationMethod sInstance;
TimeKeyListener.java 43 if (sInstance != null)
44 return sInstance;
46 sInstance = new TimeKeyListener();
47 return sInstance;
61 private static TimeKeyListener sInstance;
DialerKeyListener.java 40 if (sInstance != null)
41 return sInstance;
43 sInstance = new DialerKeyListener();
44 return sInstance;
116 private static DialerKeyListener sInstance;
  /packages/apps/Stk/src/com/android/stk/
StkDigitsKeyListener.java 37 if (sInstance != null) {
38 return sInstance;
40 sInstance = new StkDigitsKeyListener();
41 return sInstance;
53 private static StkDigitsKeyListener sInstance;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
VibratorUtils.java 23 private static final VibratorUtils sInstance = new VibratorUtils();
31 if (sInstance.mVibrator == null) {
32 sInstance.mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
34 return sInstance;
  /system/vold/
NetlinkManager.h 27 static NetlinkManager *sInstance;
NetlinkManager.cpp 35 NetlinkManager *NetlinkManager::sInstance = NULL;
38 if (!sInstance)
39 sInstance = new NetlinkManager();
40 return sInstance;
  /frameworks/base/core/java/android/webkit/
WebCoreThreadWatchdog.java 64 private static WebCoreThreadWatchdog sInstance;
67 if (sInstance == null) {
68 sInstance = new WebCoreThreadWatchdog(webCoreThreadHandler);
69 new Thread(sInstance, "WebCoreThreadWatchdog").start();
71 return sInstance;
75 if (sInstance != null) {
76 sInstance.addWebView(w);
81 if (sInstance != null) {
82 sInstance.removeWebView(w);
87 if (sInstance != null)
    [all...]
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessor.java 37 private static ContactAccessor sInstance;
40 if (sInstance == null) {
68 sInstance = clazz.newInstance();
74 return sInstance;
  /frameworks/native/include/utils/
Singleton.h 34 TYPE* instance = sInstance;
37 sInstance = instance;
44 return sInstance != 0;
55 static TYPE* sInstance;
70 template<> TYPE* Singleton< TYPE >::sInstance(0);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
Config.java 28 private static AlbumSetPage sInstance;
34 if (sInstance == null) {
35 sInstance = new AlbumSetPage(context);
37 return sInstance;
67 private static AlbumPage sInstance;
72 if (sInstance == null) {
73 sInstance = new AlbumPage(context);
75 return sInstance;
89 private static ManageCachePage sInstance;
95 if (sInstance == null)
    [all...]
  /packages/apps/Mms/src/com/android/mms/data/
RecipientIdCache.java 35 private static RecipientIdCache sInstance;
36 static RecipientIdCache getInstance() { return sInstance; }
54 sInstance = new RecipientIdCache(context);
72 Context context = sInstance.mContext;
81 synchronized (sInstance) {
84 sInstance.mCache.clear();
89 sInstance.mCache.put(id, number);
103 synchronized (sInstance) {
116 String number = sInstance.mCache.get(longId);
125 number = sInstance.mCache.get(longId)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
Clock.java 22 private static Clock sInstance = INSTANCE;
25 return sInstance;
30 sInstance = clock;
35 sInstance = INSTANCE;
  /system/netd/
NetlinkManager.cpp 38 NetlinkManager *NetlinkManager::sInstance = NULL;
41 if (!sInstance)
42 sInstance = new NetlinkManager();
43 return sInstance;
NetlinkManager.h 28 static NetlinkManager *sInstance;
  /frameworks/base/telephony/java/com/android/internal/telephony/cat/
RilMessageDecoder.java 38 private static RilMessageDecoder sInstance = null;
55 if (sInstance == null) {
56 sInstance = new RilMessageDecoder(caller, fh);
57 sInstance.start();
59 return sInstance;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
AccessibilityUtils.java 41 private static final AccessibilityUtils sInstance = new AccessibilityUtils();
59 sInstance.initInternal(inputMethod);
65 return sInstance;
KeyCodeDescriptionMapper.java 37 private static KeyCodeDescriptionMapper sInstance = new KeyCodeDescriptionMapper();
46 sInstance.initInternal();
50 return sInstance;
  /cts/tests/tests/drm/src/android/drm/cts/configs/
FwdLockConfig.java 24 private static FwdLockConfig sInstance = new FwdLockConfig();
27 return sInstance;

Completed in 639 milliseconds

1 2 3 4 5 6