Home
last modified time | relevance | path

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

/external/libchrome/base/android/java/src/org/chromium/base/
DPowerMonitor.java21 private static PowerMonitor sInstance; field in PowerMonitor
29 sInstance = new PowerMonitor(); in createForTests()
38 if (sInstance != null) return; in create()
41 sInstance = new PowerMonitor(); in create()
61 assert sInstance != null; in onBatteryChargingChanged()
64 sInstance.mIsBatteryPower = chargePlug != BatteryManager.BATTERY_PLUGGED_USB in onBatteryChargingChanged()
74 if (sInstance == null) create(); in isBatteryPower()
76 return sInstance.mIsBatteryPower; in isBatteryPower()
DTraceEvent.java198 private static final BasicLooperMonitor sInstance = field in TraceEvent.LooperMonitorHolder
260 enabled ? LooperMonitorHolder.sInstance : null); in setEnabled()
272 ThreadUtils.getUiThreadLooper().setMessageLogging(LooperMonitorHolder.sInstance); in maybeEnableEarlyTracing()
DBuildInfo.java53 private static class Holder { private static BuildInfo sInstance = new BuildInfo(); } field in BuildInfo.Holder
84 return Holder.sInstance; in getInstance()
/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.java158 private static CapabilityPolling sInstance = null; field in CapabilityPolling
160 if ((sInstance == null) && (context != null)) { in getInstance()
161 sInstance = new CapabilityPolling(context); in getInstance()
164 return sInstance; in getInstance()
/external/libchrome/base/android/java/src/org/chromium/base/memory/
DMemoryPressureUma.java50 private static MemoryPressureUma sInstance; field in MemoryPressureUma
62 assert sInstance == null; in initializeInstance()
63 sInstance = new MemoryPressureUma(processType); in initializeInstance()
64 ContextUtils.getApplicationContext().registerComponentCallbacks(sInstance); in initializeInstance()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccessibilityManager.java29 private static AccessibilityManager sInstance; field in ShadowAccessibilityManager
44 sInstance = null; in reset()
53 if (sInstance == null) { in getInstance()
54 sInstance = createInstance(context); in getInstance()
57 return sInstance; in getInstance()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonpCharacterEscapes.java23 private static final JsonpCharacterEscapes sInstance = new JsonpCharacterEscapes(); field in JsonpCharacterEscapes
26 return sInstance; in instance()
/external/oboe/src/opensles/
DOutputMixerOpenSLES.cpp26 static OutputMixerOpenSL sInstance; in getInstance() local
27 return sInstance; in getInstance()
DEngineOpenSLES.cpp24 static EngineOpenSLES sInstance; in getInstance() local
25 return sInstance; in getInstance()
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
DSkottieRunner.java37 private static SkottieRunner sInstance; field in SkottieRunner
55 if (sInstance == null) { in getInstance()
56 sInstance = new SkottieRunner(); in getInstance()
58 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()
296 private static ContactNumberUtils sInstance = null; field in ContactNumberUtils
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java37 private static SkottieRunner sInstance; field in SkottieRunner
52 if (sInstance == null) { in getInstance()
53 sInstance = new SkottieRunner(); in getInstance()
55 return sInstance; in getInstance()
/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.java148 private static RcsStackAdaptor sInstance = null; field in RcsStackAdaptor
164 if ((sInstance == null) && (context != null)) { in getInstance()
165 sInstance = new RcsStackAdaptor(context); in getInstance()
168 return sInstance; in getInstance()
/external/libchrome/base/android/java/src/org/chromium/base/library_loader/
DLibraryLoader.java91 private static LibraryLoader sInstance = new LibraryLoader(); field in LibraryLoader
188 return sInstance; in getInstance()
705 sInstance = loader; in setLibraryLoaderForTesting()
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi38901 …<var-decl name='sInstance' type-id='0e37d6af' visibility='default' filepath='system/core/libutils/…