Searched refs:requestIds (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | LongPendingRequestPool.java | 64 List<Long> requestIds = mTimeoutUptimeMsToRequestIds.get(timeoutUptimeMs); in handleMessage() local 65 if (requestIds == null) { in handleMessage() 70 requestIdsCopy = new ArrayList<>(requestIds); in handleMessage() 91 void onRequestsTimeout(List<Long> requestIds); in onRequestsTimeout() argument 136 List<Long> requestIds = mTimeoutUptimeMsToRequestIds.get(timeoutUptimeMs); in addPendingRequests() local 137 requestIds.add(requestId); in addPendingRequests() 139 if (requestIds.size() == 1) { in addPendingRequests() 173 List<Long> requestIds = mTimeoutUptimeMsToRequestIds.get(timeoutUptimeMs); in removeRequest() local 174 if (requestIds == null) { in removeRequest() 178 if (!requestIds.remove(Long.valueOf(requestId))) { in removeRequest() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/ |
D | PendingRequestPoolUnitTest.java | 66 public void onRequestsTimeout(List<Long> requestIds) { in onRequestsTimeout() argument 68 for (int i = 0; i < requestIds.size(); i++) { in onRequestsTimeout() 69 mTimeoutRequestIds.add(requestIds.get(i)); in onRequestsTimeout()
|
/packages/services/Car/cpp/vhal/client/src/ |
D | AidlVhalClient.cpp | 277 [this](const std::unordered_set<int64_t>& requestIds) { in GetSetValueClient() argument 278 onTimeout(requestIds, &mPendingGetValueCallbacks); in GetSetValueClient() 281 [this](const std::unordered_set<int64_t>& requestIds) { in GetSetValueClient() argument 282 onTimeout(requestIds, &mPendingSetValueCallbacks); in GetSetValueClient() 524 void GetSetValueClient::onTimeout(const std::unordered_set<int64_t>& requestIds, in onTimeout() argument 526 for (int64_t requestId : requestIds) { in onTimeout() 548 const std::unordered_set<int64_t>& requestIds, 551 const std::unordered_set<int64_t>& requestIds,
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPropertyManagerTest.java | 1192 Set<Integer> requestIds = new ArraySet(); in testGetPropertiesAsync() local 1207 requestIds.add(vinRequest.getRequestId()); in testGetPropertiesAsync() 1208 requestIds.add(hvacTempDriverRequest.getRequestId()); in testGetPropertiesAsync() 1209 requestIds.add(hvacTempPsgRequest.getRequestId()); in testGetPropertiesAsync() 1231 requestIds.add(errorRequest.getRequestId()); in testGetPropertiesAsync() 1241 requestIds.add(unavailableDriverRequest.getRequestId()); in testGetPropertiesAsync() 1247 requestIds.add(unavailablePsgRequest.getRequestId()); in testGetPropertiesAsync() 1251 requestIds); in testGetPropertiesAsync() 1311 Set<Integer> requestIds = new ArraySet(); in testSetPropertiesAsync() local 1334 requestIds.add(fuelDoorOpenRequest.getRequestId()); in testSetPropertiesAsync() [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 2971 List<Integer> requestIds) { in setOnCancelListener() argument 2973 int[] requestIdsArray = new int[requestIds.size()]; in setOnCancelListener() 2975 for (int i = 0; i < requestIds.size(); i++) { in setOnCancelListener() 2976 int requestId = requestIds.get(i); in setOnCancelListener() 3107 List<Integer> requestIds = storePendingRequestInfo(getPropertyRequests, callbackExecutor, in getPropertiesAsync() local 3127 setOnCancelListener(cancellationSignal, requestIds); in getPropertiesAsync() 3225 List<Integer> requestIds = storePendingRequestInfo(setPropertyRequests, callbackExecutor, in setPropertiesAsync() local 3245 setOnCancelListener(cancellationSignal, requestIds); in setPropertiesAsync() 3277 List<Integer> requestIds = new ArrayList<>(); in storePendingRequestInfo() local 3285 requestIds.add(requestId); in storePendingRequestInfo() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | VehicleStub.java | 387 public void cancelRequests(List<Integer> requestIds) {} in cancelRequests() argument
|
/packages/services/Car/cpp/vhal/client/include/ |
D | AidlVhalClient.h | 233 void onTimeout(const std::unordered_set<int64_t>& requestIds,
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPropertyServiceUnitTest.java | 1629 int[] requestIds = new int[]{1, 2}; in testCancelRequests() local 1631 mService.cancelRequests(requestIds); in testCancelRequests() 1633 verify(mHalService).cancelRequests(requestIds); in testCancelRequests()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VehicleHalTest.java | 2251 List<Integer> requestIds = mock(List.class); 2253 mVehicleHal.cancelRequests(requestIds); 2255 verify(mVehicle).cancelRequests(requestIds);
|