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

12 3 4 5 6 7 8

  /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/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/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_scoring.h 31 static const TypingScoring *getInstance() { return &sInstance; }
76 static const TypingScoring sInstance;
  /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/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); \
  /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;
  /system/vold/
NetlinkManager.cpp 35 NetlinkManager *NetlinkManager::sInstance = NULL;
38 if (!sInstance)
39 sInstance = new NetlinkManager();
40 return sInstance;
  /frameworks/opt/telephony/src/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/
KeyCodeDescriptionMapper.java 40 private static KeyCodeDescriptionMapper sInstance = new KeyCodeDescriptionMapper();
49 sInstance.initInternal();
53 return sInstance;
  /cts/tests/tests/drm/src/android/drm/cts/configs/
FwdLockConfig.java 24 private static FwdLockConfig sInstance = new FwdLockConfig();
27 return sInstance;
PassthruConfig.java 24 private static PassthruConfig sInstance = new PassthruConfig();
27 return sInstance;
  /frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
AccessibilityManager.java 41 private static AccessibilityManager sInstance = new AccessibilityManager();
62 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/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...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
MeasureHelper.java 24 private static MeasureHelper sInstance = new MeasureHelper(null);
35 sInstance.mComponent = component;
36 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;
  /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...]
  /external/chromium_org/base/android/java/src/org/chromium/base/
PowerMonitor.java 24 private static PowerMonitor sInstance;
44 sInstance = LazyHolder.INSTANCE;
48 if (sInstance == null) {
49 sInstance = LazyHolder.INSTANCE;
50 ActivityStatus.registerStateListener(sInstance);
61 if (sInstance == null) {
68 sInstance.mIsBatteryPower = chargePlug != BatteryManager.BATTERY_PLUGGED_USB &&
86 return sInstance.mIsBatteryPower;
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/invalidation/
InvalidationController.java 32 private static InvalidationController sInstance;
109 if (sInstance == null) {
110 sInstance = new InvalidationController(context);
112 return sInstance;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DownloadController.java 20 private static DownloadController sInstance;
43 if (sInstance == null) {
44 sInstance = new DownloadController();
46 return sInstance;
  /frameworks/base/core/java/android/text/method/
DigitsKeyListener.java 103 if (sInstance[kind] != null)
104 return sInstance[kind];
106 sInstance[kind] = new DigitsKeyListener(sign, decimal);
107 return sInstance[kind];
230 private static DigitsKeyListener[] sInstance = new DigitsKeyListener[4];
ScrollingMovementMethod.java 113 if (sInstance == null)
114 sInstance = new ScrollingMovementMethod();
116 return sInstance;
119 private static ScrollingMovementMethod sInstance;
  /frameworks/base/services/java/com/android/server/power/
ShutdownThread.java 78 private static final ShutdownThread sInstance = new ShutdownThread();
224 sInstance.mContext = context;
225 sInstance.mPowerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
228 sInstance.mCpuWakeLock = null;
230 sInstance.mCpuWakeLock = sInstance.mPowerManager.newWakeLock(
232 sInstance.mCpuWakeLock.setReferenceCounted(false);
233 sInstance.mCpuWakeLock.acquire();
236 sInstance.mCpuWakeLock = null;
240 sInstance.mScreenWakeLock = null
    [all...]
  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
ResourceModifiers.java 49 private static ResourceModifiers sInstance = null;
50 public static ResourceModifiers instance() { return sInstance; }
52 sInstance = new ResourceModifiers(resources);

Completed in 715 milliseconds

12 3 4 5 6 7 8