Home
last modified time | relevance | path

Searched refs:mRequests (Results 1 – 11 of 11) sorted by relevance

/system/chre/core/include/chre/core/
Drequest_multiplexer_impl.h32 bool requestStored = mRequests.push_back(request); in addRequest()
34 *index = (mRequests.size() - 1); in addRequest()
48 bool requestStored = mRequests.push_back(std::move(request)); in addRequest()
50 *index = (mRequests.size() - 1); in addRequest()
51 *maximalRequestChanged = mCurrentMaximalRequest.mergeWith(mRequests.back()); in addRequest()
61 CHRE_ASSERT(index < mRequests.size()); in updateRequest()
63 if (index < mRequests.size()) { in updateRequest()
64 mRequests[index] = request; in updateRequest()
73 CHRE_ASSERT(index < mRequests.size()); in updateRequest()
75 if (index < mRequests.size()) { in updateRequest()
[all …]
Drequest_multiplexer.h65 mRequests = std::move(other.mRequests);
150 DynamicVector<RequestType> mRequests;
Dble_request_manager.h205 BleRequestMultiplexer mRequests;
Dgnss_manager.h209 DynamicVector<Request> mRequests; variable
/system/chre/core/
Dble_request_multiplexer.cc24 return mRequests; in getMutableRequests()
29 for (size_t i = 0; i < mRequests.size(); i++) { in findRequest()
30 if (mRequests[i].getInstanceId() == instanceId) { in findRequest()
32 return &mRequests[i]; in findRequest()
39 for (const BleRequest &request : mRequests) { in hasRequests()
50 while (index < mRequests.size()) { in removeRequests()
51 if (mRequests[index].getRequestStatus() == status) { in removeRequests()
52 mRequests.erase(index); in removeRequests()
71 while (index < mRequests.size()) { in removeDisabledRequests()
72 BleRequest &request = mRequests[index]; in removeDisabledRequests()
[all …]
Dble_request_manager.cc43 mRequests.findRequest(instanceId, requestIndex); in handleExistingRequest()
64 mRequests.removeRequest(requestIndex, &requestChanged); in compliesWithBleSetting()
76 mRequests.updateRequest(*requestIndex, std::move(request), requestChanged); in updateRequests()
79 mRequests.addRequest(std::move(request), requestIndex, requestChanged); in updateRequests()
83 *requestIndex = mRequests.getRequests().size(); in updateRequests()
108 mRequests.findRequest(nanoapp->getInstanceId(), &requestIndex); in disableActiveScan()
151 log.populateRequestData(mRequests.getCurrentMaximalRequest()); in addBleRequestLog()
153 log.populateRequestData(mRequests.getRequests()[requestIndex]); in addBleRequestLog()
178 if (requestIndex < mRequests.getRequests().size()) { in configure()
179 mRequests.getMutableRequests()[requestIndex].setRequestStatus( in configure()
[all …]
Dgnss_manager.cc255 if (!mRequests.reserve(1)) { in GnssSession()
294 if (mRequests.empty()) { in handleReportEvent()
337 bool desiredPlatformState = enabled && !mRequests.empty(); in updatePlatformRequest()
375 for (const auto &request : mRequests) { in logStateToBuffer()
449 for (size_t i = 0; i < mRequests.size(); i++) { in nanoappHasRequest()
450 if (mRequests[i].nanoappInstanceId == instanceId) { in nanoappHasRequest()
485 return !mRequests.empty(); in isEnabled()
496 (!requestedState && nanoappHasRequest && mRequests.size() == 1); in stateTransitionIsRequired()
508 const auto &currentRequest = mRequests[requestIndex]; in stateTransitionIsRequired()
509 for (size_t i = 0; i < mRequests.size(); i++) { in stateTransitionIsRequired()
[all …]
/system/core/libutils/
DLooper.cpp164 for (const auto& [seq, request] : mRequests) { in rebuildEpollLocked()
298 const auto& request_it = mRequests.find(seq); in pollInner()
299 if (request_it != mRequests.end()) { in pollInner()
481 mRequests.emplace(seq, request); in addFd()
518 mRequests.erase(oldSeq); in addFd()
519 mRequests.emplace(seq, request); in addFd()
540 const auto& request_it = mRequests.find(seq); in removeSequenceNumberLocked()
541 if (request_it == mRequests.end()) { in removeSequenceNumberLocked()
548 mRequests.erase(request_it); in removeSequenceNumberLocked()
/system/core/libutils/include/utils/
DLooper.h471 std::unordered_map<SequenceNumber, Request> mRequests; // guarded by mLock variable
/system/core/libutils/abi-dumps/arm64/source-based/
Dlibutils.so.lsdump14497 "field_name" : "mRequests",
/system/core/libutils/abi-dumps/arm_arm64/source-based/
Dlibutils.so.lsdump14493 "field_name" : "mRequests",