OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sSingleton
(Results
1 - 7
of
7
) 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
;
/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
397
private static ContactLocaleUtils
sSingleton
;
426
if (
sSingleton
== null) {
427
sSingleton
= new ContactLocaleUtils(null);
429
return
sSingleton
;
433
if (
sSingleton
== null || !
sSingleton
.isLocale(locale)) {
434
sSingleton
= new ContactLocaleUtils(locale);
ContactsDatabaseHelper.java
[
all
...]
/frameworks/base/core/java/android/util/
NtpTrustedTime.java
36
private static NtpTrustedTime
sSingleton
;
53
if (
sSingleton
== null) {
68
sSingleton
= new NtpTrustedTime(server, timeout);
71
return
sSingleton
;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDatabaseHelper.java
250
private static CalendarDatabaseHelper
sSingleton
= null;
307
if (
sSingleton
== null) {
308
sSingleton
= new CalendarDatabaseHelper(context);
310
return
sSingleton
;
[
all
...]
Completed in 257 milliseconds