/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 67 StatusCode* outStatus) override { in get() 68 *outStatus = StatusCode::OK; in get() 76 *outStatus = StatusCode::TRY_AGAIN; in get() 84 *outStatus = StatusCode::INVALID_ARG; in get() 90 if (*outStatus == StatusCode::OK && pValue.get() != nullptr) { in get() 99 StatusCode set(const VehiclePropValue& propValue) override { in set() 102 return StatusCode::TRY_AGAIN; in set() 105 return StatusCode::OK; in set() 108 StatusCode subscribe(int32_t /* property */, in subscribe() 110 return StatusCode::OK; in subscribe() [all …]
|
D | SubscriptionManager_test.cpp | 105 ASSERT_EQ(StatusCode::OK, in TEST_F() 107 ASSERT_EQ(StatusCode::OK, in TEST_F() 117 ASSERT_EQ(StatusCode::OK, in TEST_F() 132 ASSERT_EQ(StatusCode::OK, manager.addOrUpdateSubscription(1, cb1, subscrToProp1, in TEST_F() 142 StatusCode::OK, in TEST_F() 156 ASSERT_EQ(StatusCode::OK, in TEST_F() 158 ASSERT_EQ(StatusCode::OK, in TEST_F() 160 ASSERT_EQ(StatusCode::OK, in TEST_F()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
D | VehicleManager_fuzzer.h | 46 StatusCode* outStatus) override; 48 StatusCode set(const VehiclePropValue& propValue) override { in set() 51 return StatusCode::TRY_AGAIN; in set() 55 return StatusCode::OK; in set() 58 StatusCode subscribe(int32_t /* property */, float /* sampleRate */) override { in subscribe() 59 return StatusCode::OK; in subscribe() 62 StatusCode unsubscribe(int32_t /* property */) override { return StatusCode::OK; } in unsubscribe() 66 void sendHalError(StatusCode error, int32_t property, int32_t areaId) { in sendHalError() 104 StatusCode mActualStatusCode = StatusCode::OK;
|
D | VehicleManager_fuzzer.cpp | 42 using ::android::hardware::automotive::vehicle::V2_0::StatusCode; 105 const VehiclePropValue& requestedPropValue, StatusCode* outStatus) { in get() 112 *outStatus = StatusCode::OK; in get() 120 *outStatus = StatusCode::TRY_AGAIN; in get() 139 if (*outStatus == StatusCode::OK && pValue.get() != nullptr) { in get() 177 []([[maybe_unused]] StatusCode status, in invokePropConfigs() 181 []([[maybe_unused]] StatusCode status, in invokePropConfigs() 228 mHal->sendHalError(StatusCode::TRY_AGAIN, in invokeSubscribe() 355 StatusCode refStatus; in invokeGet() 358 [&refStatus, &refValue](StatusCode status, const VehiclePropValue& value) { in invokeGet()
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | EmulatedVehicleHal.h | 57 StatusCode* outStatus) override; 58 StatusCode set(const VehiclePropValue& propValue) override; 59 StatusCode subscribe(int32_t property, float sampleRate) override; 60 StatusCode unsubscribe(int32_t property) override; 73 StatusCode handleGenerateFakeDataRequest(const VehiclePropValue& request); 81 StatusCode fillObd2FreezeFrame(const VehiclePropValue& requestedPropValue, 83 StatusCode fillObd2DtcInfo(VehiclePropValue* outValue); 84 StatusCode clearObd2FreezeFrames(const VehiclePropValue& propValue);
|
D | EmulatedVehicleHal.cpp | 138 const VehiclePropValue& requestedPropValue, StatusCode* outStatus) { in get() 160 *outStatus = StatusCode(ret.error().code()); in get() 166 *outStatus = StatusCode::OK; in get() 169 *outStatus = StatusCode::INTERNAL_ERROR; in get() 181 *outStatus = StatusCode::INVALID_ARG; in get() 183 *outStatus = StatusCode::OK; in get() 185 *outStatus = StatusCode::TRY_AGAIN; in get() 199 StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) { in set() 219 return StatusCode::NOT_AVAILABLE; in set() 229 return StatusCode::OK; in set() [all …]
|
D | VehicleHalServer.cpp | 127 StatusCode VehicleHalServer::handleGenerateFakeDataRequest(const VehiclePropValue& request) { in handleGenerateFakeDataRequest() 134 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 144 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 148 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 153 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 164 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 175 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 185 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 206 return StatusCode::INVALID_ARG; in handleGenerateFakeDataRequest() 209 return StatusCode::OK; in handleGenerateFakeDataRequest() [all …]
|
D | EmulatedVehicleConnector.cpp | 45 StatusCode EmulatedVehicleConnector::onSetProperty(const VehiclePropValue& value, in onSetProperty() 53 return StatusCode(ret.error().code()); in onSetProperty() 61 return StatusCode::OK; in onSetProperty()
|
D | EmulatedUserHal.cpp | 47 return Error(static_cast<int>(StatusCode::INVALID_ARG)) in getRequestId() 55 return Error(static_cast<int>(StatusCode::INVALID_ARG)) in getSwitchUserMessageType() 93 return Error(static_cast<int>(StatusCode::INVALID_ARG)) in onSetProperty() 107 return Error(static_cast<int>(StatusCode::INVALID_ARG)) << "only supported on SET"; in onGetProperty() 112 return Error(static_cast<int>(StatusCode::INVALID_ARG)) << "not supported by User HAL"; in onGetProperty() 284 return Error(static_cast<int>(StatusCode::NOT_AVAILABLE)) << "not set by lshal"; in defaultUserIdentificationAssociation() 301 return Error(static_cast<int>(StatusCode::NOT_AVAILABLE)) in sendUserHalResponse() 306 return Error(static_cast<int>(StatusCode::INTERNAL_ERROR)) in sendUserHalResponse()
|
D | EmulatedVehicleConnector.h | 43 StatusCode onSetProperty(const VehiclePropValue& value, bool updateStatus) override;
|
/hardware/interfaces/automotive/vehicle/2.0/vts/functional/ |
D | VtsHalAutomotiveVehicleV2_0TargetTest.cpp | 56 Return<void> onPropertySetError(StatusCode /* errorCode */, int32_t /* propId */, in onPropertySetError() argument 105 StatusCode refStatus; in invokeGet() 109 [&refStatus, &refValue, &isCalled](StatusCode status, in invokeGet() 122 StatusCode mActualStatusCode; 147 properties, [&isCalled](StatusCode status, const hidl_vec<VehiclePropConfig>& cfgs) { in TEST_P() 148 ASSERT_EQ(StatusCode::OK, status); in TEST_P() 161 properties, [&isCalled](StatusCode status, const hidl_vec<VehiclePropConfig>& cfgs) { in TEST_P() 162 ASSERT_NE(StatusCode::OK, status); in TEST_P() 173 ASSERT_EQ(StatusCode::OK, mActualStatusCode); in TEST_P() 181 ASSERT_NE(StatusCode::OK, mActualStatusCode); in TEST_P() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VehicleHal.h | 39 StatusCode errorCode, int32_t property, int32_t areaId)>; 45 StatusCode* outStatus) = 0; 47 virtual StatusCode set(const VehiclePropValue& propValue) = 0; 58 virtual StatusCode subscribe(int32_t property, 66 virtual StatusCode unsubscribe(int32_t property) = 0; 114 void doHalPropertySetError(StatusCode errorCode, in doHalPropertySetError()
|
D | Obd2SensorStore.h | 40 StatusCode setIntegerSensor(DiagnosticIntegerSensorIndex index, int32_t value); 42 StatusCode setIntegerSensor(size_t index, int32_t value); 45 StatusCode setFloatSensor(DiagnosticFloatSensorIndex index, float value); 47 StatusCode setFloatSensor(size_t index, float value);
|
D | VehicleHalManager.h | 69 Return<StatusCode> set(const VehiclePropValue& value) override; 70 Return<StatusCode> subscribe(const sp<IVehicleCallback>& callback, 72 Return<StatusCode> unsubscribe(const sp<IVehicleCallback>& callback, 89 void onHalPropertySetError(StatusCode errorCode, int32_t property,
|
D | VehicleClient.h | 51 virtual StatusCode setProperty(const VehiclePropValue& value, bool updateStatus) = 0;
|
D | VehicleServer.h | 49 virtual StatusCode onSetProperty(const VehiclePropValue& value, bool updateStatus) = 0;
|
D | VehicleConnector.h | 66 StatusCode setProperty(const VehiclePropValue& value, bool updateStatus) override { in setProperty()
|
D | SubscriptionManager.h | 104 StatusCode addOrUpdateSubscription(ClientId clientId,
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | WatchdogClient.cpp | 110 StatusCode status = StatusCode::TRY_AGAIN; in isClientHealthy() 112 while (status == StatusCode::TRY_AGAIN) { in isClientHealthy() 114 [&propValue, &status](StatusCode s, const VehiclePropValue& v) { in isClientHealthy() 116 if (s == StatusCode::OK) { in isClientHealthy() 121 return status == StatusCode::OK; in isClientHealthy()
|
D | Obd2SensorStore.cpp | 65 StatusCode Obd2SensorStore::setIntegerSensor(DiagnosticIntegerSensorIndex index, int32_t value) { in setIntegerSensor() 68 StatusCode Obd2SensorStore::setFloatSensor(DiagnosticFloatSensorIndex index, float value) { in setFloatSensor() 72 StatusCode Obd2SensorStore::setIntegerSensor(size_t index, int32_t value) { in setIntegerSensor() 75 return StatusCode::OK; in setIntegerSensor() 78 StatusCode Obd2SensorStore::setFloatSensor(size_t index, float value) { in setFloatSensor() 81 return StatusCode::OK; in setFloatSensor()
|
D | SubscriptionManager.cpp | 86 StatusCode SubscriptionManager::addOrUpdateSubscription( in addOrUpdateSubscription() 99 return StatusCode::INTERNAL_ERROR; in addOrUpdateSubscription() 117 return StatusCode::OK; in addOrUpdateSubscription()
|
/hardware/interfaces/automotive/vehicle/2.0/ |
D | IVehicle.hal | 32 * StatusCode::INVALID_ARG, otherwise a list of vehicle property 33 * configurations with StatusCode::OK 36 generates (StatusCode status, vec<VehiclePropConfig> propConfigs); 51 * StatusCode::TRY_AGAIN. 54 generates (StatusCode status, VehiclePropValue propValue); 62 * data is not available yet this call must return StatusCode::TRY_AGAIN. 64 * StatusCode::NOT_AVAILABLE error if property is not powered on. 66 set(VehiclePropValue propValue) generates (StatusCode status); 79 generates (StatusCode status); 85 * must return StatusCode::INVALID_ARG. [all …]
|
D | IVehicleCallback.hal | 47 * client received StatusCode::OK from the IVehicle::set(...) this 51 * @param errorCode - any value from StatusCode enum. 56 oneway onPropertySetError(StatusCode errorCode,
|
/hardware/interfaces/wifi/supplicant/1.4/ |
D | ISupplicantStaIfaceCallback.hal | 23 import @1.0::ISupplicantStaIfaceCallback.StatusCode; 107 StatusCode statusCode;
|
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/ |
D | supplicant_sta_iface_hidl_test.cpp | 103 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument
|