Home
last modified time | relevance | path

Searched refs:observerService (Results 1 – 25 of 617) sorted by relevance

12345678910>>...25

/dports/www/firefox/firefox-99.0/netwerk/base/
H A DCaptivePortalService.cpp129 nsCOMPtr<nsIObserverService> observerService = in Initialize() local
131 if (observerService) { in Initialize()
132 observerService->AddObserver(this, kOpenCaptivePortalLoginEvent, true); in Initialize()
133 observerService->AddObserver(this, kAbortCaptivePortalLoginEvent, true); in Initialize()
135 observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, true); in Initialize()
342 if (observerService) { in Observe()
353 if (observerService) { in NotifyConnectivityAvailable()
355 observerService->NotifyObservers(cps, NS_CAPTIVE_PORTAL_CONNECTIVITY, in NotifyConnectivityAvailable()
409 nsCOMPtr<nsIObserverService> observerService = in StateTransition() local
411 if (observerService) { in StateTransition()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/netwerk/base/
H A DCaptivePortalService.cpp120 nsCOMPtr<nsIObserverService> observerService = in Initialize() local
122 if (observerService) { in Initialize()
123 observerService->AddObserver(this, kOpenCaptivePortalLoginEvent, true); in Initialize()
124 observerService->AddObserver(this, kAbortCaptivePortalLoginEvent, true); in Initialize()
325 if (observerService) { in Observe()
327 observerService->NotifyObservers(cps, NS_IPC_CAPTIVE_PORTAL_SET_STATE, in Observe()
336 if (observerService) { in NotifyConnectivityAvailable()
338 observerService->NotifyObservers(cps, NS_CAPTIVE_PORTAL_CONNECTIVITY, in NotifyConnectivityAvailable()
389 nsCOMPtr<nsIObserverService> observerService = in StateTransition() local
391 if (observerService) { in StateTransition()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/base/
H A DCaptivePortalService.cpp120 nsCOMPtr<nsIObserverService> observerService = in Initialize() local
122 if (observerService) { in Initialize()
123 observerService->AddObserver(this, kOpenCaptivePortalLoginEvent, true); in Initialize()
124 observerService->AddObserver(this, kAbortCaptivePortalLoginEvent, true); in Initialize()
325 if (observerService) { in Observe()
327 observerService->NotifyObservers(cps, NS_IPC_CAPTIVE_PORTAL_SET_STATE, in Observe()
336 if (observerService) { in NotifyConnectivityAvailable()
338 observerService->NotifyObservers(cps, NS_CAPTIVE_PORTAL_CONNECTIVITY, in NotifyConnectivityAvailable()
389 nsCOMPtr<nsIObserverService> observerService = in StateTransition() local
391 if (observerService) { in StateTransition()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/system/linux/
H A DnsNetworkLinkService.cpp87 nsCOMPtr<nsIObserverService> observerService = in Init() local
89 if (!observerService) { in Init()
94 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
112 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
114 if (observerService) in Shutdown()
115 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
180 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
183 if (observerService) { in NotifyObservers()
184 observerService->NotifyObservers( in NotifyObservers()
/dports/lang/spidermonkey60/firefox-60.9.0/netwerk/base/
H A DCaptivePortalService.cpp117 nsCOMPtr<nsIObserverService> observerService = in Initialize() local
119 if (observerService) { in Initialize()
120 observerService->AddObserver(this, kOpenCaptivePortalLoginEvent, true); in Initialize()
121 observerService->AddObserver(this, kAbortCaptivePortalLoginEvent, true); in Initialize()
122 observerService->AddObserver(this, kCaptivePortalLoginSuccessEvent, true); in Initialize()
315 nsCOMPtr<nsIObserverService> observerService = services::GetObserverService(); in Observe() local
316 if (observerService) { in Observe()
318 observerService->NotifyObservers(cps, NS_IPC_CAPTIVE_PORTAL_SET_STATE, in Observe()
326 nsCOMPtr<nsIObserverService> observerService = services::GetObserverService(); in NotifyConnectivityAvailable() local
327 if (observerService) { in NotifyConnectivityAvailable()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/netwerk/system/linux/
H A DnsNetworkLinkService.cpp110 nsCOMPtr<nsIObserverService> observerService = in Init() local
112 if (!observerService) { in Init()
117 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
135 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
137 if (observerService) { in Shutdown()
138 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
204 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
207 if (observerService) { in NotifyObservers()
208 observerService->NotifyObservers( in NotifyObservers()
/dports/www/firefox/firefox-99.0/netwerk/system/linux/
H A DnsNetworkLinkService.cpp110 nsCOMPtr<nsIObserverService> observerService = in Init() local
112 if (!observerService) { in Init()
117 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
135 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
137 if (observerService) { in Shutdown()
138 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
204 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
207 if (observerService) { in NotifyObservers()
208 observerService->NotifyObservers( in NotifyObservers()
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/system/linux/
H A DnsNetworkLinkService.cpp110 nsCOMPtr<nsIObserverService> observerService = in Init() local
112 if (!observerService) { in Init()
117 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
135 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
137 if (observerService) { in Shutdown()
138 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
204 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
207 if (observerService) { in NotifyObservers()
208 observerService->NotifyObservers( in NotifyObservers()
/dports/www/firefox-esr/firefox-91.8.0/netwerk/system/android/
H A DnsAndroidNetworkLinkService.cpp30 nsCOMPtr<nsIObserverService> observerService = in Init() local
32 if (!observerService) { in Init()
37 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
55 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
57 if (observerService) in Shutdown()
58 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
228 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
231 if (observerService) { in NotifyObservers()
232 observerService->NotifyObservers( in NotifyObservers()
/dports/www/firefox/firefox-99.0/netwerk/system/android/
H A DnsAndroidNetworkLinkService.cpp30 nsCOMPtr<nsIObserverService> observerService = in Init() local
32 if (!observerService) { in Init()
37 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
55 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
57 if (observerService) in Shutdown()
58 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
228 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
231 if (observerService) { in NotifyObservers()
232 observerService->NotifyObservers( in NotifyObservers()
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/system/android/
H A DnsAndroidNetworkLinkService.cpp30 nsCOMPtr<nsIObserverService> observerService = in Init() local
32 if (!observerService) { in Init()
37 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
55 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
57 if (observerService) in Shutdown()
58 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
228 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
231 if (observerService) { in NotifyObservers()
232 observerService->NotifyObservers( in NotifyObservers()
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/system/android/
H A DnsAndroidNetworkLinkService.cpp30 nsCOMPtr<nsIObserverService> observerService = in Init() local
32 if (!observerService) { in Init()
37 rv = observerService->AddObserver(this, "xpcom-shutdown-threads", false); in Init()
55 nsCOMPtr<nsIObserverService> observerService = in Shutdown() local
57 if (observerService) in Shutdown()
58 observerService->RemoveObserver(this, "xpcom-shutdown-threads"); in Shutdown()
216 nsCOMPtr<nsIObserverService> observerService = in NotifyObservers() local
219 if (observerService) { in NotifyObservers()
220 observerService->NotifyObservers( in NotifyObservers()
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/diskspacewatcher/
H A DDiskSpaceWatcher.cpp63 nsCOMPtr<nsIObserverService> observerService = in Observe() local
65 observerService->AddObserver(this, "profile-before-change", false); in Observe()
71 nsCOMPtr<nsIObserverService> observerService = in Observe() local
73 observerService->RemoveObserver(this, "profile-before-change"); in Observe()
104 nsCOMPtr<nsIObserverService> observerService = in UpdateState() local
110 if (!observerService) { in UpdateState()
120 observerService->NotifyObservers(subject, DISKSPACEWATCHER_OBSERVER_TOPIC, in UpdateState()
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/base/
H A DCaptivePortalService.cpp132 nsCOMPtr<nsIObserverService> observerService = in Initialize() local
134 if (observerService) { in Initialize()
135 observerService->AddObserver(this, kOpenCaptivePortalLoginEvent, true); in Initialize()
136 observerService->AddObserver(this, kAbortCaptivePortalLoginEvent, true); in Initialize()
137 observerService->AddObserver(this, kCaptivePortalLoginSuccessEvent, true); in Initialize()
336 nsCOMPtr<nsIObserverService> observerService = services::GetObserverService(); in Observe() local
337 if (observerService) { in Observe()
339 observerService->NotifyObservers(cps, NS_IPC_CAPTIVE_PORTAL_SET_STATE, in Observe()
347 nsCOMPtr<nsIObserverService> observerService = services::GetObserverService(); in NotifyConnectivityAvailable() local
348 if (observerService) { in NotifyConnectivityAvailable()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/config/
H A DWebRenderRollout.cpp55 nsCOMPtr<nsIObserverService> observerService = in Observe() local
57 if (NS_WARN_IF(!observerService)) { in Observe()
60 observerService->RemoveObserver(this, PROFILE_BEFORE_CHANGE_TOPIC); in Observe()
66 nsCOMPtr<nsIObserverService> observerService = in AddShutdownObserver() local
68 if (NS_WARN_IF(!observerService)) { in AddShutdownObserver()
73 observerService->AddObserver(wrRolloutSaver, PROFILE_BEFORE_CHANGE_TOPIC, in AddShutdownObserver()
/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/components/diskspacewatcher/
H A DDiskSpaceWatcher.cpp66 nsCOMPtr<nsIObserverService> observerService = in Observe() local
68 observerService->AddObserver(this, "profile-before-change", false); in Observe()
74 nsCOMPtr<nsIObserverService> observerService = in Observe() local
76 observerService->RemoveObserver(this, "profile-before-change"); in Observe()
110 nsCOMPtr<nsIObserverService> observerService = in UpdateState() local
116 if (!observerService) { in UpdateState()
126 observerService->NotifyObservers(subject, in UpdateState()
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/antitracking/
H A DTemporaryAccessGrantObserver.cpp61 nsCOMPtr<nsIObserverService> observerService = in SetTimer() local
63 if (observerService) { in SetTimer()
64 observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, false); in SetTimer()
77 nsCOMPtr<nsIObserverService> observerService = in Observe() local
79 if (observerService) { in Observe()
80 observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); in Observe()
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/antitracking/
H A DTemporaryAccessGrantObserver.cpp61 nsCOMPtr<nsIObserverService> observerService = in SetTimer() local
63 if (observerService) { in SetTimer()
64 observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, false); in SetTimer()
77 nsCOMPtr<nsIObserverService> observerService = in Observe() local
79 if (observerService) { in Observe()
80 observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); in Observe()
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/antitracking/
H A DTemporaryAccessGrantObserver.cpp63 nsCOMPtr<nsIObserverService> observerService = in SetTimer() local
65 if (observerService) { in SetTimer()
66 observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, false); in SetTimer()
79 nsCOMPtr<nsIObserverService> observerService = in Observe() local
81 if (observerService) { in Observe()
82 observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); in Observe()
/dports/www/firefox/firefox-99.0/toolkit/components/antitracking/
H A DTemporaryAccessGrantObserver.cpp61 nsCOMPtr<nsIObserverService> observerService = in SetTimer() local
63 if (observerService) { in SetTimer()
64 observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, false); in SetTimer()
77 nsCOMPtr<nsIObserverService> observerService = in Observe() local
79 if (observerService) { in Observe()
80 observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); in Observe()
/dports/www/firefox-esr/firefox-91.8.0/dom/media/webrtc/jsapi/
H A DPeerConnectionCtx.cpp49 nsCOMPtr<nsIObserverService> observerService = in Init() local
51 if (!observerService) return; in Init()
55 rv = observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, in Init()
58 rv = observerService->AddObserver(this, NS_IOSERVICE_OFFLINE_STATUS_TOPIC, in Init()
70 nsCOMPtr<nsIObserverService> observerService = in Observe() local
72 if (!observerService) return NS_ERROR_FAILURE; in Observe()
74 nsresult rv = observerService->RemoveObserver( in Observe()
77 rv = observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); in Observe()
101 nsCOMPtr<nsIObserverService> observerService = in ~PeerConnectionCtxObserver() local
103 if (observerService) { in ~PeerConnectionCtxObserver()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/webrtc/jsapi/
H A DPeerConnectionCtx.cpp49 nsCOMPtr<nsIObserverService> observerService = in Init() local
51 if (!observerService) return; in Init()
55 rv = observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, in Init()
58 rv = observerService->AddObserver(this, NS_IOSERVICE_OFFLINE_STATUS_TOPIC, in Init()
70 nsCOMPtr<nsIObserverService> observerService = in Observe() local
72 if (!observerService) return NS_ERROR_FAILURE; in Observe()
74 nsresult rv = observerService->RemoveObserver( in Observe()
77 rv = observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); in Observe()
101 nsCOMPtr<nsIObserverService> observerService = in ~PeerConnectionCtxObserver() local
103 if (observerService) { in ~PeerConnectionCtxObserver()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/signaling/src/peerconnection/
H A DPeerConnectionCtx.cpp48 nsCOMPtr<nsIObserverService> observerService = in Init() local
50 if (!observerService) return; in Init()
54 rv = observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, in Init()
57 rv = observerService->AddObserver(this, NS_IOSERVICE_OFFLINE_STATUS_TOPIC, in Init()
69 nsCOMPtr<nsIObserverService> observerService = in Observe() local
71 if (!observerService) return NS_ERROR_FAILURE; in Observe()
73 nsresult rv = observerService->RemoveObserver( in Observe()
76 rv = observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); in Observe()
100 nsCOMPtr<nsIObserverService> observerService = in ~PeerConnectionCtxObserver() local
102 if (observerService) { in ~PeerConnectionCtxObserver()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/common/test/
H A DSandboxTestingParent.cpp80 nsCOMPtr<nsIObserverService> observerService = in RecvReportTestResults() local
82 MOZ_RELEASE_ASSERT(observerService); in RecvReportTestResults()
90 observerService->NotifyObservers(nullptr, "sandbox-test-result", in RecvReportTestResults()
100 nsCOMPtr<nsIObserverService> observerService = in RecvTestCompleted() local
102 MOZ_RELEASE_ASSERT(observerService); in RecvTestCompleted()
103 observerService->NotifyObservers(nullptr, "sandbox-test-done", 0); in RecvTestCompleted()
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/common/test/
H A DSandboxTestingParent.cpp80 nsCOMPtr<nsIObserverService> observerService = in RecvReportTestResults() local
82 MOZ_RELEASE_ASSERT(observerService); in RecvReportTestResults()
90 observerService->NotifyObservers(nullptr, "sandbox-test-result", in RecvReportTestResults()
100 nsCOMPtr<nsIObserverService> observerService = in RecvTestCompleted() local
102 MOZ_RELEASE_ASSERT(observerService); in RecvTestCompleted()
103 observerService->NotifyObservers(nullptr, "sandbox-test-done", 0); in RecvTestCompleted()

12345678910>>...25