Home
last modified time | relevance | path

Searched refs:cbState (Results 1 – 3 of 3) sorted by relevance

/system/chre/core/
Dwifi_request_manager.cc169 auto *cbState = memoryAlloc<CallbackState>(); in handleScanMonitorStateChange() local
170 if (cbState == nullptr) { in handleScanMonitorStateChange()
173 cbState->enabled = enabled; in handleScanMonitorStateChange()
174 cbState->errorCode = errorCode; in handleScanMonitorStateChange()
184 SystemCallbackType::WifiScanMonitorStateChange, cbState, callback); in handleScanMonitorStateChange()
195 auto *cbState = memoryAlloc<CallbackState>(); in handleScanResponse() local
196 if (cbState == nullptr) { in handleScanResponse()
199 cbState->pending = pending; in handleScanResponse()
200 cbState->errorCode = errorCode; in handleScanResponse()
210 SystemCallbackType::WifiRequestScanResponse, cbState, callback); in handleScanResponse()
Dgnss_manager.cc90 auto *cbState = memoryAlloc<CallbackState>(); in handleStatusChange() local
91 if (cbState == nullptr) { in handleStatusChange()
94 cbState->enabled = enabled; in handleStatusChange()
95 cbState->errorCode = errorCode; in handleStatusChange()
96 cbState->session = this; in handleStatusChange()
105 SystemCallbackType::GnssSessionStatusChange, cbState, callback); in handleStatusChange()
Daudio_request_manager.cc89 auto *cbState = memoryAlloc<CallbackState>(); in handleAudioAvailability() local
90 if (cbState == nullptr) { in handleAudioAvailability()
93 cbState->handle = handle; in handleAudioAvailability()
94 cbState->available = available; in handleAudioAvailability()
104 SystemCallbackType::AudioAvailabilityChange, cbState, callback); in handleAudioAvailability()