Home
last modified time | relevance | path

Searched refs:GetVehicleStubAsyncResult (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DVehicleStub.java102 public static final class GetVehicleStubAsyncResult { class in VehicleStub
137 public GetVehicleStubAsyncResult(int serviceRequestId, HalPropValue halPropValue) { in GetVehicleStubAsyncResult() method in VehicleStub.GetVehicleStubAsyncResult
146 public GetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in GetVehicleStubAsyncResult() method in VehicleStub.GetVehicleStubAsyncResult
207 List<GetVehicleStubAsyncResult> getVehicleStubAsyncResults); in onGetAsyncResults()
DAidlVehicleStub.java871 AsyncResultsHandler<GetValueResult, GetVehicleStubAsyncResult> {
877 List<GetVehicleStubAsyncResult>>(); in AsyncGetResultsHandler()
883 addVehicleStubResult(callback, new GetVehicleStubAsyncResult(serviceRequestId, in addErrorResult()
895 for (Map.Entry<VehicleStubCallbackInterface, List<GetVehicleStubAsyncResult>> entry : in callVehicleStubCallback()
906 private GetVehicleStubAsyncResult toVehicleStubResult(int serviceRequestId, in toVehicleStubResult()
911 return new GetVehicleStubAsyncResult(serviceRequestId, carPropertyErrorCodes); in toVehicleStubResult()
914 return new GetVehicleStubAsyncResult(serviceRequestId, in toVehicleStubResult()
920 return new GetVehicleStubAsyncResult(serviceRequestId, in toVehicleStubResult()
DHidlVehicleStub.java271 List.of(new GetVehicleStubAsyncResult(serviceRequestId, halPropValue))); in getAsync()
311 List.of(new GetVehicleStubAsyncResult(serviceRequestId, errorCodes))); in callGetAsyncErrorCallback()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java60 import com.android.car.VehicleStub.GetVehicleStubAsyncResult;
145 private ArgumentCaptor<List<GetVehicleStubAsyncResult>> mGetVehicleStubAsyncResultCaptor;
644 List<GetVehicleStubAsyncResult> getAsyncResult = captureOnGetAsyncResults(); in testGetAsyncMethodForSingleValue()
645 GetVehicleStubAsyncResult asyncResult = getAsyncResult.get(0); in testGetAsyncMethodForSingleValue()
669 List<GetVehicleStubAsyncResult> getAsyncResult = captureOnGetAsyncResults(); in testGetAsyncMethodForSingleValueNoReadPermissionError()
670 GetVehicleStubAsyncResult asyncResult = getAsyncResult.get(0); in testGetAsyncMethodForSingleValueNoReadPermissionError()
691 List<GetVehicleStubAsyncResult> getAsyncResult = captureOnGetAsyncResults(); in testGetAsyncForPropNotAvailable()
692 GetVehicleStubAsyncResult asyncResult = getAsyncResult.get(0); in testGetAsyncForPropNotAvailable()
711 List<GetVehicleStubAsyncResult> getAsyncResult = captureOnGetAsyncResults(); in testGetAsyncForSpecialPropInternalError()
712 GetVehicleStubAsyncResult asyncResult = getAsyncResult.get(0); in testGetAsyncForSpecialPropInternalError()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java431 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidl()
470 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlError()
492 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionInternalError()
505 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionTryAgainError()
518 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailable()
531 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailableDisabled()
544 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailableSpeedLow()
557 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailableSpeedHigh()
571 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailablePoorVisibility()
584 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncAidlServiceSpecificExceptionNotAvailableSafety()
[all …]
DHidlVehicleStubUnitTest.java404 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsync()
424 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncError()
447 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncTryAgainError()
477 ArgumentCaptor<List<VehicleStub.GetVehicleStubAsyncResult>> argumentCaptor = in testGetAsyncOneOkayResultOneNoValue()
484 List<VehicleStub.GetVehicleStubAsyncResult> callResult0 = argumentCaptor.getAllValues() in testGetAsyncOneOkayResultOneNoValue()
490 List<VehicleStub.GetVehicleStubAsyncResult> callResult1 = argumentCaptor.getAllValues() in testGetAsyncOneOkayResultOneNoValue()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java192 List<GetVehicleStubAsyncResult> onGetAsyncResultList = new ArrayList<>(); in getAsync()
195 GetVehicleStubAsyncResult result; in getAsync()
198 result = new GetVehicleStubAsyncResult(request.getServiceRequestId(), in getAsync()
201 result = new GetVehicleStubAsyncResult(request.getServiceRequestId(), in getAsync()
210 result = new GetVehicleStubAsyncResult(request.getServiceRequestId(), in getAsync()
213 result = new GetVehicleStubAsyncResult(request.getServiceRequestId(), in getAsync()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java69 import com.android.car.VehicleStub.GetVehicleStubAsyncResult;
257 Map<VehicleStubCallbackInterface, List<GetVehicleStubAsyncResult>> callbackToGetResults = in deliverResult()
279 callbackToGetResults.get(callback).add(new GetVehicleStubAsyncResult( in deliverResult()
282 callbackToGetResults.get(callback).add(new GetVehicleStubAsyncResult( in deliverResult()
770 List<GetVehicleStubAsyncResult> getVehicleStubAsyncResults = in testGetCarPropertyValuesAsync_multipleResultsSameCall()
773 new GetVehicleStubAsyncResult(RECEIVED_REQUEST_ID_1, mPropValue)); in testGetCarPropertyValuesAsync_multipleResultsSameCall()
775 new GetVehicleStubAsyncResult(RECEIVED_REQUEST_ID_2, mPropValue)); in testGetCarPropertyValuesAsync_multipleResultsSameCall()
821 List.of(new GetVehicleStubAsyncResult(RECEIVED_REQUEST_ID_1, in testGetCarPropertyValuesAsync_multipleResultsDifferentCalls()
824 List.of(new GetVehicleStubAsyncResult(RECEIVED_REQUEST_ID_2, in testGetCarPropertyValuesAsync_multipleResultsDifferentCalls()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java74 import com.android.car.VehicleStub.GetVehicleStubAsyncResult;
599 GetVehicleStubAsyncResult getVehicleStubAsyncResult, in parseGetAsyncResults()
657 List<GetVehicleStubAsyncResult> getVehicleStubAsyncResults) { in onGetAsyncResults()
666 GetVehicleStubAsyncResult getVehicleStubAsyncResult = in onGetAsyncResults()