Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DAidlVehicleStub.java412 private final LongPendingRequestPool<AsyncRequestInfo> mPendingRequestPool; field in AidlVehicleStub.PendingAsyncRequestPool
416 mPendingRequestPool = new LongPendingRequestPool<>(mLooper, mTimeoutCallback); in PendingAsyncRequestPool()
452 mPendingRequestPool.addPendingRequests(requestInfo); in addRequests()
458 AsyncRequestInfo requestInfo = mPendingRequestPool.getRequestIfFound(vhalRequestId); in finishRequestIfFound()
459 mPendingRequestPool.removeRequest(vhalRequestId); in finishRequestIfFound()
466 return mPendingRequestPool.size(); in size()
472 return mPendingRequestPool.getRequestIfFound(vhalRequestId) != null; in contains()
480 for (int i = 0; i < mPendingRequestPool.size(); i++) { in cancelRequests()
481 int serviceRequestId = mPendingRequestPool.valueAt(i) in cancelRequests()
484 vhalRequestIdsToCancel.add(mPendingRequestPool.keyAt(i)); in cancelRequests()
[all …]
/packages/services/Car/cpp/vhal/client/src/
DAidlVhalClient.cpp275 mPendingRequestPool = std::make_unique<PendingRequestPool>(timeoutInNs); in GetSetValueClient()
288 mPendingRequestPool.reset(); in ~GetSetValueClient()
377 mPendingRequestPool->addRequests(/*clientId=*/nullptr, {requestId}, mOnGetValueTimeout); in addGetValueRequest()
390 mPendingRequestPool->addRequests(/*clientId=*/nullptr, {requestId}, mOnSetValueTimeout); in addSetValueRequest()
408 auto finished = mPendingRequestPool->tryFinishRequests(/*clientId=*/nullptr, {requestId}); in tryFinishRequest()
/packages/services/Car/cpp/vhal/client/include/
DAidlVhalClient.h202 std::unique_ptr<hardware::automotive::vehicle::PendingRequestPool> mPendingRequestPool; variable