Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DVehicleStub.java156 public static final class SetVehicleStubAsyncResult { class in VehicleStub
185 public SetVehicleStubAsyncResult(int serviceRequestId) { in SetVehicleStubAsyncResult() method in VehicleStub.SetVehicleStubAsyncResult
193 public SetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in SetVehicleStubAsyncResult() method in VehicleStub.SetVehicleStubAsyncResult
213 List<SetVehicleStubAsyncResult> setVehicleStubAsyncResults); in onSetAsyncResults()
DAidlVehicleStub.java926 AsyncResultsHandler<SetValueResult, SetVehicleStubAsyncResult> {
929 List<SetVehicleStubAsyncResult>>(); in AsyncSetResultsHandler()
936 new SetVehicleStubAsyncResult(serviceRequestId, errorCodes)); in addErrorResult()
948 for (Map.Entry<VehicleStubCallbackInterface, List<SetVehicleStubAsyncResult>> entry : in callVehicleStubCallback()
959 private SetVehicleStubAsyncResult toVehicleStubResult(int serviceRequestId, in toVehicleStubResult()
964 return new SetVehicleStubAsyncResult(serviceRequestId, carPropertyErrorCodes); in toVehicleStubResult()
966 return new SetVehicleStubAsyncResult(serviceRequestId); in toVehicleStubResult()
DHidlVehicleStub.java286 List.of(new SetVehicleStubAsyncResult(serviceRequestId))); in setAsync()
317 List.of(new SetVehicleStubAsyncResult(serviceRequestId, errorCodes))); in callSetAsyncErrorCallback()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java1090 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsync()
1106 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncRemoteException()
1123 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionTryAgain()
1140 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionNotAvailable()
1157 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionNotAvailableDisabled()
1174 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionNotAvailableSpeedLow()
1192 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionNotAvailableSpeedHigh()
1210 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionNotAvailablePoorVisibility()
1227 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionNotAvailableSafety()
1245 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionVendorErrorCode()
DHidlVehicleStubUnitTest.java537 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsync()
554 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncRemoteException()
572 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionTryAgain()
590 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionNotAvailable()
608 ArgumentCaptor<List<VehicleStub.SetVehicleStubAsyncResult>> argumentCaptor = in testSetAsyncServiceSpecificExceptionInternal()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java61 import com.android.car.VehicleStub.SetVehicleStubAsyncResult;
147 private ArgumentCaptor<List<SetVehicleStubAsyncResult>> mSetVehicleStubAsyncResultCaptor;
1012 List<SetVehicleStubAsyncResult> setAsyncResult = captureOnSetAsyncResults(); in testSetAsyncForSingleProp()
1018 SetVehicleStubAsyncResult setVehicleStubAsyncResult = setAsyncResult.get(0); in testSetAsyncForSingleProp()
1050 List<SetVehicleStubAsyncResult> setAsyncResult = captureOnSetAsyncResults(); in testSetAsyncGlobalPropWithAreaIdSetValueOutOfRange()
1051 SetVehicleStubAsyncResult setVehicleStubAsyncResult = setAsyncResult.get(0); in testSetAsyncGlobalPropWithAreaIdSetValueOutOfRange()
1073 List<SetVehicleStubAsyncResult> setAsyncResult = captureOnSetAsyncResults(); in testSetAsyncForSpecialPropRemoteException()
1074 SetVehicleStubAsyncResult setVehicleStubAsyncResult = setAsyncResult.get(0); in testSetAsyncForSpecialPropRemoteException()
1107 List<SetVehicleStubAsyncResult> setAsyncResult = captureOnSetAsyncResults(); in testSetAsyncOnMultipleRequests()
1108 SetVehicleStubAsyncResult setVehicleStubAsyncResult1 = setAsyncResult.get(0); in testSetAsyncOnMultipleRequests()
[all …]
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java235 List<SetVehicleStubAsyncResult> onSetAsyncResultsList = new ArrayList<>(); in setAsync()
239 SetVehicleStubAsyncResult result; in setAsync()
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/service/src/com/android/car/hal/
DPropertyHalService.java75 import com.android.car.VehicleStub.SetVehicleStubAsyncResult;
755 List<SetVehicleStubAsyncResult> setVehicleStubAsyncResults) { in onSetAsyncResults()
760 SetVehicleStubAsyncResult setVehicleStubAsyncResult = in onSetAsyncResults()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java70 import com.android.car.VehicleStub.SetVehicleStubAsyncResult;
259 Map<VehicleStubCallbackInterface, List<SetVehicleStubAsyncResult>> callbackToSetResults = in deliverResult()
286 callbackToSetResults.get(callback).add(new SetVehicleStubAsyncResult( in deliverResult()