HomeSort by relevance Sort by last modified time
    Searched refs:sInstance (Results 26 - 50 of 270) sorted by null

12 3 4 5 6 7 8 91011

  /system/core/include/utils/
Singleton.h 34 TYPE* instance = sInstance;
37 sInstance = instance;
44 return sInstance != 0;
55 static TYPE* sInstance;
69 template<> TYPE* Singleton< TYPE >::sInstance(0); \
  /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;
  /hardware/qcom/display/msm8960/libqdutils/
idle_invalidator.cpp 37 android::sp<IdleInvalidator> IdleInvalidator::sInstance(0);
85 if(sInstance.get() == NULL)
86 sInstance = new IdleInvalidator();
87 return sInstance.get();
  /frameworks/base/core/java/android/os/
NullVibrator.java 27 private static final NullVibrator sInstance = new NullVibrator();
33 return sInstance;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
TouchPointManager.java 13 private static TouchPointManager sInstance = new TouchPointManager();
24 return sInstance;
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoManager.java 110 private static PhotoManager sInstance = null;
119 sInstance = new PhotoManager();
265 return sInstance;
317 PhotoTask[] taskArray = new PhotoTask[sInstance.mDownloadWorkQueue.size()];
320 sInstance.mDownloadWorkQueue.toArray(taskArray);
329 synchronized (sInstance) {
359 synchronized (sInstance) {
372 sInstance.mDownloadThreadPool.remove(downloaderTask.getHTTPDownloadRunnable());
390 PhotoTask downloadTask = sInstance.mPhotoTaskWorkQueue.poll();
398 downloadTask.initializeDownloaderTask(PhotoManager.sInstance, imageView, cacheFlag)
    [all...]
  /frameworks/base/core/java/android/text/method/
DialerKeyListener.java 40 if (sInstance != null)
41 return sInstance;
43 sInstance = new DialerKeyListener();
44 return sInstance;
116 private static DialerKeyListener sInstance;
  /packages/apps/Gallery2/src_pd/com/android/gallery3d/filtershow/filters/
FiltersManager.java 30 private static FiltersManager sInstance = null;
46 if (sInstance == null) {
47 sInstance = new FiltersManager();
49 return sInstance;
60 sInstance = null;
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
AppWidgetManagerCompat.java 36 private static AppWidgetManagerCompat sInstance;
41 if (sInstance == null) {
43 sInstance = new AppWidgetManagerCompatVL(context.getApplicationContext());
45 sInstance = new AppWidgetManagerCompatV16(context.getApplicationContext());
48 return sInstance;
  /packages/apps/Mms/src/com/android/mms/layout/
LayoutManager.java 37 private static LayoutManager sInstance;
73 if (sInstance != null) {
76 sInstance = new LayoutManager(context);
80 if (sInstance == null) {
83 return sInstance;
  /packages/apps/UnifiedEmail/src/com/android/mail/analytics/
Analytics.java 53 private static Tracker sInstance;
60 if (sInstance == null) {
61 sInstance = new StubTracker();
64 return sInstance;
69 sInstance = t;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
Config.java 28 private static AlbumSetPage sInstance;
37 if (sInstance == null) {
38 sInstance = new AlbumSetPage(context);
40 return sInstance;
82 private static AlbumPage sInstance;
88 if (sInstance == null) {
89 sInstance = new AlbumPage(context);
91 return sInstance;
107 private static ManageCachePage sInstance;
113 if (sInstance == null)
    [all...]
  /hardware/intel/img/hwcomposer/include/
Hwcomposer.h 86 Hwcomposer *instance = sInstance;
89 sInstance = instance;
91 return *sInstance;
94 delete sInstance;
95 sInstance = NULL;
117 static Hwcomposer *sInstance;
  /external/chromium_org/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/
GCMDriver.java 35 private static GCMDriver sInstance = null;
55 if (sInstance != null) {
58 sInstance = new GCMDriver(nativeGCMDriverAndroid, context);
59 return sInstance;
68 assert sInstance == this;
69 sInstance = null;
143 if (sInstance != null) {
144 sInstance.nativeOnRegisterFinished(sInstance.mNativeGCMDriverAndroid, appId,
153 if (sInstance != null)
    [all...]
  /external/chromium_org/net/android/java/src/org/chromium/net/
NetworkChangeNotifier.java 52 private static NetworkChangeNotifier sInstance;
65 if (sInstance == null) {
66 sInstance = new NetworkChangeNotifier(context);
68 return sInstance;
72 return sInstance != null;
76 sInstance = new NetworkChangeNotifier(context);
104 assert sInstance != null;
105 return sInstance;
  /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...]
  /hardware/qcom/display/msm8974/libqdutils/
idle_invalidator.cpp 37 android::sp<IdleInvalidator> IdleInvalidator::sInstance(0);
89 if(sInstance.get() == NULL)
90 sInstance = new IdleInvalidator();
91 return sInstance.get();
  /packages/apps/Browser/src/com/android/browser/
WebViewTimersControl.java 32 private static WebViewTimersControl sInstance;
44 if (sInstance == null) {
45 sInstance = new WebViewTimersControl();
47 return sInstance;
  /packages/apps/Camera2/src/com/android/camera/processing/
ProcessingServiceManager.java 37 private static ProcessingServiceManager sInstance;
57 sInstance = new ProcessingServiceManager(appContext);
66 if (sInstance == null) {
69 return sInstance;
  /packages/apps/Camera2/src_pd/com/android/camera/util/
UsageStatistics.java 30 private static UsageStatistics sInstance;
33 if (sInstance == null) {
34 sInstance = new UsageStatistics();
36 return sInstance;
  /packages/apps/Email/src/com/android/email/
ResourceHelper.java 30 private static ResourceHelper sInstance;
53 if (sInstance == null) {
54 sInstance = new ResourceHelper(context);
56 return sInstance;
  /packages/apps/Mms/src/com/android/mms/transaction/
SmsReceiver.java 33 private static SmsReceiver sInstance;
36 if (sInstance == null) {
37 sInstance = new SmsReceiver();
39 return sInstance;
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothManager.java 32 private static LocalBluetoothManager sInstance;
52 if (sInstance == null) {
59 sInstance = new LocalBluetoothManager(adapter, appContext);
62 return sInstance;
  /system/vold/
NetlinkManager.cpp 35 NetlinkManager *NetlinkManager::sInstance = NULL;
38 if (!sInstance)
39 sInstance = new NetlinkManager();
40 return sInstance;
NetlinkManager.h 27 static NetlinkManager *sInstance;

Completed in 2189 milliseconds

12 3 4 5 6 7 8 91011