Home
last modified time | relevance | path

Searched refs:EventLoopManagerSingleton (Results 1 – 25 of 80) sorted by relevance

1234

/aosp_15_r20/system/chre/core/
H A Dwifi_request_manager.cc115 EventLoopManagerSingleton::get()->getSystemHealthMonitor().onFailure( in handleConfigureScanMonitorTimeout()
125 EventLoopManagerSingleton::get() in setConfigureScanMonitorTimer()
130 return EventLoopManagerSingleton::get()->setDelayedCallback( in setConfigureScanMonitorTimer()
252 EventLoopManagerSingleton::get()->getSystemHealthMonitor().onFailure( in handleRangingRequestTimeout()
262 EventLoopManagerSingleton::get() in setRangingRequestTimer()
267 return EventLoopManagerSingleton::get()->setDelayedCallback( in setRangingRequestTimer()
316 EventLoopManagerSingleton::get()->getSystemHealthMonitor().onFailure( in handleScanRequestTimeout()
327 EventLoopManagerSingleton::get() in setScanRequestTimer()
332 return EventLoopManagerSingleton::get()->setDelayedCallback( in setScanRequestTimer()
339 EventLoopManagerSingleton::get()->cancelDelayedCallback( in cancelScanRequestTimer()
[all …]
H A Dble_request_manager.cc270 EventLoopManagerSingleton::get() in freeAdvertisingEventCallback()
281 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in handleAdvertisementEvent()
289 EventLoopManagerSingleton::get() in handlePlatformChange()
294 EventLoopManagerSingleton::get()->deferCallback( in handlePlatformChange()
377 EventLoopManagerSingleton::get()->getEventLoop().findNanoappByInstanceId( in handleNanoappEventRegistration()
391 EventLoopManagerSingleton::get() in handleRequestStateResyncCallback()
395 EventLoopManagerSingleton::get()->deferCallback( in handleRequestStateResyncCallback()
418 EventLoopManagerSingleton::get()->getBleRequestManager().handleReadRssiSync( in handleReadRssi()
422 EventLoopManagerSingleton::get()->deferCallback( in handleReadRssi()
462 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in resolvePendingRssiRequest()
[all …]
H A Dsensor_request_manager.cc67 EventLoopManagerSingleton::get()->getSensorRequestManager().getSensor( in updateLastEvent()
79 EventLoopManagerSingleton::get()->deferCallback( in updateLastEvent()
84 EventLoopManagerSingleton::get() in sensorDataEventFree()
105 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in postSamplingStatusEvent()
121 EventLoopManagerSingleton::get()->getSensorRequestManager().getRequests( in postSamplingStatus()
250 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in setSensorRequest()
308 Nanoapp *nanoapp = EventLoopManagerSingleton::get() in removeAllRequests()
469 EventLoopManagerSingleton::get() in handleFlushCompleteEvent()
474 EventLoopManagerSingleton::get()->deferCallback( in handleFlushCompleteEvent()
498 EventLoopManagerSingleton::get() in handleSensorDataEvent()
[all …]
H A Dhost_comms_manager.cc80 EventLoopManagerSingleton::get()->getEventLoop().getTimerPool(), in HostCommsManager()
95 EventLoopManagerSingleton::get() in completeTransaction()
99 EventLoopManagerSingleton::get()->deferCallback( in completeTransaction()
240 EventLoopManagerSingleton::get() in sendMessageToNanoappFromHost()
245 if (!EventLoopManagerSingleton::get()->deferCallback( in sendMessageToNanoappFromHost()
343 bool foundNanoapp = EventLoopManagerSingleton::get() in deliverNanoappMessageFromHost()
354 EventLoopManagerSingleton::get()->getEventLoop().distributeEventSync( in deliverNanoappMessageFromHost()
374 bool hostWasAwake = EventLoopManagerSingleton::get() in doSendMessageToHostFromNanoapp()
386 EventLoopManagerSingleton::get() in doSendMessageToHostFromNanoapp()
410 EventLoopManagerSingleton::get()->getEventLoop().invokeMessageFreeFunction( in freeMessageToHost()
[all …]
H A Dchre_message_hub_manager.cc56 EventLoopManagerSingleton::get()->getEventLoop().findNanoappByAppId( in onMessageToNanoappCallback()
72 } else if (!EventLoopManagerSingleton::get() in onMessageToNanoappCallback()
85 EventLoopManagerSingleton::get() in onMessageToNanoappCallback()
96 EventLoopManagerSingleton::get()->getEventLoop().findNanoappByAppId( in onSessionClosedCallback()
106 EventLoopManagerSingleton::get()->getEventLoop().distributeEventSync( in onSessionClosedCallback()
138 EventLoopManagerSingleton::get()->deferCallback( in onMessageReceived()
169 EventLoopManagerSingleton::get()->deferCallback( in onSessionClosed()
177 EventLoopManagerSingleton::get()->getEventLoop().onMatchingNanoappEndpoint( in forEachEndpoint()
183 return EventLoopManagerSingleton::get()->getEventLoop().getEndpointInfo( in getEndpointInfo()
H A Dgnss_manager.cc98 EventLoopManagerSingleton::get() in handleRequestStateResyncCallback()
102 EventLoopManagerSingleton::get()->deferCallback( in handleRequestStateResyncCallback()
292 EventLoopManagerSingleton::get()->deferCallback( in handleStatusChange()
306 !EventLoopManagerSingleton::get() in handleReportEvent()
311 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in handleReportEvent()
318 !EventLoopManagerSingleton::get()->deferCallback(type, event, callback)) { in handleReportEvent()
338 EventLoopManagerSingleton::get()->getSettingManager().getSettingEnabled( in updatePlatformRequest()
422 if (enable && !EventLoopManagerSingleton::get() in configure()
534 EventLoopManagerSingleton::get()->getEventLoop().findNanoappByInstanceId( in updateRequests()
568 !EventLoopManagerSingleton::get() in updateRequests()
[all …]
H A Daudio_request_manager.cc84 EventLoopManagerSingleton::get() in handleAudioDataEvent()
94 if (!EventLoopManagerSingleton::get()->deferCallback( in handleAudioDataEvent()
96 EventLoopManagerSingleton::get() in handleAudioDataEvent()
107 EventLoopManagerSingleton::get() in handleAudioAvailability()
112 EventLoopManagerSingleton::get()->deferCallback( in handleAudioAvailability()
222 (EventLoopManagerSingleton::get()->getSettingManager().getSettingEnabled( in doConfigureSource()
273 bool suspended = !EventLoopManagerSingleton::get() in createAudioRequest()
387 bool suspended = !EventLoopManagerSingleton::get() in handleAudioAvailabilitySync()
401 if (!EventLoopManagerSingleton::get()->getSettingManager().getSettingEnabled( in scheduleNextAudioDataEvent()
446 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in postAudioSamplingChangeEvent()
[all …]
H A Dsettings.cc58 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in sendSettingChangedNotification()
85 EventLoopManagerSingleton::get()->deferCallback( in postSettingChange()
127 EventLoopManagerSingleton::get()->getSettingManager().setSettingState( in settingChangedCallback()
134 EventLoopManagerSingleton::get()->getGnssManager().onSettingChanged( in settingChangedCallback()
139 EventLoopManagerSingleton::get()->getAudioRequestManager().onSettingChanged( in settingChangedCallback()
144 EventLoopManagerSingleton::get()->getBleRequestManager().onSettingChanged( in settingChangedCallback()
149 EventLoopManagerSingleton::get()->getWifiRequestManager().onSettingChanged( in settingChangedCallback()
H A Dwwan_request_manager.cc58 EventLoopManagerSingleton::get() in handleCellInfoResult()
63 EventLoopManagerSingleton::get()->deferCallback( in handleCellInfoResult()
79 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in handleCellInfoResultSync()
104 EventLoopManagerSingleton::get() in handleFreeCellInfoResult()
126 EventLoopManagerSingleton::get() in freeCellInfoResultCallback()
H A Ddebug_dump_manager.cc29 EventLoopManagerSingleton::get()->getDebugDumpManager(); in trigger()
35 EventLoopManagerSingleton::get()->deferCallback( in trigger()
39 EventLoopManagerSingleton::get() in trigger()
45 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in trigger()
73 auto *eventLoopManager = EventLoopManagerSingleton::get(); in collectFrameworkDebugDumps()
/aosp_15_r20/system/chre/platform/shared/
H A Dplatform_wifi.cc59 EventLoopManagerSingleton::get()->getTelemetryManager().onPalOpenFailure( in init()
181 EventLoopManagerSingleton::get()->getWifiRequestManager().handleRangingEvent( in rangingEventCallback()
187 EventLoopManagerSingleton::get() in scanMonitorStatusChangeCallback()
193 EventLoopManagerSingleton::get()->getWifiRequestManager().handleScanResponse( in scanResponseCallback()
198 EventLoopManagerSingleton::get()->getWifiRequestManager().handleScanEvent( in scanEventCallback()
205 EventLoopManagerSingleton::get() in nanServiceIdentifierCallback()
217 EventLoopManagerSingleton::get() in nanServiceDiscoveryCallback()
228 EventLoopManagerSingleton::get() in nanServiceLostCallback()
240 EventLoopManagerSingleton::get() in nanServiceTerminatedCallback()
252 EventLoopManagerSingleton::get() in nanServiceSubscriptionCanceledCallback()
H A Dchre_api_wifi.cc24 using chre::EventLoopManagerSingleton;
30 return EventLoopManagerSingleton::get() in chreWifiGetCapabilities()
43 EventLoopManagerSingleton::get() in chreWifiConfigureScanMonitorAsync()
57 EventLoopManagerSingleton::get()->getWifiRequestManager().requestScan( in chreWifiRequestScanAsync()
70 EventLoopManagerSingleton::get() in chreWifiRequestRangingAsync()
85 EventLoopManagerSingleton::get()->getWifiRequestManager().nanSubscribe( in chreWifiNanSubscribe()
97 EventLoopManagerSingleton::get() in chreWifiNanSubscribeCancel()
111 EventLoopManagerSingleton::get() in chreWifiNanRequestRangingAsync()
H A Dchre_api_ble.cc24 using chre::EventLoopManagerSingleton;
30 return EventLoopManagerSingleton::get() in chreBleGetCapabilities()
40 return EventLoopManagerSingleton::get() in chreBleGetFilterCapabilities()
52 EventLoopManagerSingleton::get()->getBleRequestManager().flushAsync( in chreBleFlushAsync()
66 EventLoopManagerSingleton::get() in chreBleStartScanAsyncV1_9()
97 EventLoopManagerSingleton::get()->getBleRequestManager().stopScanAsync( in chreBleStopScanAsyncV1_9()
114 EventLoopManagerSingleton::get()->getBleRequestManager().readRssiAsync( in chreBleReadRssiAsync()
127 EventLoopManagerSingleton::get()->getBleRequestManager().getScanStatus( in chreBleGetScanStatus()
H A Dchre_api_sensor.cc25 using chre::EventLoopManagerSingleton;
41 return EventLoopManagerSingleton::get() in chreSensorFind()
61 success = EventLoopManagerSingleton::get() in chreGetSensorInfo()
80 success = EventLoopManagerSingleton::get() in chreGetSensorSamplingStatus()
100 return EventLoopManagerSingleton::get() in chreSensorConfigure()
116 return EventLoopManagerSingleton::get() in chreSensorConfigureBiasEvents()
129 return EventLoopManagerSingleton::get() in chreSensorGetThreeAxisBias()
143 return EventLoopManagerSingleton::get()->getSensorRequestManager().flushAsync( in chreSensorFlushAsync()
H A Dchre_api_gnss.cc25 using chre::EventLoopManagerSingleton;
32 return EventLoopManagerSingleton::get()->getGnssManager().getCapabilities(); in chreGnssGetCapabilities()
45 EventLoopManagerSingleton::get() in chreGnssLocationSessionStartAsync()
60 EventLoopManagerSingleton::get() in chreGnssLocationSessionStopAsync()
74 EventLoopManagerSingleton::get() in chreGnssMeasurementSessionStartAsync()
89 EventLoopManagerSingleton::get() in chreGnssMeasurementSessionStopAsync()
103 EventLoopManagerSingleton::get() in chreGnssConfigurePassiveLocationListener()
H A Dchre_api_core.cc32 using chre::EventLoopManagerSingleton;
58 const EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in sendMessageToHost()
66 EventLoopManagerSingleton::get()->getHostCommsManager(); in sendMessageToHost()
89 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in chreSendEvent()
153 return EventLoopManagerSingleton::get() in chreGetNanoappInfoByAppId()
162 return EventLoopManagerSingleton::get() in chreGetNanoappInfoByInstanceId()
181 return EventLoopManagerSingleton::get() in chreIsHostAwake()
206 return EventLoopManagerSingleton::get() in chreGetHostEndpointInfo()
H A Dchre_api_re.cc27 using chre::EventLoopManagerSingleton;
86 return EventLoopManagerSingleton::get() in chreTimerSet()
94 return EventLoopManagerSingleton::get() in chreTimerCancel()
111 return EventLoopManagerSingleton::get()->getMemoryManager().nanoappAlloc( in chreHeapAlloc()
117 EventLoopManagerSingleton::get()->getMemoryManager().nanoappFree(nanoapp, in chreHeapFree()
124 EventLoopManagerSingleton::get()->getDebugDumpManager().appendNanoappLog( in platform_chreDebugDumpVaLog()
H A Dplatform_gnss.cc54 EventLoopManagerSingleton::get()->getTelemetryManager().onPalOpenFailure( in init()
97 EventLoopManagerSingleton::get() in requestStateResyncCallback()
104 EventLoopManagerSingleton::get() in locationStatusChangeCallback()
112 EventLoopManagerSingleton::get() in locationEventCallback()
148 EventLoopManagerSingleton::get() in measurementStatusChangeCallback()
156 EventLoopManagerSingleton::get() in measurementEventCallback()
H A Dplatform_ble.cc57 EventLoopManagerSingleton::get()->getTelemetryManager().onPalOpenFailure( in init()
115 EventLoopManagerSingleton::get() in requestStateResync()
122 EventLoopManagerSingleton::get()->getBleRequestManager().handlePlatformChange( in scanStatusChangeCallback()
128 EventLoopManagerSingleton::get() in advertisingEventCallback()
144 EventLoopManagerSingleton::get()->getBleRequestManager().handleReadRssi( in readRssiCallback()
158 EventLoopManagerSingleton::get()->getBleRequestManager().handleFlushComplete( in flushCallback()
/aosp_15_r20/system/chre/test/simulation/
H A Dsettings_test.cc128 EventLoopManagerSingleton::get()->deferCallback( in startTestNanoapp()
152 EventLoopManagerSingleton::get()->getSettingManager().postSettingChange( in TEST_F()
156 EventLoopManagerSingleton::get()->getSettingManager().getSettingEnabled( in TEST_F()
163 EventLoopManagerSingleton::get()->getSettingManager().postSettingChange( in TEST_F()
168 EventLoopManagerSingleton::get()->getSettingManager().getSettingEnabled( in TEST_F()
190 EventLoopManagerSingleton::get()->getSettingManager().postSettingChange( in TEST_F()
196 EventLoopManagerSingleton::get()->getSettingManager().postSettingChange( in TEST_F()
201 EventLoopManagerSingleton::get()->getSettingManager().getSettingEnabled( in TEST_F()
H A Dtest_base.cc67 EventLoopManagerSingleton::get()->lateInit(); in SetUp()
70 []() { EventLoopManagerSingleton::get()->getEventLoop().run(); }); in SetUp()
87 EventLoopManagerSingleton::get()->getEventLoop().stop(); in TearDown()
108 EventLoopManagerSingleton::get()->deferCallback( in TEST_F()
128 EXPECT_TRUE(EventLoopManagerSingleton::get() in TEST_F()
132 EXPECT_TRUE(EventLoopManagerSingleton::get() in TEST_F()
H A Dtest_util.cc189 EventLoopManagerSingleton::get()->deferCallback( in loadNanoapp()
208 if (EventLoopManagerSingleton::get() in sendEventToNanoapp()
214 EventLoopManagerSingleton::get()->getEventLoop().postEventOrDie( in sendEventToNanoapp()
227 EventLoopManagerSingleton::get()->deferCallback( in unloadNanoapp()
239 EventLoopManagerSingleton::get()->getEventLoop().startNanoapp(nanoapp); in testFinishLoadingNanoappCallback()
246 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in testFinishUnloadingNanoappCallback()
/aosp_15_r20/external/pigweed/third_party/chre/
H A Dintegration_test.cc38 EventLoopManagerSingleton::get()->lateInit(); in SetUp()
41 []() { EventLoopManagerSingleton::get()->getEventLoop().run(); }); in SetUp()
57 EventLoopManagerSingleton::get()->getEventLoop().stop(); in TearDown()
80 EventLoopManagerSingleton::get()->deferCallback( in TEST_F()
109 EXPECT_TRUE(EventLoopManagerSingleton::get() in TEST_F()
113 EXPECT_TRUE(EventLoopManagerSingleton::get() in TEST_F()
/aosp_15_r20/external/pigweed/pw_chre/
H A Dchre.cc27 ::chre::EventLoopManagerSingleton::get()->lateInit(); in Init()
34 ::chre::EventLoopManagerSingleton::get()->getEventLoop().run(); in RunEventLoop()
38 ::chre::EventLoopManagerSingleton::get()->getEventLoop().stop(); in StopEventLoop()
43 ::chre::EventLoopManagerSingleton::get()->getHostCommsManager(); in SendMessageToNanoapp()
53 ::chre::EventLoopManagerSingleton::get()->getHostCommsManager(); in FreeMessageToAp()
/aosp_15_r20/system/chre/platform/linux/
H A Dinit.cc38 using chre::EventLoopManagerSingleton;
54 EventLoopManagerSingleton::get()->getEventLoop().stop(); in signalHandler()
109 EventLoopManagerSingleton::get()->lateInit(); in main()
121 EventLoopManagerSingleton::get()->getEventLoop().startNanoapp( in main()
125 EventLoopManagerSingleton::get()->getEventLoop().run(); in main()

1234