Home
last modified time | relevance | path

Searched refs:StatusCode (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalManager_test.cpp54 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 …]
DSubscriptionManager_test.cpp105 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()
DVehicleHalTestUtils.h108 Return<void> onPropertySetError(StatusCode /* errorCode */, in onPropertySetError() argument
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedVehicleHal.cpp105 const VehiclePropValue& requestedPropValue, StatusCode* outStatus) { in get()
125 *outStatus = v != nullptr ? StatusCode::OK : StatusCode::INVALID_ARG; in get()
132 StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) { in set()
136 StatusCode status = handleGenerateFakeDataRequest(propValue); in set()
137 if (status != StatusCode::OK) { in set()
149 return StatusCode::NOT_AVAILABLE; in set()
159 return StatusCode::OK; in set()
190 return StatusCode::INVALID_ARG; in set()
195 return StatusCode::INVALID_ARG; in set()
199 return StatusCode::NOT_AVAILABLE; in set()
[all …]
DEmulatedVehicleHal.h54 StatusCode* outStatus) override;
55 StatusCode set(const VehiclePropValue& propValue) override;
56 StatusCode subscribe(int32_t property, float sampleRate) override;
57 StatusCode unsubscribe(int32_t property) override;
68 StatusCode handleGenerateFakeDataRequest(const VehiclePropValue& request);
79 StatusCode fillObd2FreezeFrame(const VehiclePropValue& requestedPropValue,
81 StatusCode fillObd2DtcInfo(VehiclePropValue* outValue);
82 StatusCode clearObd2FreezeFrames(const VehiclePropValue& propValue);
DVehicleEmulator.cpp127 StatusCode halStatus; in doGetProperty()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp70 _hidl_cb(StatusCode::INVALID_ARG, hidl_vec<VehiclePropConfig>()); in getPropConfigs()
74 _hidl_cb(StatusCode::OK, configs); in getPropConfigs()
84 _hidl_cb(StatusCode::INVALID_ARG, kEmptyValue); in get()
89 _hidl_cb(StatusCode::ACCESS_DENIED, kEmptyValue); in get()
93 StatusCode status; in get()
101 Return<StatusCode> VehicleHalManager::set(const VehiclePropValue &value) { in set()
106 return StatusCode::INVALID_ARG; in set()
110 return StatusCode::ACCESS_DENIED; in set()
117 return Return<StatusCode>(status); in set()
120 Return<StatusCode> VehicleHalManager::subscribe(const sp<IVehicleCallback> &callback, in subscribe()
[all …]
DObd2SensorStore.cpp65 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()
DSubscriptionManager.cpp86 StatusCode SubscriptionManager::addOrUpdateSubscription( in addOrUpdateSubscription()
99 return StatusCode::INTERNAL_ERROR; in addOrUpdateSubscription()
117 return StatusCode::OK; in addOrUpdateSubscription()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleHal.h39 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;
94 void doHalPropertySetError(StatusCode errorCode, in doHalPropertySetError()
DObd2SensorStore.h40 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);
DVehicleHalManager.h69 Return<StatusCode> set(const VehiclePropValue& value) override;
70 Return<StatusCode> subscribe(const sp<IVehicleCallback>& callback,
72 Return<StatusCode> unsubscribe(const sp<IVehicleCallback>& callback,
84 void onHalPropertySetError(StatusCode errorCode, int32_t property,
DSubscriptionManager.h104 StatusCode addOrUpdateSubscription(ClientId clientId,
/hardware/interfaces/automotive/vehicle/2.0/
DIVehicle.hal32 * 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 …]
DIVehicleCallback.hal47 * client received StatusCode::OK from the IVehicle::set(...) this
51 * @param errorCode - any value from StatusCode enum.
56 oneway onPropertySetError(StatusCode errorCode,
Dtypes.hal132 * - IVehicle#set may return StatusCode::NOT_AVAILABLE.
2003 * IVehicle#get must always return StatusCode::NOT_AVAILABLE.
2981 enum StatusCode : int32_t {
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp96 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp165 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantStaIfaceCallback.hal181 enum StatusCode : uint32_t {
472 oneway onAssociationRejected(Bssid bssid, StatusCode statusCode, bool timedOut);
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp143 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument