/packages/services/Car/cpp/vhal/client/include/ |
D | IHalPropValue.h | 32 class IHalPropValue { 65 virtual ~IHalPropValue() = default; 67 IHalPropValue() = default; 70 IHalPropValue(const IHalPropValue& other) = delete; 73 virtual std::unique_ptr<IHalPropValue> clone() const = 0;
|
D | IVhalClient.h | 47 virtual void onPropertyEvent(const std::vector<std::unique_ptr<IHalPropValue>>& values) = 0; 229 std::function<void(VhalClientResult<std::unique_ptr<IHalPropValue>>)>; 247 virtual std::unique_ptr<IHalPropValue> createHalPropValue(int32_t propId) = 0; 256 virtual std::unique_ptr<IHalPropValue> createHalPropValue(int32_t propId, int32_t areaId) = 0; 267 virtual void getValue(const IHalPropValue& requestValue, 278 virtual VhalClientResult<std::unique_ptr<IHalPropValue>> getValueSync( 279 const IHalPropValue& requestValue); 289 virtual void setValue(const IHalPropValue& requestValue, 300 virtual VhalClientResult<void> setValueSync(const IHalPropValue& requestValue);
|
D | AidlVhalClient.h | 69 std::unique_ptr<IHalPropValue> createHalPropValue(int32_t propId) override; 71 std::unique_ptr<IHalPropValue> createHalPropValue(int32_t propId, int32_t areaId) override; 73 void getValue(const IHalPropValue& requestValue, 76 void setValue(const IHalPropValue& value, 189 void getValue(int64_t requestId, const IHalPropValue& requestValue, 192 void setValue(int64_t requestId, const IHalPropValue& requestValue, 210 void addGetValueRequest(int64_t requestId, const IHalPropValue& requestValue, 213 void addSetValueRequest(int64_t requestId, const IHalPropValue& requestValue,
|
D | HidlVhalClient.h | 54 std::unique_ptr<IHalPropValue> createHalPropValue(int32_t propId) override; 56 std::unique_ptr<IHalPropValue> createHalPropValue(int32_t propId, int32_t areaId) override; 58 void getValue(const IHalPropValue& requestValue, 61 void setValue(const IHalPropValue& value,
|
D | AidlHalPropValue.h | 29 class AidlHalPropValue : public IHalPropValue { 67 std::unique_ptr<IHalPropValue> clone() const override;
|
D | HidlHalPropValue.h | 29 class HidlHalPropValue : public IHalPropValue { 66 std::unique_ptr<IHalPropValue> clone() const override;
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | MockVhalClient.h | 48 MOCK_METHOD(std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>, 50 MOCK_METHOD(std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>, 53 (const android::frameworks::automotive::vhal::IHalPropValue&, 57 VhalClientResult<std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>, 58 getValueSync, (const android::frameworks::automotive::vhal::IHalPropValue&), 61 (const android::frameworks::automotive::vhal::IHalPropValue&, 65 (const android::frameworks::automotive::vhal::IHalPropValue&), (override));
|
/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
D | VehicleBindingUtilTest.cpp | 51 using ::android::frameworks::automotive::vhal::IHalPropValue; 73 MOCK_METHOD(std::unique_ptr<IHalPropValue>, createHalPropValue, (int32_t), (override)); 75 MOCK_METHOD(std::unique_ptr<IHalPropValue>, createHalPropValue, (int32_t, int32_t), (override)); 77 MOCK_METHOD(void, getValue, (const IHalPropValue&, std::shared_ptr<GetValueCallbackFunc>), 80 MOCK_METHOD(void, setValue, (const IHalPropValue&, std::shared_ptr<SetValueCallbackFunc>), 138 [seed](const IHalPropValue& propValue, in setMockVhalPropertyValue() 142 std::unique_ptr<IHalPropValue> value = in setMockVhalPropertyValue() 198 .WillOnce([](const IHalPropValue& propValue, in TEST_F() 213 .WillOnce([](const IHalPropValue&, in TEST_F() 228 .WillOnce([SEED](const IHalPropValue& value, in TEST_F() argument
|
/packages/services/Car/cpp/vhal/client/src/ |
D | IVhalClient.cpp | 61 VhalClientResult<std::unique_ptr<IHalPropValue>> IVhalClient::getValueSync( in getValueSync() 62 const IHalPropValue& requestValue) { in getValueSync() 66 VhalClientResult<std::unique_ptr<IHalPropValue>> result; in getValueSync() 71 [&s](VhalClientResult<std::unique_ptr<IHalPropValue>> r) { in getValueSync() 88 VhalClientResult<void> IVhalClient::setValueSync(const IHalPropValue& requestValue) { in setValueSync()
|
D | AidlHalPropValue.cpp | 27 AidlHalPropValue::AidlHalPropValue(int32_t propId) : IHalPropValue() { in AidlHalPropValue() 32 AidlHalPropValue::AidlHalPropValue(int32_t propId, int32_t areaId) : IHalPropValue() { in AidlHalPropValue() 38 AidlHalPropValue::AidlHalPropValue(VehiclePropValue&& value) : IHalPropValue() { in AidlHalPropValue() 102 std::unique_ptr<IHalPropValue> AidlHalPropValue::clone() const { in clone()
|
D | AidlVhalClient.cpp | 147 std::unique_ptr<IHalPropValue> AidlVhalClient::createHalPropValue(int32_t propId) { in createHalPropValue() 151 std::unique_ptr<IHalPropValue> AidlVhalClient::createHalPropValue(int32_t propId, int32_t areaId) { in createHalPropValue() 165 void AidlVhalClient::getValue(const IHalPropValue& requestValue, in getValue() 171 void AidlVhalClient::setValue(const IHalPropValue& requestValue, in setValue() 292 int64_t requestId, const IHalPropValue& requestValue, in getValue() 310 std::unique_ptr<IHalPropValue>>(status, in getValue() 323 IHalPropValue>>(status, in getValue() 331 int64_t requestId, const IHalPropValue& requestValue, in setValue() 368 int64_t requestId, const IHalPropValue& requestProp, in addGetValueRequest() 381 int64_t requestId, const IHalPropValue& requestProp, in addSetValueRequest() [all …]
|
D | HidlVhalClient.cpp | 94 std::unique_ptr<IHalPropValue> HidlVhalClient::createHalPropValue(int32_t propId) { in createHalPropValue() 98 std::unique_ptr<IHalPropValue> HidlVhalClient::createHalPropValue(int32_t propId, int32_t areaId) { in createHalPropValue() 102 void HidlVhalClient::getValue(const IHalPropValue& requestValue, in getValue() 129 void HidlVhalClient::setValue(const IHalPropValue& value, in setValue() 289 std::vector<std::unique_ptr<IHalPropValue>> halPropValues; in onPropertyEvent()
|
D | HidlHalPropValue.cpp | 102 std::unique_ptr<IHalPropValue> HidlHalPropValue::clone() const { in clone()
|
/packages/services/Car/cpp/vhal/client/test/ |
D | HidlVhalClientTest.cpp | 127 void onPropertyEvent(const std::vector<std::unique_ptr<IHalPropValue>>& values) override { in onPropertyEvent() 177 VhalClientResult<std::unique_ptr<IHalPropValue>> result; in TEST_F() 178 VhalClientResult<std::unique_ptr<IHalPropValue>>* resultPtr = &result; in TEST_F() 182 [resultPtr, gotResultPtr](VhalClientResult<std::unique_ptr<IHalPropValue>> r) { in TEST_F() 202 VhalClientResult<std::unique_ptr<IHalPropValue>> result; in TEST_F() 203 VhalClientResult<std::unique_ptr<IHalPropValue>>* resultPtr = &result; in TEST_F() 207 [resultPtr, gotResultPtr](VhalClientResult<std::unique_ptr<IHalPropValue>> r) { in TEST_F() 233 VhalClientResult<std::unique_ptr<IHalPropValue>> result; in TEST_F() 234 VhalClientResult<std::unique_ptr<IHalPropValue>>* resultPtr = &result; in TEST_F() 238 [resultPtr, gotResultPtr](VhalClientResult<std::unique_ptr<IHalPropValue>> r) { in TEST_F() [all …]
|
D | AidlVhalClientTest.cpp | 228 void onPropertyEvent(const std::vector<std::unique_ptr<IHalPropValue>>& values) override { in onPropertyEvent() 328 VhalClientResult<std::unique_ptr<IHalPropValue>> result; in TEST_F() 329 VhalClientResult<std::unique_ptr<IHalPropValue>>* resultPtr = &result; in TEST_F() 335 gotResultPtr](VhalClientResult<std::unique_ptr<IHalPropValue>> r) { in TEST_F() 382 VhalClientResult<std::unique_ptr<IHalPropValue>> result = getClient()->getValueSync(propValue); in TEST_F() 414 VhalClientResult<std::unique_ptr<IHalPropValue>> result = getClient()->getValueSync(propValue); in TEST_F() 451 VhalClientResult<std::unique_ptr<IHalPropValue>> result; in TEST_F() 452 VhalClientResult<std::unique_ptr<IHalPropValue>>* resultPtr = &result; in TEST_F() 458 gotResultPtr](VhalClientResult<std::unique_ptr<IHalPropValue>> r) { in TEST_F() 486 VhalClientResult<std::unique_ptr<IHalPropValue>> result; in TEST_F() [all …]
|
/packages/services/Car/cpp/security/vehicle_binding_util/src/ |
D | VehicleBindingUtil.cpp | 47 using ::android::frameworks::automotive::vhal::IHalPropValue; 91 VhalClientResult<std::unique_ptr<IHalPropValue>> result = vehicle->getValueSync(*desired_prop); in getSeedVhalProperty()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.cpp | 77 using ::android::frameworks::automotive::vhal::IHalPropValue; 143 const std::vector<std::unique_ptr<IHalPropValue>>& values) { in onPropertyEvent() 1186 [this](const IHalPropValue& value) { in subscribeToVhal() 1199 [this](const IHalPropValue& value) { in subscribeToVhal() 1215 int32_t prop, std::function<void(const IHalPropValue&)> processor) { in subscribeToProperty() 1230 VhalClientResult<std::unique_ptr<IHalPropValue>> result = in subscribeToProperty() 1262 std::unique_ptr<IHalPropValue> propValue = vhalService->createHalPropValue(prop); in notifyVhalNewPowerPolicy()
|
D | CarPowerPolicyServer.h | 75 std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>& 304 std::function<void(const android::frameworks::automotive::vhal::IHalPropValue&)>
|
/packages/services/Car/cpp/evs/apps/default/inc/ |
D | EvsVehicleListener.h | 35 std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>& in onPropertyEvent()
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | EvsStateControl.cpp | 52 using android::frameworks::automotive::vhal::IHalPropValue; 305 VhalClientResult<std::unique_ptr<IHalPropValue>> result = mVehicle->getValueSync(*halPropValue); in invokeGet()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogProcessService.h | 229 std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>&
|
D | WatchdogProcessService.cpp | 81 using ::android::frameworks::automotive::vhal::IHalPropValue; 1405 const std::vector<std::unique_ptr<IHalPropValue>>& propValues) { in onPropertyEvent()
|