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 …]
Dsensor_request_manager.cc140 size_t requestIndex; in setSensorRequest() local
143 &requestIndex) != nullptr); in setSensorRequest()
152 success = requests.remove(requestIndex, &requestChanged); in setSensorRequest()
199 success = requests.update(requestIndex, sensorRequest, &requestChanged); in setSensorRequest()
Daudio_request_manager.cc168 size_t requestIndex; in doConfigureSource() local
171 handle, instanceId, &requestIndex, &requestInstanceIdIndex); in doConfigureSource()
192 requestList.requests.erase(requestIndex); in doConfigureSource()
/system/core/libutils/
DLooper.cpp286 ssize_t requestIndex = mRequests.indexOfKey(fd); in pollInner() local
287 if (requestIndex >= 0) { in pollInner()
293 pushResponse(events, mRequests.valueAt(requestIndex)); in pollInner()
463 ssize_t requestIndex = mRequests.indexOfKey(fd); in addFd() local
464 if (requestIndex < 0) { in addFd()
505 mRequests.replaceValueAt(requestIndex, request); in addFd()
522 ssize_t requestIndex = mRequests.indexOfKey(fd); in removeFd() local
523 if (requestIndex < 0) { in removeFd()
528 if (seq != -1 && mRequests.valueAt(requestIndex).seq != seq) { in removeFd()
531 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;