Home
last modified time | relevance | path

Searched refs:serviceRequestId (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DVehicleStub.java91 public AsyncGetSetRequest(int serviceRequestId, HalPropValue halPropValue, in AsyncGetSetRequest() argument
93 mServiceRequestId = serviceRequestId; in AsyncGetSetRequest()
137 public GetVehicleStubAsyncResult(int serviceRequestId, HalPropValue halPropValue) { in GetVehicleStubAsyncResult() argument
138 mServiceRequestId = serviceRequestId; in GetVehicleStubAsyncResult()
146 public GetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in GetVehicleStubAsyncResult() argument
147 mServiceRequestId = serviceRequestId; in GetVehicleStubAsyncResult()
185 public SetVehicleStubAsyncResult(int serviceRequestId) { in SetVehicleStubAsyncResult() argument
186 mServiceRequestId = serviceRequestId; in SetVehicleStubAsyncResult()
193 public SetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in SetVehicleStubAsyncResult() argument
194 mServiceRequestId = serviceRequestId; in SetVehicleStubAsyncResult()
DHidlVehicleStub.java238 int serviceRequestId = getVehicleStubAsyncRequest.getServiceRequestId(); in getAsync() local
245 callGetAsyncErrorCallback(carPropertyErrorCodes, serviceRequestId, in getAsync()
256 serviceRequestId, getVehicleStubAsyncCallback); in getAsync()
266 serviceRequestId, getVehicleStubAsyncCallback); in getAsync()
271 List.of(new GetVehicleStubAsyncResult(serviceRequestId, halPropValue))); in getAsync()
282 int serviceRequestId = setVehicleStubAsyncRequest.getServiceRequestId(); in setAsync() local
286 List.of(new SetVehicleStubAsyncResult(serviceRequestId))); in setAsync()
292 serviceRequestId, in setAsync()
302 serviceRequestId, setVehicleStubAsyncCallback); in setAsync()
308 private void callGetAsyncErrorCallback(CarPropertyErrorCodes errorCodes, int serviceRequestId, in callGetAsyncErrorCallback() argument
[all …]
DAidlVehicleStub.java125 int serviceRequestId, in AsyncRequestInfo() argument
129 mServiceRequestId = serviceRequestId; in AsyncRequestInfo()
481 int serviceRequestId = mPendingRequestPool.valueAt(i) in cancelRequests() local
483 if (serviceRequestIdsSet.contains(serviceRequestId)) { in cancelRequests()
553 abstract void addErrorResult(VehicleStubCallbackInterface callback, int serviceRequestId, in addErrorResult() argument
558 abstract void addVhalResult(VehicleStubCallbackInterface callback, int serviceRequestId, in addVhalResult() argument
881 void addErrorResult(VehicleStubCallbackInterface callback, int serviceRequestId, in addErrorResult() argument
883 addVehicleStubResult(callback, new GetVehicleStubAsyncResult(serviceRequestId, in addErrorResult()
888 void addVhalResult(VehicleStubCallbackInterface callback, int serviceRequestId, in addVhalResult() argument
890 addVehicleStubResult(callback, toVehicleStubResult(serviceRequestId, result)); in addVhalResult()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java299 void setServiceRequestId(int serviceRequestId) { in setServiceRequestId() argument
300 mServiceRequestId = serviceRequestId; in setServiceRequestId()
432 int serviceRequestId = serviceRequestIds.get(i).intValue(); in onRequestsTimeout() local
434 getPendingAsyncPropRequestInfoLocked(serviceRequestId); in onRequestsTimeout()
437 serviceRequestId); in onRequestsTimeout()
444 callbackToRequestIds.get(callback).add(serviceRequestId); in onRequestsTimeout()
668 int serviceRequestId = getVehicleStubAsyncResult.getServiceRequestId(); in onGetAsyncResults() local
670 getAndRemovePendingAsyncPropRequestInfoLocked(serviceRequestId); in onGetAsyncResults()
673 serviceRequestId); in onGetAsyncResults()
762 int serviceRequestId = setVehicleStubAsyncResult.getServiceRequestId(); in onSetAsyncResults() local
[all …]
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java238 int serviceRequestId = setRequest.getServiceRequestId(); in setAsync() local
242 result = new SetVehicleStubAsyncResult(serviceRequestId); in setAsync()
244 result = new SetVehicleStubAsyncResult(serviceRequestId, in setAsync()
252 result = new SetVehicleStubAsyncResult(serviceRequestId, carPropertyErrorCodes); in setAsync()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java272 int serviceRequestId = getVehicleHalRequest.getServiceRequestId(); in deliverResult() local
274 assertThat(serviceRequestId).isEqualTo(expectedServiceRequestId); in deliverResult()
280 serviceRequestId, propValue)); in deliverResult()
283 serviceRequestId, carPropertyErrorCodes)); in deliverResult()
287 serviceRequestId, carPropertyErrorCodes)); in deliverResult()