Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/com/android/car/internal/property/
DCarPropertyErrorCodes.java53 public final class CarPropertyErrorCodes implements Parcelable { class
122 public static CarPropertyErrorCodes STATUS_OK_NO_ERROR =
123 new CarPropertyErrorCodes(STATUS_OK, /* vendorErrorCode= */ 0, /* systemErrorCode */ 0);
128 public static CarPropertyErrorCodes ERROR_CODES_NOT_AVAILABLE =
129 new CarPropertyErrorCodes(CarPropertyManager.STATUS_ERROR_NOT_AVAILABLE,
135 public static CarPropertyErrorCodes ERROR_CODES_TRY_AGAIN =
136 new CarPropertyErrorCodes(STATUS_TRY_AGAIN, /* vendorErrorCode= */ 0,
142 public static CarPropertyErrorCodes ERROR_CODES_INTERNAL =
143 new CarPropertyErrorCodes(CarPropertyManager.STATUS_ERROR_INTERNAL_ERROR,
149 public static CarPropertyErrorCodes ERROR_CODES_TIMEOUT =
[all …]
DGetSetValueResult.java40 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
43 @NonNull CarPropertyErrorCodes carPropertyErrorCodes, long updateTimestampNanos) { in GetSetValueResult()
55 CarPropertyErrorCodes carPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in newGetValueResult()
64 @NonNull CarPropertyErrorCodes carPropertyErrorCodes) { in newErrorResult()
74 CarPropertyErrorCodes carPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in newSetValueResult()
83 @NonNull CarPropertyErrorCodes carPropertyErrorCodes) { in newErrorSetValueResult()
119 public @NonNull CarPropertyErrorCodes getCarPropertyErrorCodes() { in getCarPropertyErrorCodes()
152CarPropertyErrorCodes carPropertyErrorCodes = (CarPropertyErrorCodes) in.readTypedObject(CarProper… in GetSetValueResult()
DCarPropertyErrorCodes.aidl19 parcelable CarPropertyErrorCodes;
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyErrorCodesUnitTest.java19 import static com.android.car.internal.property.CarPropertyErrorCodes.createFromVhalStatusCode;
30 import com.android.car.internal.property.CarPropertyErrorCodes;
49 CarPropertyErrorCodes carPropertyErrorCodes = in testCarPropertyErrorCodesStatusOkNoErrors()
50 CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in testCarPropertyErrorCodesStatusOkNoErrors()
61 CarPropertyErrorCodes carPropertyErrorCodes = in testCarPropertyErrorCodesStatusInternalError()
62 CarPropertyErrorCodes.ERROR_CODES_INTERNAL; in testCarPropertyErrorCodesStatusInternalError()
73 CarPropertyErrorCodes carPropertyErrorCodes = in testCarPropertyErrorCodesStatusNotAvailable()
74 CarPropertyErrorCodes.ERROR_CODES_NOT_AVAILABLE; in testCarPropertyErrorCodesStatusNotAvailable()
85 CarPropertyErrorCodes carPropertyErrorCodes = in testCarPropertyErrorCodesStatusNotAvailableSpeedLow()
98 CarPropertyErrorCodes carPropertyErrorCodes = createFromVhalStatusCode(vhalStatusCode); in testCarPropertyErrorCodesStatusNotAvailableVendorError()
[all …]
DCarPropertyManagerUnitTest.java78 import com.android.car.internal.property.CarPropertyErrorCodes;
1111 0, CarPropertyErrorCodes.ERROR_CODES_INTERNAL); in testGetPropertiesAsync_cancellationSignalCancelRequests()
1222 /* requestId= */ 0, CarPropertyErrorCodes.createFromVhalStatusCode( in testOnGetValueResult_onFailure()
1253 /* requestId= */ 0, CarPropertyErrorCodes.createFromVhalStatusCode( in testPropertyAsyncError_GetDetailedErrorCode()
1741 0, CarPropertyErrorCodes.createFromVhalStatusCode( in testOnSetValueResult_onFailure()
/packages/services/Car/service/src/com/android/car/
DVehicleStub.java35 import com.android.car.internal.property.CarPropertyErrorCodes;
36 import com.android.car.internal.property.CarPropertyErrorCodes.CarPropMgrErrorCode;
128 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
139 public CarPropertyErrorCodes getCarPropertyErrorCodes() { in getCarPropertyErrorCodes()
149 mCarPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in GetVehicleStubAsyncResult()
155 public GetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in GetVehicleStubAsyncResult()
168 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
174 public CarPropertyErrorCodes getCarPropertyErrorCodes() { in getCarPropertyErrorCodes()
183 mCarPropertyErrorCodes = CarPropertyErrorCodes.STATUS_OK_NO_ERROR; in SetVehicleStubAsyncResult()
189 public SetVehicleStubAsyncResult(int serviceRequestId, CarPropertyErrorCodes errorCodes) { in SetVehicleStubAsyncResult()
DHidlVehicleStub.java20 import static com.android.car.internal.property.CarPropertyErrorCodes.createFromVhalStatusCode;
42 import com.android.car.internal.property.CarPropertyErrorCodes;
243 CarPropertyErrorCodes carPropertyErrorCodes = in getAsync()
252 CarPropertyErrorCodes.ERROR_CODES_INTERNAL, in getAsync()
259 CarPropertyErrorCodes.ERROR_CODES_NOT_AVAILABLE, in getAsync()
282 CarPropertyErrorCodes carPropertyErrorCodes = in setAsync()
292 CarPropertyErrorCodes.ERROR_CODES_INTERNAL, in setAsync()
299 private void callGetAsyncErrorCallback(CarPropertyErrorCodes errorCodes, int serviceRequestId, in callGetAsyncErrorCallback()
305 private void callSetAsyncErrorCallback(CarPropertyErrorCodes errorCodes, int serviceRequestId, in callSetAsyncErrorCallback()
DAidlVehicleStub.java20 import static com.android.car.internal.property.CarPropertyErrorCodes.createFromVhalStatusCode;
71 import com.android.car.internal.property.CarPropertyErrorCodes;
661 CarPropertyErrorCodes errorCodes); in addErrorResult()
1086 CarPropertyErrorCodes errorCodes) { in addErrorResult()
1113 CarPropertyErrorCodes carPropertyErrorCodes = in toVehicleStubResult()
1119 CarPropertyErrorCodes.ERROR_CODES_NOT_AVAILABLE); in toVehicleStubResult()
1135 CarPropertyErrorCodes errorCodes) { in addErrorResult()
1163 CarPropertyErrorCodes carPropertyErrorCodes = in toVehicleStubResult()
1236 CarPropertyErrorCodes.ERROR_CODES_INTERNAL, in getOrSetAsync()
1240 CarPropertyErrorCodes carPropertyErrorCodes = in getOrSetAsync()
[all …]
DCarPropertyService.java68 import com.android.car.internal.property.CarPropertyErrorCodes;
647 int errorCode = CarPropertyErrorCodes.getVhalSystemErrorCode(e.errorCode); in getAndDispatchPropertyInitValue()
652 if (CarPropertyErrorCodes.isNotAvailableVehicleHalStatusCode(errorCode)) { in getAndDispatchPropertyInitValue()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DVehicleStubWrapper.java19 import static com.android.car.internal.property.CarPropertyErrorCodes.ERROR_CODES_INTERNAL;
20 import static com.android.car.internal.property.CarPropertyErrorCodes.ERROR_CODES_NOT_AVAILABLE;
21 import static com.android.car.internal.property.CarPropertyErrorCodes.createFromVhalStatusCode;
47 import com.android.car.internal.property.CarPropertyErrorCodes;
421 CarPropertyErrorCodes carPropertyErrorCodes = in getAsync()
457 CarPropertyErrorCodes carPropertyErrorCodes = in setAsync()
DFakeVehicleStub.java19 import static com.android.car.internal.property.CarPropertyErrorCodes.ERROR_CODES_INTERNAL;
20 import static com.android.car.internal.property.CarPropertyErrorCodes.ERROR_CODES_NOT_AVAILABLE;
21 import static com.android.car.internal.property.CarPropertyErrorCodes.createFromVhalStatusCode;
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java43 import static com.android.car.internal.property.CarPropertyErrorCodes.createFromVhalStatusCode;
100 import com.android.car.internal.property.CarPropertyErrorCodes;
296 GetSetValueResult toErrorResult(CarPropertyErrorCodes errorCodes) { in toErrorResult()
701 CarPropertyErrorCodes.ERROR_CODES_INTERNAL); in parseGetAsyncResults()
706 CarPropertyErrorCodes.ERROR_CODES_NOT_AVAILABLE); in parseGetAsyncResults()
710 CarPropertyErrorCodes.ERROR_CODES_INTERNAL); in parseGetAsyncResults()
721 CarPropertyErrorCodes.ERROR_CODES_INTERNAL); in parseGetAsyncResults()
898 CarPropertyErrorCodes.ERROR_CODES_TIMEOUT); in generateTimeoutResult()
2153 int vhalErrorCode = CarPropertyErrorCodes.getVhalSystemErrorCode( in onPropertySetError()
2184 CarPropertyErrorCodes carPropertyErrorCodes = in onPropertySetError()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java37 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK;
38 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK_NO_ERROR;
39 import static com.android.car.internal.property.CarPropertyErrorCodes.ERROR_CODES_TRY_AGAIN;
40 import static com.android.car.internal.property.CarPropertyErrorCodes.ERROR_CODES_INTERNAL;
97 import com.android.car.internal.property.CarPropertyErrorCodes;
313 CarPropertyErrorCodes carPropertyErrorCodes, HalPropValue propValue, boolean get) { in deliverResult()
406 CarPropertyErrorCodes errorCode) { in deliverErrorGetResult()
411 Integer expectedServiceRequestId, CarPropertyErrorCodes errorCode) { in deliverErrorGetResult()
416 CarPropertyErrorCodes errorCode) { in deliverErrorSetResult()
421 Integer expectedServiceRequestId, CarPropertyErrorCodes errorCode) { in deliverErrorSetResult()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java22 import static com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK;
70 import com.android.car.internal.property.CarPropertyErrorCodes;
560 private final CarPropertyErrorCodes mCarPropertyErrorCodes;
614 CarPropertyErrorCodes carPropertyErrorCodes) { in PropertyAsyncError()
3102 CarPropertyErrorCodes.createFromVhalStatusCode(e.errorCode) in handleCarServiceSpecificException()
/packages/services/Car/aconfig/
Dflags.aconfig365 # CarPropertyErrorCodes