Home
last modified time | relevance | path

Searched refs:requestIndex (Results 1 – 5 of 5) sorted by relevance

/system/chre/core/
Dgnss_manager.cc143 size_t requestIndex = 0; in configure() local
144 bool hasRequest = nanoappHasRequest(instanceId, &requestIndex); in configure()
148 requestIndex)) { in configure()
168 uint32_t instanceId, size_t *requestIndex) const { in nanoappHasRequest()
173 if (requestIndex != nullptr) { in nanoappHasRequest()
174 *requestIndex = i; in nanoappHasRequest()
207 size_t requestIndex) const { in stateTransitionIsRequired()
224 const auto& currentRequest = mRequests[requestIndex]; in stateTransitionIsRequired()
227 if (i != requestIndex in stateTransitionIsRequired()
249 size_t requestIndex; in updateRequests() local
[all …]
Daudio_request_manager.cc180 size_t requestIndex; in doConfigureSource() local
183 handle, instanceId, &requestIndex, &requestInstanceIdIndex); in doConfigureSource()
204 requestList.requests.erase(requestIndex); in doConfigureSource()
Dsensor_request_manager.cc147 size_t requestIndex; in setSensorRequest() local
150 &requestIndex) != nullptr); in setSensorRequest()
159 success = requests.remove(requestIndex, &requestChanged); in setSensorRequest()
207 success = requests.update(requestIndex, sensorRequest, &requestChanged); in setSensorRequest()
/system/core/libutils/
DLooper.cpp288 ssize_t requestIndex = mRequests.indexOfKey(fd); in pollInner() local
289 if (requestIndex >= 0) { in pollInner()
295 pushResponse(events, mRequests.valueAt(requestIndex)); in pollInner()
465 ssize_t requestIndex = mRequests.indexOfKey(fd); in addFd() local
466 if (requestIndex < 0) { in addFd()
507 mRequests.replaceValueAt(requestIndex, request); in addFd()
524 ssize_t requestIndex = mRequests.indexOfKey(fd); in removeFd() local
525 if (requestIndex < 0) { in removeFd()
530 if (seq != -1 && mRequests.valueAt(requestIndex).seq != seq) { in removeFd()
533 this, mRequests.valueAt(requestIndex).seq); in removeFd()
[all …]
/system/chre/core/include/chre/core/
Dgnss_manager.h187 bool nanoappHasRequest(uint32_t instanceId, size_t *requestIndex = nullptr)
223 size_t requestIndex) const;