Searched refs:VehicleHalStatusCode (Results 1 – 19 of 19) sorted by relevance
21 import android.car.hardware.property.VehicleHalStatusCode;28 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_OK)) in testToString()30 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_TRY_AGAIN)) in testToString()32 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_INVALID_ARG)) in testToString()34 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_NOT_AVAILABLE)) in testToString()36 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_ACCESS_DENIED)) in testToString()38 assertThat(VehicleHalStatusCode.toString(VehicleHalStatusCode.STATUS_INTERNAL_ERROR)) in testToString()40 assertThat(VehicleHalStatusCode.toString( in testToString()41 VehicleHalStatusCode.STATUS_NOT_AVAILABLE_DISABLED)) in testToString()43 assertThat(VehicleHalStatusCode.toString( in testToString()[all …]
23 import android.car.hardware.property.VehicleHalStatusCode;24 import android.car.hardware.property.VehicleHalStatusCode.VehicleHalStatusCodeInt;124 case VehicleHalStatusCode.STATUS_OK: in convertVhalStatusCodeToCarPropertyManagerErrorCodes()126 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE: // Fallthrough in convertVhalStatusCodeToCarPropertyManagerErrorCodes()127 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE_DISABLED: // Fallthrough in convertVhalStatusCodeToCarPropertyManagerErrorCodes()128 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE_SPEED_LOW: // Fallthrough in convertVhalStatusCodeToCarPropertyManagerErrorCodes()129 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE_SPEED_HIGH: // Fallthrough in convertVhalStatusCodeToCarPropertyManagerErrorCodes()130 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE_POOR_VISIBILITY: // Fallthrough in convertVhalStatusCodeToCarPropertyManagerErrorCodes()131 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE_SAFETY: in convertVhalStatusCodeToCarPropertyManagerErrorCodes()134 case VehicleHalStatusCode.STATUS_TRY_AGAIN: in convertVhalStatusCodeToCarPropertyManagerErrorCodes()[all …]
14 android.car.hardware.property VehicleHalStatusCode String toString(int )20 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_DISABLED21 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_SPEED_LOW22 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_SPEED_HIGH23 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_POOR_VISIBILITY24 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_SAFETY
34 import android.car.hardware.property.VehicleHalStatusCode;316 VehicleHalStatusCode.STATUS_TRY_AGAIN); in testClusterRequestDisplayErrorStatusFromHal()321 VehicleHalStatusCode.STATUS_INVALID_ARG); in testClusterRequestDisplayErrorStatusFromHal()326 VehicleHalStatusCode.STATUS_NOT_AVAILABLE); in testClusterRequestDisplayErrorStatusFromHal()331 VehicleHalStatusCode.STATUS_ACCESS_DENIED); in testClusterRequestDisplayErrorStatusFromHal()336 VehicleHalStatusCode.STATUS_INTERNAL_ERROR); in testClusterRequestDisplayErrorStatusFromHal()343 VehicleHalStatusCode.STATUS_OK); in testClusterRequestDisplayErrorStatusFromHal()351 VehicleHalStatusCode.STATUS_TRY_AGAIN); in testClusterReportStateErrorStatusFromHal()356 VehicleHalStatusCode.STATUS_INVALID_ARG); in testClusterReportStateErrorStatusFromHal()361 VehicleHalStatusCode.STATUS_NOT_AVAILABLE); in testClusterReportStateErrorStatusFromHal()[all …]
40 import android.car.hardware.property.VehicleHalStatusCode;153 if (mStatus != VehicleHalStatusCode.STATUS_OK) { in onPropertySet()161 if (mStatus != VehicleHalStatusCode.STATUS_OK) { in onPropertyGet()247 handler.setStatus(VehicleHalStatusCode.STATUS_INVALID_ARG); in configureMockedHal()251 handler.setStatus(VehicleHalStatusCode.STATUS_NOT_AVAILABLE); in configureMockedHal()255 handler.setStatus(VehicleHalStatusCode.STATUS_ACCESS_DENIED); in configureMockedHal()259 handler.setStatus(VehicleHalStatusCode.STATUS_TRY_AGAIN); in configureMockedHal()263 handler.setStatus(VehicleHalStatusCode.STATUS_INTERNAL_ERROR); in configureMockedHal()272 VehicleHalStatusCode.STATUS_INVALID_ARG); in configureMockedHal()276 VehicleHalStatusCode.STATUS_NOT_AVAILABLE); in configureMockedHal()[all …]
44 import android.car.hardware.property.VehicleHalStatusCode;229 | VehicleHalStatusCode.STATUS_NOT_AVAILABLE;231 | VehicleHalStatusCode.STATUS_INTERNAL_ERROR;751 VehicleHalStatusCode.STATUS_INTERNAL_ERROR); in testNotReceiveOnErrorEvent()767 VehicleHalStatusCode.STATUS_INTERNAL_ERROR); in testReceiveOnErrorEvent()790 VehicleHalStatusCode.STATUS_INTERNAL_ERROR); in testNotReceiveOnErrorEventAfterUnregister()1544 VehicleHalStatusCode.STATUS_NOT_AVAILABLE_DISABLED); in onPropertySet2()1550 if (statusCode != VehicleHalStatusCode.STATUS_OK) { in onPropertySet2()1568 if (vhalStatusCode != VehicleHalStatusCode.STATUS_OK) { in onPropertyGet()1612 return VehicleHalStatusCode.STATUS_TRY_AGAIN; in mapPropertyToVhalStatusCode()[all …]
2403 throw new ServiceSpecificException(VehicleHalStatusCode.STATUS_INTERNAL_ERROR, in runSyncOperation()2649 throw new ServiceSpecificException(VehicleHalStatusCode.STATUS_NOT_AVAILABLE, in getProperty()2653 throw new ServiceSpecificException(VehicleHalStatusCode.STATUS_INTERNAL_ERROR, in getProperty()2674 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in getProperty()2778 if (e.errorCode == VehicleHalStatusCode.STATUS_TRY_AGAIN) { in setProperty()2848 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE: in handleCarServiceSpecificException()2850 case VehicleHalStatusCode.STATUS_TRY_AGAIN: in handleCarServiceSpecificException()2853 case VehicleHalStatusCode.STATUS_ACCESS_DENIED: in handleCarServiceSpecificException()2856 case VehicleHalStatusCode.STATUS_INTERNAL_ERROR: in handleCarServiceSpecificException()2858 case VehicleHalStatusCode.STATUS_NOT_AVAILABLE_DISABLED: in handleCarServiceSpecificException()[all …]
32 public final class VehicleHalStatusCode { class132 private VehicleHalStatusCode() {} in VehicleHalStatusCode() method in VehicleHalStatusCode
378 new ServiceSpecificException(VehicleHalStatusCode.STATUS_NOT_AVAILABLE)); in testGetProperty_notAvailableBeforeR()388 new ServiceSpecificException(VehicleHalStatusCode.STATUS_NOT_AVAILABLE)); in testGetProperty_notAvailableEqualAfterR()398 new ServiceSpecificException(VehicleHalStatusCode.STATUS_TRY_AGAIN)); in testGetProperty_tryAgainBeforeR()407 new ServiceSpecificException(VehicleHalStatusCode.STATUS_TRY_AGAIN)); in testGetProperty_tryAgainEqualAfterR()417 new ServiceSpecificException(VehicleHalStatusCode.STATUS_ACCESS_DENIED)); in testGetProperty_accessDeniedBeforeR()427 new ServiceSpecificException(VehicleHalStatusCode.STATUS_ACCESS_DENIED)); in testGetProperty_accessDeniedEqualAfterR()437 new ServiceSpecificException(VehicleHalStatusCode.STATUS_INTERNAL_ERROR)); in testGetProperty_internalErrorBeforeR()447 new ServiceSpecificException(VehicleHalStatusCode.STATUS_INTERNAL_ERROR)); in testGetProperty_internalErrorEqualAfterR()458 VehicleHalStatusCode.STATUS_INTERNAL_ERROR, VENDOR_ERROR_CODE))); in testGetProperty_internalErrorEqualAfterU_withVendorErrorCode()585 new ServiceSpecificException(VehicleHalStatusCode.STATUS_TRY_AGAIN)); in testGetPropertyWithClass_tryAgainBeforeR()[all …]
31 import android.car.hardware.property.VehicleHalStatusCode;135 mPowerStateHandler.setStatus(VehicleHalStatusCode.STATUS_TRY_AGAIN); in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()141 mPowerStateHandler.setStatus(VehicleHalStatusCode.STATUS_ACCESS_DENIED); in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()147 mPowerStateHandler.setStatus(VehicleHalStatusCode.STATUS_NOT_AVAILABLE); in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()153 mPowerStateHandler.setStatus(VehicleHalStatusCode.STATUS_INTERNAL_ERROR); in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()160 mPowerStateHandler.setStatus(VehicleHalStatusCode.STATUS_OK); in testImmediateShutdownFromWaitForVhal_ErrorCodeFromVhal()844 private int mStatus = VehicleHalStatusCode.STATUS_OK;860 if (mStatus != VehicleHalStatusCode.STATUS_OK) { in onPropertySet()875 if (mStatus != VehicleHalStatusCode.STATUS_OK) { in onPropertyGet()
24 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_ACCESS_DENIED;25 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_INTERNAL_ERROR;26 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_INVALID_ARG;27 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_NOT_AVAILABLE;28 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_NOT_AVAILABLE_DISABLED;29 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_NOT_AVAILABLE_POOR_VISIBILI…30 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_NOT_AVAILABLE_SAFETY;31 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_NOT_AVAILABLE_SPEED_HIGH;32 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_NOT_AVAILABLE_SPEED_LOW;33 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_TRY_AGAIN;[all …]
485 android.car.hardware.property VehicleHalStatusCode String toString(int vehicleHalStatusCode)486 android.car.hardware.property VehicleHalStatusCode int STATUS_ACCESS_DENIED487 android.car.hardware.property VehicleHalStatusCode int STATUS_INTERNAL_ERROR488 android.car.hardware.property VehicleHalStatusCode int STATUS_INVALID_ARG489 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE490 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_DISABLED491 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_POOR_VISIBILITY492 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_SAFETY493 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_SPEED_HIGH494 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE_SPEED_LOW[all …]
393 android.car.hardware.property VehicleHalStatusCode int STATUS_OK394 android.car.hardware.property VehicleHalStatusCode int STATUS_TRY_AGAIN395 android.car.hardware.property VehicleHalStatusCode int STATUS_INVALID_ARG396 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE397 android.car.hardware.property VehicleHalStatusCode int STATUS_ACCESS_DENIED398 android.car.hardware.property VehicleHalStatusCode int STATUS_INTERNAL_ERROR
435 android.car.hardware.property VehicleHalStatusCode int STATUS_OK436 android.car.hardware.property VehicleHalStatusCode int STATUS_TRY_AGAIN437 android.car.hardware.property VehicleHalStatusCode int STATUS_INVALID_ARG438 android.car.hardware.property VehicleHalStatusCode int STATUS_NOT_AVAILABLE439 android.car.hardware.property VehicleHalStatusCode int STATUS_ACCESS_DENIED440 android.car.hardware.property VehicleHalStatusCode int STATUS_INTERNAL_ERROR
31 import android.car.hardware.property.VehicleHalStatusCode;1114 .thenThrow(new ServiceSpecificException(VehicleHalStatusCode.STATUS_TRY_AGAIN, in testDumpMetrics_VendorProperty_Timeout()
55 import android.car.hardware.property.VehicleHalStatusCode;1401 new ServiceSpecificException(VehicleHalStatusCode.STATUS_TRY_AGAIN)); in testGetUserAssociation_ServiceExceptionFromHal()1883 doThrow(new ServiceSpecificException(VehicleHalStatusCode.STATUS_TRY_AGAIN, in replySetPropertyWithTimeoutException()
22 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_INTERNAL_ERROR;23 import static android.car.hardware.property.VehicleHalStatusCode.STATUS_NOT_AVAILABLE;
1616 class @hiddenOnly @hide VehicleHalStatusCode package android.car.hardware.property