Home
last modified time | relevance | path

Searched refs:AsyncGetSetRequest (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java67 import com.android.car.VehicleStub.AsyncGetSetRequest;
130 private AsyncGetSetRequest defaultVehicleStubAsyncRequest(HalPropValue value) { in defaultVehicleStubAsyncRequest()
131 return new AsyncGetSetRequest(/* serviceRequestId=*/ 0, value, in defaultVehicleStubAsyncRequest()
427 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsyncAidl()
466 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsyncAidlError()
480 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest( in createGetAsyncAidlException()
635 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsyncAidlBinderDiedAfterRegisterCallback()
671 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsyncAidlBinderDiedWhileRegisterCallback()
696 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsyncAidlBinderDiedBeforeRegisterCallback()
713 AsyncGetSetRequest getVehicleStubAsyncRequest1 = new AsyncGetSetRequest( in testGetAsyncAidlTimeout()
[all …]
DHidlVehicleStubUnitTest.java50 import com.android.car.VehicleStub.AsyncGetSetRequest;
102 private AsyncGetSetRequest defaultVehicleStubAsyncRequest(HalPropValue value) { in defaultVehicleStubAsyncRequest()
103 return new AsyncGetSetRequest(/* serviceRequestId=*/ 0, value, /* timeoutUptimeMs= */ 1000); in defaultVehicleStubAsyncRequest()
400 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsync()
423 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsyncError()
446 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest(value); in testGetAsyncTryAgainError()
474 AsyncGetSetRequest request0 = defaultVehicleStubAsyncRequest(TEST_PROP_VALUE); in testGetAsyncOneOkayResultOneNoValue()
475 AsyncGetSetRequest request1 = new AsyncGetSetRequest( in testGetAsyncOneOkayResultOneNoValue()
532 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest( in testSetAsync()
549 AsyncGetSetRequest getVehicleStubAsyncRequest = defaultVehicleStubAsyncRequest( in testSetAsyncRemoteException()
[all …]
/packages/services/Car/service/src/com/android/car/
DVehicleStub.java71 public static class AsyncGetSetRequest { class in VehicleStub
91 public AsyncGetSetRequest(int serviceRequestId, HalPropValue halPropValue, in AsyncGetSetRequest() method in VehicleStub.AsyncGetSetRequest
231 public abstract void getAsync(List<AsyncGetSetRequest> getVehicleStubAsyncRequests, in getAsync()
237 public abstract void setAsync(List<AsyncGetSetRequest> setVehicleStubAsyncRequests, in setAsync()
DHidlVehicleStub.java233 public void getAsync(List<AsyncGetSetRequest> getVehicleStubAsyncRequests, in getAsync()
237 AsyncGetSetRequest getVehicleStubAsyncRequest = getVehicleStubAsyncRequests.get(i); in getAsync()
277 public void setAsync(List<AsyncGetSetRequest> setVehicleStubAsyncRequests, in setAsync()
281 AsyncGetSetRequest setVehicleStubAsyncRequest = setVehicleStubAsyncRequests.get(i); in setAsync()
DAidlVehicleStub.java346 public void getAsync(List<AsyncGetSetRequest> getVehicleStubAsyncRequests, in getAsync()
353 public void setAsync(List<AsyncGetSetRequest> setVehicleStubAsyncRequests, in setAsync()
1022 List<AsyncGetSetRequest> vehicleStubAsyncRequests, in getOrSetAsync()
1065 List<AsyncGetSetRequest> vehicleStubRequests, in prepareAndConvertAsyncRequests()
1092 AsyncGetSetRequest vehicleStubRequest = vehicleStubRequests.get(i); in prepareAndConvertAsyncRequests()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java59 import com.android.car.VehicleStub.AsyncGetSetRequest;
639 AsyncGetSetRequest getRequest = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testGetAsyncMethodForSingleValue()
664 AsyncGetSetRequest getRequest = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testGetAsyncMethodForSingleValueNoReadPermissionError()
684 AsyncGetSetRequest getRequest = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testGetAsyncForPropNotAvailable()
703 AsyncGetSetRequest getRequest = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testGetAsyncForSpecialPropInternalError()
733 AsyncGetSetRequest getRequest1 = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testGetAsyncForMultipleGetRequestsSuccessAndError()
735 AsyncGetSetRequest getRequest2 = new AsyncGetSetRequest(/* serviceRequestId= */ 1, in testGetAsyncForMultipleGetRequestsSuccessAndError()
1002 AsyncGetSetRequest request = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testSetAsyncForSingleProp()
1043 AsyncGetSetRequest request = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testSetAsyncGlobalPropWithAreaIdSetValueOutOfRange()
1068 AsyncGetSetRequest request = new AsyncGetSetRequest(/* serviceRequestId= */ 0, in testSetAsyncForSpecialPropRemoteException()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java73 import com.android.car.VehicleStub.AsyncGetSetRequest;
522 List<AsyncGetSetRequest> vehicleStubAsyncGetRequests = new ArrayList<>(); in retryIfNotExpired()
524 List<AsyncGetSetRequest> vehicleStubAsyncSetRequests = new ArrayList<>(); in retryIfNotExpired()
542 AsyncGetSetRequest vehicleStubAsyncRequest = in retryIfNotExpired()
918 private AsyncGetSetRequest generateVehicleStubAsyncRequestLocked( in generateVehicleStubAsyncRequestLocked()
935 return new AsyncGetSetRequest(serviceRequestId, halPropValue, in generateVehicleStubAsyncRequestLocked()
1620 private List<AsyncGetSetRequest> prepareVehicleStubRequests(@AsyncRequestType int requestType, in prepareVehicleStubRequests()
1628 List<AsyncGetSetRequest> vehicleStubRequests = new ArrayList<>(); in prepareVehicleStubRequests()
1657 AsyncGetSetRequest vehicleStubRequest = generateVehicleStubAsyncRequestLocked( in prepareVehicleStubRequests()
1695 List<AsyncGetSetRequest> vehicleStubRequests, VehicleStubCallback callback) { in sendVehicleStubRequests()
[all …]
DVehicleHal.java1753 public void getAsync(List<VehicleStub.AsyncGetSetRequest> getVehicleStubAsyncRequests, in getAsync()
1761 public void setAsync(List<VehicleStub.AsyncGetSetRequest> setVehicleStubAsyncRequests, in setAsync()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java68 import com.android.car.VehicleStub.AsyncGetSetRequest;
262 AsyncGetSetRequest getVehicleHalRequest = (AsyncGetSetRequest) in deliverResult()
372 ArgumentCaptor<List<AsyncGetSetRequest>> captor = in testGetCarPropertyValuesAsync()
376 AsyncGetSetRequest gotRequest = captor.getValue().get(0); in testGetCarPropertyValuesAsync()
398 ArgumentCaptor<List<AsyncGetSetRequest>> captor = in testGetCarPropertyValuesAsync_multipleRequests()
402 AsyncGetSetRequest gotRequest0 = captor.getValue().get(0); in testGetCarPropertyValuesAsync_multipleRequests()
408 AsyncGetSetRequest gotRequest1 = captor.getValue().get(1); in testGetCarPropertyValuesAsync_multipleRequests()
534 List<AsyncGetSetRequest> getVehicleHalRequests = (List<AsyncGetSetRequest>) args[0]; in testGetCarPropertyValuesAsync_retryTwiceAndSucceed()
614 AsyncGetSetRequest getVehicleHalRequest = in testGetCarPropertyValuesAsync_timeoutFromVehicleStub()
615 (AsyncGetSetRequest) getVehicleHalRequests.get(0); in testGetCarPropertyValuesAsync_timeoutFromVehicleStub()
[all …]
DVehicleHalTest.java64 import com.android.car.VehicleStub.AsyncGetSetRequest;
132 private final AsyncGetSetRequest mGetVehicleRequest1 =
133 new AsyncGetSetRequest(REQUEST_ID_1, mHalPropValue, /* timeoutUptimeMs= */ 0);
134 private final AsyncGetSetRequest mGetVehicleRequest2 =
135 new AsyncGetSetRequest(REQUEST_ID_2, mHalPropValue, /* timeoutUptimeMs= */ 0);
136 private final AsyncGetSetRequest mSetVehicleRequest =
137 new AsyncGetSetRequest(REQUEST_ID_1, mHalPropValue, /* timeoutUptimeMs= */ 0);
330 ArgumentCaptor<List<AsyncGetSetRequest>> captor =
340 List<AsyncGetSetRequest> getVehicleHalRequests = new ArrayList<>();
346 ArgumentCaptor<List<AsyncGetSetRequest>> captor =
[all …]
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java190 public void getAsync(List<AsyncGetSetRequest> getVehicleStubAsyncRequests, in getAsync()
194 AsyncGetSetRequest request = getVehicleStubAsyncRequests.get(i); in getAsync()
233 public void setAsync(List<AsyncGetSetRequest> setVehicleStubAsyncRequests, in setAsync()
237 AsyncGetSetRequest setRequest = setVehicleStubAsyncRequests.get(i); in setAsync()