/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 54 StatusCode* outStatus) override { in get() 55 *outStatus = StatusCode::OK; in get() 67 *outStatus = StatusCode::TRY_AGAIN; in get() 89 if (*outStatus == StatusCode::OK && pValue.get() != nullptr) { in get() 98 StatusCode set(const VehiclePropValue& propValue) override { in set() 101 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() 113 StatusCode unsubscribe(int32_t /* property */) override { in unsubscribe() [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()
|
D | VehicleHalTestUtils.h | 108 Return<void> onPropertySetError(StatusCode /* errorCode */, in onPropertySetError() argument
|
/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 | 137 const VehiclePropValue& requestedPropValue, StatusCode* outStatus) { in get() 159 *outStatus = StatusCode(ret.error().code()); in get() 165 *outStatus = StatusCode::OK; in get() 168 *outStatus = StatusCode::INTERNAL_ERROR; in get() 179 *outStatus = v != nullptr ? StatusCode::OK : StatusCode::INVALID_ARG; in get() 192 StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) { in set() 212 return StatusCode::NOT_AVAILABLE; in set() 222 return StatusCode::OK; in set() 230 return StatusCode::INVALID_ARG; in set() 235 return StatusCode::INVALID_ARG; in set() [all …]
|
D | EmulatedUserHal.cpp | 68 return android::base::Error(static_cast<int>(StatusCode::INVALID_ARG)) in onSetProperty() 82 return android::base::Error(static_cast<int>(StatusCode::INVALID_ARG)) in onGetProperty() 88 return android::base::Error(static_cast<int>(StatusCode::INVALID_ARG)) in onGetProperty() 116 return android::base::Error(static_cast<int>(StatusCode::INVALID_ARG)) in onSetInitialUserInfoResponse() 153 return android::base::Error(static_cast<int>(StatusCode::INVALID_ARG)) in onSetSwitchUserResponse() 204 return android::base::Error(static_cast<int>(StatusCode::INVALID_ARG)) in onSetCreateUserResponse() 240 return android::base::Error(static_cast<int>(StatusCode::INVALID_ARG)) in onSetUserIdentificationAssociation() 270 return android::base::Error(static_cast<int>(StatusCode::NOT_AVAILABLE)) << "not set by lshal"; in defaultUserIdentificationAssociation() 287 return android::base::Error(static_cast<int>(StatusCode::NOT_AVAILABLE)) in sendUserHalResponse() 292 return android::base::Error(static_cast<int>(StatusCode::INTERNAL_ERROR)) in sendUserHalResponse()
|
D | VehicleHalServer.h | 36 StatusCode onSetProperty(const VehiclePropValue& value, bool updateStatus) override; 52 StatusCode handleGenerateFakeDataRequest(const VehiclePropValue& request);
|
D | VehicleEmulator.cpp | 128 StatusCode halStatus; in doGetProperty()
|
/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, 86 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/ |
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/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 | VehicleHalManager.cpp | 80 _hidl_cb(StatusCode::INVALID_ARG, hidl_vec<VehiclePropConfig>()); in getPropConfigs() 84 _hidl_cb(StatusCode::OK, configs); in getPropConfigs() 94 _hidl_cb(StatusCode::INVALID_ARG, kEmptyValue); in get() 99 _hidl_cb(StatusCode::ACCESS_DENIED, kEmptyValue); in get() 103 StatusCode status; in get() 111 Return<StatusCode> VehicleHalManager::set(const VehiclePropValue &value) { in set() 116 return StatusCode::INVALID_ARG; in set() 120 return StatusCode::ACCESS_DENIED; in set() 127 return Return<StatusCode>(status); in set() 130 Return<StatusCode> VehicleHalManager::subscribe(const sp<IVehicleCallback> &callback, in subscribe() [all …]
|
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/wifi/supplicant/1.1/vts/functional/ |
D | supplicant_sta_iface_hidl_test.cpp | 98 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument
|
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/ |
D | supplicant_sta_iface_hidl_test.cpp | 175 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument
|
/hardware/interfaces/wifi/supplicant/1.0/ |
D | ISupplicantStaIfaceCallback.hal | 181 enum StatusCode : uint32_t { 472 oneway onAssociationRejected(Bssid bssid, StatusCode statusCode, bool timedOut);
|
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
D | supplicant_sta_iface_hidl_test.cpp | 143 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument
|