Home
last modified time | relevance | path

Searched refs:sInstance (Results 1 – 16 of 16) sorted by relevance

/external/libmojo/base/android/java/src/org/chromium/base/
DPowerMonitor.java27 private static PowerMonitor sInstance; field in PowerMonitor
47 sInstance = LazyHolder.INSTANCE; in createForTests()
57 if (sInstance == null) { in create()
58 sInstance = LazyHolder.INSTANCE; in create()
59 ApplicationStatus.registerApplicationStateListener(sInstance); in create()
70 if (sInstance == null) { in onBatteryChargingChanged()
77 sInstance.mIsBatteryPower = chargePlug != BatteryManager.BATTERY_PLUGGED_USB in onBatteryChargingChanged()
95 return sInstance.mIsBatteryPower; in isBatteryPower()
DResourceExtractor.java202 private static ResourceExtractor sInstance; field in ResourceExtractor
205 if (sInstance == null) { in get()
206 sInstance = new ResourceExtractor(context); in get()
208 return sInstance; in get()
217 assert (sInstance == null || sInstance.mExtractTask == null) in setResourcesToExtract()
DTraceEvent.java164 private static final BasicLooperMonitor sInstance = field in TraceEvent.LooperMonitorHolder
186 enabled ? LooperMonitorHolder.sInstance : null); in setEnabled()
/external/libmojo/base/android/java/src/org/chromium/base/library_loader/
DLibraryLoader.java51 private static volatile LibraryLoader sInstance; field in LibraryLoader
103 assert sLibraryPreloader == null && (sInstance == null || !sInstance.mLoaded); in setNativeLibraryPreloader()
115 if (sInstance != null) { in get()
116 if (sInstance.mLibraryProcessType == libraryProcessType) return sInstance; in get()
120 sInstance = new LibraryLoader(libraryProcessType); in get()
121 return sInstance; in get()
152 return sInstance != null && sInstance.mInitialized; in isInitialized()
431 if (sInstance == null) return LibraryProcessType.PROCESS_UNINITIALIZED; in getLibraryProcessType()
432 return sInstance.mLibraryProcessType; in getLibraryProcessType()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPresencePreferences.java37 private static PresencePreferences sInstance; field in PresencePreferences
53 if (null == sInstance) { in getInstance()
54 sInstance = new PresencePreferences(); in getInstance()
56 return sInstance; in getInstance()
DPollingsQueue.java47 private static PollingsQueue sInstance = null; field in PollingsQueue
49 if ((sInstance == null) && (context != null)) { in getInstance()
50 sInstance = new PollingsQueue(context); in getInstance()
53 return sInstance; in getInstance()
DCapabilityPolling.java137 private static CapabilityPolling sInstance = null; field in CapabilityPolling
139 if ((sInstance == null) && (context != null)) { in getInstance()
140 sInstance = new CapabilityPolling(context); in getInstance()
143 return sInstance; in getInstance()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/
DContactNumberUtils.java57 if(sInstance == null) { in getDefault()
58 sInstance = new ContactNumberUtils(); in getDefault()
61 return sInstance; in getDefault()
285 private static ContactNumberUtils sInstance = null; field in ContactNumberUtils
/external/apache-http/android/src/android/net/http/
DCertificateChainValidator.java56 private static final CertificateChainValidator sInstance = new CertificateChainValidator(); field in CertificateChainValidator.NoPreloadHolder
71 return NoPreloadHolder.sInstance; in getInstance()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsStackAdaptor.java162 private static RcsStackAdaptor sInstance = null; field in RcsStackAdaptor
172 if ((sInstance == null) && (context != null)) { in getInstance()
173 sInstance = new RcsStackAdaptor(context); in getInstance()
176 return sInstance; in getInstance()
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...