Searched refs:sInstance (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
H A DInvalidationClientNameProvider.java16 private static InvalidationClientNameProvider sInstance; field in class:InvalidationClientNameProvider
26 if (sInstance == null) {
27 sInstance = new InvalidationClientNameProvider();
29 return sInstance;
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DPowerMonitor.java24 private static PowerMonitor sInstance; field in class:PowerMonitor
44 sInstance = LazyHolder.INSTANCE;
48 if (sInstance == null) {
49 sInstance = LazyHolder.INSTANCE;
50 ActivityStatus.registerStateListener(sInstance);
61 if (sInstance == null) {
68 sInstance.mIsBatteryPower = chargePlug != BatteryManager.BATTERY_PLUGGED_USB &&
86 return sInstance.mIsBatteryPower;
/external/chromium_org/net/android/java/src/org/chromium/net/
H A DNetworkChangeNotifier.java51 private static NetworkChangeNotifier sInstance; field in class:NetworkChangeNotifier
64 if (sInstance == null) {
65 sInstance = new NetworkChangeNotifier(context);
67 return sInstance;
71 return sInstance != null;
75 sInstance = new NetworkChangeNotifier(context);
103 assert sInstance != null;
104 return sInstance;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DBrowserStartupController.java57 private static BrowserStartupController sInstance; field in class:BrowserStartupController
74 if (sInstance != null) {
75 sInstance.executeEnqueuedCallbacks(result, NOT_ALREADY_STARTED);
121 if (sInstance == null) {
122 sInstance = new BrowserStartupController(context.getApplicationContext());
124 return sInstance;
129 if (sInstance == null) {
130 sInstance = controller;
132 return sInstance;
H A DDownloadController.java20 private static DownloadController sInstance; field in class:DownloadController
43 if (sInstance == null) {
44 sInstance = new DownloadController();
46 return sInstance;
H A DResourceExtractor.java228 private static ResourceExtractor sInstance; field in class:ResourceExtractor
231 if (sInstance == null) {
232 sInstance = new ResourceExtractor(context);
234 return sInstance;
244 assert (sInstance == null || sInstance.mExtractTask == null)
259 assert (sInstance == null || sInstance.mExtractTask == null)
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwQuotaManagerBridge.java28 private static AwQuotaManagerBridge sInstance; field in class:AwQuotaManagerBridge
31 if (sInstance == null) {
32 sInstance = new AwQuotaManagerBridge(nativeGetDefaultNativeAwQuotaManagerBridge());
34 return sInstance;
H A DAwSettings.java106 private static final String sInstance = nativeGetDefaultUserAgent(); field in class:AwSettings.LazyDefaultUserAgent
214 mUserAgent = LazyDefaultUserAgent.sInstance;
484 return LazyDefaultUserAgent.sInstance;
494 mUserAgent = LazyDefaultUserAgent.sInstance;
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/invalidation/
H A DInvalidationController.java32 private static InvalidationController sInstance; field in class:InvalidationController
109 if (sInstance == null) {
110 sInstance = new InvalidationController(context);
112 return sInstance;
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/
H A DSyncController.java35 private static SyncController sInstance; field in class:SyncController
62 if (sInstance == null) {
63 sInstance = new SyncController(context.getApplicationContext());
65 return sInstance;
/external/chromium_org/printing/android/java/src/org/chromium/printing/
H A DPrintingControllerImpl.java44 private static PrintingController sInstance; field in class:PrintingControllerImpl
114 if (sInstance == null) {
115 sInstance = new PrintingControllerImpl(printManager,
118 return sInstance;
130 return sInstance;
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/
H A DTraceEvent.java170 private static final BasicLooperMonitor sInstance = field in class:TraceEvent.LooperMonitorHolder
251 enabled ? LooperMonitorHolder.sInstance : null);
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/
H A DTestWebServer.java70 private static TestWebServer sInstance; field in class:TestWebServer
106 if (sInstance != null) {
109 sInstance.shutdown();
123 sInstance = instance;

Completed in 303 milliseconds