/packages/apps/Contacts/src/com/android/contacts/model/ |
Sources.java | 63 private static SoftReference<Sources> sInstance = null; 71 Sources sources = sInstance == null ? null : sInstance.get(); 74 sInstance = new SoftReference<Sources>(sources);
|
/packages/apps/Email/src/com/android/email/ |
VendorPolicyLoader.java | 62 private static VendorPolicyLoader sInstance; 67 if (sInstance == null) { 69 sInstance = new VendorPolicyLoader(context); 71 return sInstance; 83 sInstance = new VendorPolicyLoader(context, apkPackageName, name, true); 93 sInstance = null;
|
Utility.java | 320 private static FolderProperties sInstance; 348 if (sInstance == null) { 350 if (sInstance == null) { 351 sInstance = new FolderProperties(context); 355 return sInstance;
|
Controller.java | 53 private static Controller sInstance; 85 if (sInstance == null) { 86 sInstance = new Controller(_context); 88 return sInstance; [all...] |
SecurityPolicy.java | 47 private static SecurityPolicy sInstance = null; 81 if (sInstance == null) { 82 sInstance = new SecurityPolicy(context); 84 return sInstance;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
RetryScheduler.java | 59 private static RetryScheduler sInstance; 61 if (sInstance == null) { 62 sInstance = new RetryScheduler(context); 64 return sInstance;
|
/packages/apps/Mms/src/com/android/mms/util/ |
DownloadManager.java | 76 synchronized (sInstance) { 100 synchronized (sInstance) { 110 private static DownloadManager sInstance; 137 if (sInstance != null) { 140 sInstance = new DownloadManager(context); 144 if (sInstance == null) { 147 return sInstance;
|
RateController.java | 50 private static RateController sInstance; 82 if (sInstance != null) { 85 sInstance = new RateController(context); 89 if (sInstance == null) { 92 return sInstance;
|
SmileyParser.java | 36 private static SmileyParser sInstance; 37 public static SmileyParser getInstance() { return sInstance; } 39 sInstance = new SmileyParser(context);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
LatinIMEUtil.java | 48 private static GCUtils sInstance = new GCUtils(); 52 return sInstance;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAppWidgetProvider.java | 58 private static CalendarAppWidgetProvider sInstance; 61 if (sInstance == null) { 62 sInstance = new CalendarAppWidgetProvider(); 64 return sInstance;
|
/cts/tests/src/android/webkit/cts/ |
CtsTestServer.java | 102 private static CtsTestServer sInstance; 143 if (sInstance != null) { 146 sInstance.shutdown(); 148 sInstance = this; 194 sInstance = null;
|
/frameworks/base/core/java/android/text/method/ |
QwertyKeyListener.java | 32 private static QwertyKeyListener[] sInstance = 48 if (sInstance[off] == null) { 49 sInstance[off] = new QwertyKeyListener(cap, autotext); 52 return sInstance[off];
|
/frameworks/base/include/media/ |
MediaProfiles.h | 309 static MediaProfiles *sInstance;
|
/frameworks/base/media/libmedia/ |
MediaProfiles.cpp | 34 MediaProfiles *MediaProfiles::sInstance = NULL; 378 sInstance = createDefaultInstance(); 381 sInstance = createInstanceFromXmlFile(defaultXmlFile); 384 sInstance = createInstanceFromXmlFile(value); 388 return sInstance;
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
CommandParamsFactory.java | 35 private static CommandParamsFactory sInstance = null; 57 if (sInstance != null) { 58 return sInstance;
|
StkService.java | 120 private static StkService sInstance; 460 if (sInstance == null) { 467 sInstance = new StkService(ci, sr, context, fh, sc); 468 StkLog.d(sInstance, "NEW sInstance"); 470 StkLog.d(sInstance, "Reinitialize the Service with SIMRecords"); 474 mSimRecords.registerForRecordsLoaded(sInstance, MSG_ID_SIM_LOADED, null); 475 StkLog.d(sInstance, "sr changed reinitialize and return current sInstance"); 477 StkLog.d(sInstance, "Return current sInstance") [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 51 private static IconFactory sInstance; 60 if (sInstance == null) { 61 sInstance = new IconFactory(); 63 return sInstance;
|
/frameworks/base/core/java/com/android/internal/view/ |
InputConnectionWrapper.java | 45 private static InputContextCallback sInstance = new InputContextCallback(); 56 // Return sInstance if it's non-null, otherwise construct a new callback 58 if (sInstance != null) { 59 callback = sInstance; 60 sInstance = null; 79 // If sInstance is non-null, just let this object be garbage-collected 80 if (sInstance == null) { 85 sInstance = this;
|
/frameworks/base/telephony/java/android/telephony/ |
TelephonyManager.java | 72 private static TelephonyManager sInstance = new TelephonyManager(); 76 return sInstance;
|
/system/vold/ |
VolumeManager.cpp | 45 VolumeManager *VolumeManager::sInstance = NULL; 48 if (!sInstance) 49 sInstance = new VolumeManager(); 50 return sInstance; [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 422 private static MockAccessibilityService sInstance; 457 if (sInstance == null) { 462 sInstance = new MockAccessibilityService(context); 464 return sInstance;
|
/cts/tools/host/src/com/android/cts/ |
TestHost.java | 71 private static TestHost sInstance; 380 if (sInstance == null) { 381 sInstance = new TestHost(); 384 return sInstance;
|
TestSession.java | 534 static final ResultObserver sInstance = new ResultObserver(); 543 return sInstance;
|
TestSessionBuilder.java | 68 private static TestSessionBuilder sInstance; 74 if (sInstance == null) { 75 sInstance = new TestSessionBuilder(); 78 return sInstance;
|