Home
last modified time | relevance | path

Searched refs:CarPropertyErrorCodes (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyErrorCodesUnitTest.java19 import static com.android.car.internal.property.CarPropertyErrorCodes.convertVhalStatusCodeToCarPro…
27 import com.android.car.internal.property.CarPropertyErrorCodes;
41 CarPropertyErrorCodes carPropertyErrorCodes = in testCarPropertyErrorCodesStatusOkNoErrors()
42 new CarPropertyErrorCodes(CarPropertyErrorCodes.STATUS_OK, NO_ERROR, NO_ERROR); in testCarPropertyErrorCodesStatusOkNoErrors()
45 .isEqualTo(CarPropertyErrorCodes.STATUS_OK); in testCarPropertyErrorCodesStatusOkNoErrors()
54 CarPropertyErrorCodes carPropertyErrorCodes = new CarPropertyErrorCodes( in testCarPropertyErrorCodesStatusInternalError()
67 CarPropertyErrorCodes carPropertyErrorCodes = new CarPropertyErrorCodes( in testCarPropertyErrorCodesStatusNotAvailable()
80 CarPropertyErrorCodes carPropertyErrorCodes = new CarPropertyErrorCodes( in testCarPropertyErrorCodesStatusNotAvailableSpeedLow()
95 CarPropertyErrorCodes carPropertyErrorCodes = new CarPropertyErrorCodes( in testCarPropertyErrorCodesStatusNotAvailableVendorError()
110 CarPropertyErrorCodes carPropertyErrorCodes = in testConvertHalToCarPropertyManagerErrorStatusOK()
[all …]
DCarPropertyManagerUnitTest.java76 import com.android.car.internal.property.CarPropertyErrorCodes;
1104 new CarPropertyErrorCodes( in testGetPropertiesAsync_cancellationSignalCancelRequests()
1219 new CarPropertyErrorCodes( in testOnGetValueResult_onFailure()
1713 new CarPropertyErrorCodes( in testOnSetValueResult_onFailure()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DCarPropertyErrorCodes.java40 public final class CarPropertyErrorCodes implements Parcelable { class
57 public static CarPropertyErrorCodes STATUS_OK_NO_ERROR =
58 new CarPropertyErrorCodes(STATUS_OK, /* vendorErrorCode= */ 0, /* systemErrorCode */ 0);
81 public CarPropertyErrorCodes(@CarPropMgrErrorCode int carPropertyManagerErrorCode, in CarPropertyErrorCodes() method in CarPropertyErrorCodes
118 public static CarPropertyErrorCodes convertVhalStatusCodeToCarPropertyManagerErrorCodes( in convertVhalStatusCodeToCarPropertyManagerErrorCodes()
142 CarPropertyErrorCodes errorCodes = new CarPropertyErrorCodes( in convertVhalStatusCodeToCarPropertyManagerErrorCodes()
186 public static String toString(CarPropertyErrorCodes carPropertyErrorCodes) { in toString()
229 …public @NonNull CarPropertyErrorCodes setCarPropertyManagerErrorCode(@CarPropMgrErrorCode int valu… in setCarPropertyManagerErrorCode()
237 public @NonNull CarPropertyErrorCodes setVendorErrorCode( int value) { in setVendorErrorCode()
243 public @NonNull CarPropertyErrorCodes setSystemErrorCode( int value) { in setSystemErrorCode()
[all …]
DGetSetValueResult.java42 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
45 @NonNull CarPropertyErrorCodes carPropertyErrorCodes, long updateTimestampNanos) { in GetSetValueResult()
57 CarPropertyErrorCodes carPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in newGetValueResult()
66 @NonNull CarPropertyErrorCodes carPropertyErrorCodes) { in newErrorResult()
76 CarPropertyErrorCodes carPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in newSetValueResult()
85 @NonNull CarPropertyErrorCodes carPropertyErrorCodes) { in newErrorSetValueResult()
121 public @NonNull CarPropertyErrorCodes getCarPropertyErrorCodes() { in getCarPropertyErrorCodes()
155CarPropertyErrorCodes carPropertyErrorCodes = (CarPropertyErrorCodes) in.readTypedObject(CarProper… in GetSetValueResult()
DCarPropertyErrorCodes.aidl19 parcelable CarPropertyErrorCodes;
/packages/services/Car/service/src/com/android/car/
DVehicleStub.java32 import com.android.car.internal.property.CarPropertyErrorCodes;
33 import com.android.car.internal.property.CarPropertyErrorCodes.CarPropMgrErrorCode;
106 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
130 public CarPropertyErrorCodes getCarPropertyErrorCodes() { in getCarPropertyErrorCodes()
140 mCarPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in GetVehicleStubAsyncResult()
146 public GetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in GetVehicleStubAsyncResult()
159 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
178 public CarPropertyErrorCodes getCarPropertyErrorCodes() { in getCarPropertyErrorCodes()
187 mCarPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in SetVehicleStubAsyncResult()
193 public SetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in SetVehicleStubAsyncResult()
DHidlVehicleStub.java20 import static com.android.car.internal.property.CarPropertyErrorCodes.convertVhalStatusCodeToCarPro…
43 import com.android.car.internal.property.CarPropertyErrorCodes;
243 CarPropertyErrorCodes carPropertyErrorCodes = in getAsync()
252 new CarPropertyErrorCodes( in getAsync()
262 new CarPropertyErrorCodes( in getAsync()
288 CarPropertyErrorCodes carPropertyErrorCodes = in setAsync()
298 new CarPropertyErrorCodes( in setAsync()
308 private void callGetAsyncErrorCallback(CarPropertyErrorCodes errorCodes, int serviceRequestId, in callGetAsyncErrorCallback()
314 private void callSetAsyncErrorCallback(CarPropertyErrorCodes errorCodes, int serviceRequestId, in callSetAsyncErrorCallback()
DAidlVehicleStub.java19 import static com.android.car.internal.property.CarPropertyErrorCodes.convertVhalStatusCodeToCarPro…
64 import com.android.car.internal.property.CarPropertyErrorCodes;
554 CarPropertyErrorCodes errorCodes); in addErrorResult()
882 CarPropertyErrorCodes errorCodes) { in addErrorResult()
909 CarPropertyErrorCodes carPropertyErrorCodes = in toVehicleStubResult()
915 new CarPropertyErrorCodes( in toVehicleStubResult()
934 CarPropertyErrorCodes errorCodes) { in addErrorResult()
962 CarPropertyErrorCodes carPropertyErrorCodes = in toVehicleStubResult()
1035 new CarPropertyErrorCodes( in getOrSetAsync()
1042 CarPropertyErrorCodes carPropertyErrorCodes = in getOrSetAsync()
[all …]
DCarPropertyService.java66 import com.android.car.internal.property.CarPropertyErrorCodes;
572 int errorCode = CarPropertyErrorCodes.getVhalSystemErrorCode(e.errorCode); in getAndDispatchPropertyInitValue()
577 if (CarPropertyErrorCodes.isNotAvailableVehicleHalStatusCode(errorCode)) { in getAndDispatchPropertyInitValue()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java37 import static com.android.car.internal.property.CarPropertyErrorCodes.convertVhalStatusCodeToCarPro…
38 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK;
85 import com.android.car.internal.property.CarPropertyErrorCodes;
250 GetSetValueResult toErrorResult(CarPropertyErrorCodes errorCodes) { in toErrorResult()
619 new CarPropertyErrorCodes( in parseGetAsyncResults()
627 new CarPropertyErrorCodes( in parseGetAsyncResults()
634 new CarPropertyErrorCodes( in parseGetAsyncResults()
648 new CarPropertyErrorCodes( in parseGetAsyncResults()
678 if (carPropMgrErrorCode == CarPropertyErrorCodes.STATUS_TRY_AGAIN) { in onGetAsyncResults()
772 if (carPropMgrErrorCode == CarPropertyErrorCodes.STATUS_TRY_AGAIN) { in onSetAsyncResults()
[all …]
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java19 import static com.android.car.internal.property.CarPropertyErrorCodes.convertVhalStatusCodeToCarPro…
53 import com.android.car.internal.property.CarPropertyErrorCodes;
202 new CarPropertyErrorCodes( in getAsync()
208 CarPropertyErrorCodes carPropertyErrorCodes = in getAsync()
214 new CarPropertyErrorCodes( in getAsync()
245 new CarPropertyErrorCodes( in setAsync()
250 CarPropertyErrorCodes carPropertyErrorCodes = in setAsync()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java19 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK;
56 import com.android.car.internal.property.CarPropertyErrorCodes;
454 CarPropertyErrorCodes.STATUS_TRY_AGAIN); in testGetAsyncTryAgainError()
578 CarPropertyErrorCodes.STATUS_TRY_AGAIN); in testSetAsyncServiceSpecificExceptionTryAgain()
DAidlVehicleStubUnitTest.java21 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK;
73 import com.android.car.internal.property.CarPropertyErrorCodes;
511 CarPropertyErrorCodes.STATUS_TRY_AGAIN); in testGetAsyncAidlServiceSpecificExceptionTryAgainError()
1129 CarPropertyErrorCodes.STATUS_TRY_AGAIN); in testSetAsyncServiceSpecificExceptionTryAgain()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java20 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK;
21 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_TRY_AGAIN;
64 import com.android.car.internal.property.CarPropertyErrorCodes;
532 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
588 CarPropertyErrorCodes carPropertyErrorCodes) { in PropertyAsyncError()
2844 int errorCode = CarPropertyErrorCodes.getVhalSystemErrorCode(e.errorCode); in handleCarServiceSpecificException()
2845 int vendorErrorCode = CarPropertyErrorCodes.getVhalVendorErrorCode(e.errorCode); in handleCarServiceSpecificException()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java29 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK;
76 import com.android.car.internal.property.CarPropertyErrorCodes;
244 CarPropertyErrorCodes carPropertyErrorCodes = in deliverResult()
245 new CarPropertyErrorCodes( in deliverResult()
254 CarPropertyErrorCodes carPropertyErrorCodes, HalPropValue propValue, boolean get) { in deliverResult()
333 CarPropertyErrorCodes.STATUS_TRY_AGAIN, null, true); in deliverTryAgainGetResult()
343 CarPropertyErrorCodes.STATUS_TRY_AGAIN, null, false); in deliverTryAgainSetResult()
667 CarPropertyErrorCodes errorCodes = new CarPropertyErrorCodes( in testGetCarPropertyValuesAsync_errorResultVendorErrorCode()
/packages/services/Car/aconfig/
Dflags.aconfig208 # CarPropertyErrorCodes
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java69 import com.android.car.internal.property.CarPropertyErrorCodes;
1024 .isEqualTo(CarPropertyErrorCodes.STATUS_OK); in testSetAsyncForSingleProp()