Home
last modified time | relevance | path

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

12

/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.h57 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);
DEmulatedVehicleHal.cpp137 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 …]
DEmulatedUserHal.cpp68 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()
DVehicleHalServer.h36 StatusCode onSetProperty(const VehiclePropValue& value, bool updateStatus) override;
52 StatusCode handleGenerateFakeDataRequest(const VehiclePropValue& request);
DVehicleEmulator.cpp128 StatusCode halStatus; in doGetProperty()
/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;
114 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,
86 void onHalPropertySetError(StatusCode errorCode, int32_t property,
DVehicleClient.h51 virtual StatusCode setProperty(const VehiclePropValue& value, bool updateStatus) = 0;
DVehicleServer.h49 virtual StatusCode onSetProperty(const VehiclePropValue& value, bool updateStatus) = 0;
DVehicleConnector.h66 StatusCode setProperty(const VehiclePropValue& value, bool updateStatus) override { in setProperty()
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,
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DWatchdogClient.cpp110 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()
DVehicleHalManager.cpp80 _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 …]
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/wifi/supplicant/1.1/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp98 ISupplicantStaIfaceCallback::StatusCode /* statusCode */, in onAssociationRejected() argument
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp175 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

12