Searched refs:StatusCode (Results 1 – 16 of 16) sorted by relevance
/packages/services/Car/service/src/com/android/car/hal/ |
D | HalClient.java | 23 import android.hardware.automotive.vehicle.V2_0.StatusCode; 103 return StatusCode.TRY_AGAIN; in setValue() 107 if (StatusCode.INVALID_ARG == status) { in setValue() 111 if (StatusCode.OK != status) { in setValue() 127 status, StatusCode.toString(status)); in getPropertyErrorMessage() 138 if (StatusCode.INVALID_ARG == status) { in getValue() 142 if (StatusCode.OK != status || valueWrapper.object == null) { in getValue() 145 if (StatusCode.OK == status) { in getValue() 146 status = StatusCode.NOT_AVAILABLE; in getValue() 167 result.status = StatusCode.TRY_AGAIN; in internalGet() [all …]
|
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 148 cb.onValues(StatusCode.INVALID_ARG, new ArrayList<>()); in getPropConfigs() 153 cb.onValues(StatusCode.OK, res); in getPropConfigs() 160 cb.onValues(StatusCode.INVALID_ARG, null); in get() 162 cb.onValues(StatusCode.OK, handler.onPropertyGet(requestedPropValue)); in get() 170 return StatusCode.INVALID_ARG; in set() 173 return StatusCode.OK; in set() 183 return StatusCode.INVALID_ARG; in subscribe() 203 return StatusCode.OK; in subscribe() 210 return StatusCode.INVALID_ARG; in unsubscribe() [all …]
|
/packages/services/Car/evs/apps/default/ |
D | EvsStateControl.cpp | 227 if (invokeGet(&mGearValue) != StatusCode::OK) { in selectStateForCurrentConditions() 231 if ((mTurnSignalValue.prop == 0) || (invokeGet(&mTurnSignalValue) != StatusCode::OK)) { in selectStateForCurrentConditions() 271 StatusCode EvsStateControl::invokeGet(VehiclePropValue *pRequestedPropValue) { in invokeGet() 272 StatusCode status = StatusCode::TRY_AGAIN; in invokeGet() 277 (StatusCode s, const VehiclePropValue& v) { in invokeGet() 279 if (s == StatusCode::OK) { in invokeGet()
|
D | evs_app.cpp | 92 StatusCode status = pVnet->subscribe(listener, options); in subscribeToVHal() 93 if (status != StatusCode::OK) { in subscribeToVHal()
|
D | EvsVehicleListener.h | 46 Return<void> onPropertySetError(StatusCode /* errorCode */, in onPropertySetError() argument
|
D | EvsStateControl.h | 87 StatusCode invokeGet(VehiclePropValue *pRequestedPropValue);
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | HalClientUnitTest.java | 28 import android.hardware.automotive.vehicle.V2_0.StatusCode; 78 .thenReturn(StatusCode.OK); in testSet_remoteExceptionThenOk() 85 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.INVALID_ARG); in testSet_invalidArgument() 96 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.INTERNAL_ERROR); in testSet_otherError() 107 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.OK); in testSet_ok()
|
/packages/services/Car/surround_view/service-impl/ |
D | VhalHandler.cpp | 38 using vehicle::V2_0::StatusCode; 98 StatusCode statusResult; in pollProperties() 102 &propValueResult](StatusCode status, in pollProperties() 107 if (statusResult != StatusCode::OK) { in pollProperties()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | JsonVhalEventGenerator.java | 21 import android.hardware.automotive.vehicle.V2_0.StatusCode; 56 assertEquals(StatusCode.OK, mVehicle.set(request)); in start() 66 assertEquals(StatusCode.OK, mVehicle.set(request)); in stop()
|
D | LinearVhalEventGenerator.java | 21 import android.hardware.automotive.vehicle.V2_0.StatusCode; 86 assertEquals(StatusCode.OK, mVehicle.set(request)); in start() 95 assertEquals(StatusCode.OK, mVehicle.set(request)); in stop()
|
D | Obd2FreezeFrameTest.java | 28 import android.hardware.automotive.vehicle.V2_0.StatusCode; 61 assertEquals(StatusCode.OK, status.intValue()); in testFreezeFrame() 72 if (StatusCode.OK == frameStatus.intValue()) { in testFreezeFrame()
|
D | Obd2LiveFrameTest.java | 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 54 assertEquals(StatusCode.OK, status.intValue()); in testLiveFrame()
|
D | E2eCarTestBase.java | 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 62 (status, propConfigs) -> assumeTrue(status == StatusCode.OK)); in connectToVehicleHal()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 27 import android.hardware.automotive.vehicle.V2_0.StatusCode; 305 return StatusCode.OK; in set() 332 cb.onValues(StatusCode.OK, result); in get()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/ |
D | VehicleHalFragment.java | 22 import android.hardware.automotive.vehicle.V2_0.StatusCode; 142 if (status == StatusCode.OK) { in getValue()
|
/packages/services/Car/computepipe/tests/runner/graph/ |
D | GrpcGraphTest.cpp | 146 return ::grpc::Status(::grpc::StatusCode::ABORTED, "Connection lost"); in ObserveOutputStream()
|