HomeSort by relevance Sort by last modified time
    Searched refs:sSingleton (Results 1 - 19 of 19) sorted by null

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMimeTypeMap.java 22 static MimeTypeMap sSingleton = null;
27 if (sSingleton == null) {
29 if (sSingleton == null) {
30 sSingleton = Robolectric.newInstanceOf(MimeTypeMap.class);
35 return sSingleton;
  /frameworks/av/drm/mediadrm/plugins/clearkey/
SessionLibrary.cpp 33 SessionLibrary* SessionLibrary::sSingleton = NULL;
38 if (sSingleton == NULL) {
40 sSingleton = new SessionLibrary();
43 return sSingleton;
SessionLibrary.h 49 static SessionLibrary* sSingleton;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ProfileDatabaseHelper.java 39 private static ProfileDatabaseHelper sSingleton = null;
55 if (sSingleton == null) {
56 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true);
58 return sSingleton;
FastScrollingIndexCache.java 88 private static FastScrollingIndexCache sSingleton;
91 if (sSingleton == null) {
93 sSingleton = new FastScrollingIndexCache(prefs);
95 return sSingleton;
101 sSingleton = new FastScrollingIndexCache(prefs);
102 return sSingleton;
ContactLocaleUtils.java 412 private static ContactLocaleUtils sSingleton;
439 if (sSingleton == null) {
440 sSingleton = new ContactLocaleUtils(LocaleSet.getDefault());
442 return sSingleton;
451 if (sSingleton == null || !sSingleton.isLocale(locales)) {
452 sSingleton = new ContactLocaleUtils(locales);
ContactsDatabaseHelper.java     [all...]
  /frameworks/base/core/java/android/util/
NtpTrustedTime.java 38 private static NtpTrustedTime sSingleton;
58 if (sSingleton == null) {
73 sSingleton = new NtpTrustedTime(server, timeout);
77 return sSingleton;
  /packages/services/Telephony/src/com/android/phone/
CallGatewayManager.java 73 private static CallGatewayManager sSingleton;
76 if (sSingleton == null) {
77 sSingleton = new CallGatewayManager();
79 return sSingleton;
  /packages/apps/Settings/src/com/android/settings/search/
IndexDatabaseHelper.java 134 private static IndexDatabaseHelper sSingleton;
137 if (sSingleton == null) {
138 sSingleton = new IndexDatabaseHelper(context);
140 return sSingleton;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DeviceSensors.java 59 private static DeviceSensors sSingleton;
480 if (sSingleton == null) {
481 sSingleton = new DeviceSensors(appContext);
483 return sSingleton;
  /frameworks/base/services/core/java/com/android/server/job/
JobStore.java 78 private static JobStore sSingleton;
83 if (sSingleton == null) {
84 sSingleton = new JobStore(jobManagerService.getContext(),
87 return sSingleton;
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 63 private static DialerDatabaseHelper sSingleton = null;
318 if (sSingleton == null) {
322 sSingleton = new DialerDatabaseHelper(context.getApplicationContext(),
325 return sSingleton;
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDatabaseHelper.java 251 private static CalendarDatabaseHelper sSingleton = null;
308 if (sSingleton == null) {
309 sSingleton = new CalendarDatabaseHelper(context);
311 return sSingleton;
    [all...]