Home
last modified time | relevance | path

Searched refs:VhalClientResult (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DMockVhalClient.h31 using VhalClientResult = android::frameworks::automotive::vhal::VhalClientResult<T>;
57 VhalClientResult<std::unique_ptr<android::frameworks::automotive::vhal::IHalPropValue>>,
64 MOCK_METHOD(VhalClientResult<void>, setValueSync,
66 MOCK_METHOD(VhalClientResult<void>, addOnBinderDiedCallback,
68 MOCK_METHOD(VhalClientResult<void>, removeOnBinderDiedCallback,
70 MOCK_METHOD(VhalClientResult<std::vector<
73 MOCK_METHOD(VhalClientResult<std::vector<
DMockSubscriptionClient.h58 android::frameworks::automotive::vhal::VhalClientResult<void>, subscribe,
62 android::frameworks::automotive::vhal::VhalClientResult<void> unsubscribe( in unsubscribe()
DWatchdogProcessServiceTest.cpp58 using ::android::frameworks::automotive::vhal::VhalClientResult;
259 []() -> VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> { in expectGetPropConfigs()
/packages/services/Car/cpp/vhal/client/include/
DIVhalClient.h127 using VhalClientResult = android::base::Result<T, VhalClientError>; variable
140 virtual VhalClientResult<void> subscribe(
144 virtual VhalClientResult<void> unsubscribe(const std::vector<int32_t>& propIds) = 0;
229 std::function<void(VhalClientResult<std::unique_ptr<IHalPropValue>>)>;
230 using SetValueCallbackFunc = std::function<void(VhalClientResult<void>)>;
278 virtual VhalClientResult<std::unique_ptr<IHalPropValue>> getValueSync(
300 virtual VhalClientResult<void> setValueSync(const IHalPropValue& requestValue);
308 virtual VhalClientResult<void> addOnBinderDiedCallback(
317 virtual VhalClientResult<void> removeOnBinderDiedCallback(
325 virtual VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() = 0;
[all …]
DHidlVhalClient.h65 VhalClientResult<void> addOnBinderDiedCallback(
69 VhalClientResult<void> removeOnBinderDiedCallback(
72 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() override;
74 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getPropConfigs(
113 VhalClientResult<void> subscribe(
116 VhalClientResult<void> unsubscribe(const std::vector<int32_t>& propIds) override;
DAidlVhalClient.h80 VhalClientResult<void> addOnBinderDiedCallback(
84 VhalClientResult<void> removeOnBinderDiedCallback(
87 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() override;
88 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getPropConfigs(
98 inline static VhalClientResult<T> statusToError(const ndk::ScopedAStatus& status, in statusToError()
150 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> parseVehiclePropConfigs(
264 VhalClientResult<void> subscribe(
267 VhalClientResult<void> unsubscribe(const std::vector<int32_t>& propIds) override;
/packages/services/Car/cpp/vhal/client/test/
DAidlVhalClientTest.cpp328 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()
487 VhalClientResult<std::unique_ptr<IHalPropValue>>* resultPtr = &result; in TEST_F()
[all …]
DHidlVhalClientTest.cpp177 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()
250 VhalClientResult<void> result; in TEST_F()
[all …]
/packages/services/Car/cpp/vhal/client/src/
DIVhalClient.cpp61 VhalClientResult<std::unique_ptr<IHalPropValue>> IVhalClient::getValueSync( 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()
92 VhalClientResult<void> result; in setValueSync()
97 std::make_shared<IVhalClient::SetValueCallbackFunc>([&s](VhalClientResult<void> r) { in setValueSync()
DHidlVhalClient.cpp151 VhalClientResult<void> HidlVhalClient::addOnBinderDiedCallback( in addOnBinderDiedCallback()
159 VhalClientResult<void> HidlVhalClient::removeOnBinderDiedCallback( in removeOnBinderDiedCallback()
170 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> HidlVhalClient::getAllPropConfigs() { in getAllPropConfigs()
186 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> HidlVhalClient::getPropConfigs( in getPropConfigs()
243 VhalClientResult<void> HidlSubscriptionClient::subscribe( in subscribe()
267 VhalClientResult<void> HidlSubscriptionClient::unsubscribe(const std::vector<int32_t>& propIds) { in unsubscribe()
DAidlVhalClient.cpp177 VhalClientResult<void> AidlVhalClient::addOnBinderDiedCallback( in addOnBinderDiedCallback()
184 VhalClientResult<void> AidlVhalClient::removeOnBinderDiedCallback( in removeOnBinderDiedCallback()
195 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> AidlVhalClient::getAllPropConfigs() { in getAllPropConfigs()
205 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> AidlVhalClient::getPropConfigs( in getPropConfigs()
217 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>>
560 VhalClientResult<void> AidlSubscriptionClient::subscribe( in subscribe()
579 VhalClientResult<void> AidlSubscriptionClient::unsubscribe(const std::vector<int32_t>& propIds) { in unsubscribe()
/packages/services/Car/cpp/security/vehicle_binding_util/tests/
DVehicleBindingUtilTest.cpp55 using ::android::frameworks::automotive::vhal::VhalClientResult;
83 MOCK_METHOD(VhalClientResult<void>, addOnBinderDiedCallback,
86 MOCK_METHOD(VhalClientResult<void>, removeOnBinderDiedCallback,
89 MOCK_METHOD(VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>>, getAllPropConfigs,
92 MOCK_METHOD(VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>>, getPropConfigs,
/packages/services/Car/cpp/security/vehicle_binding_util/src/
DVehicleBindingUtil.cpp49 using ::android::frameworks::automotive::vhal::VhalClientResult;
91 VhalClientResult<std::unique_ptr<IHalPropValue>> result = vehicle->getValueSync(*desired_prop); in getSeedVhalProperty()
/packages/services/Car/cpp/evs/apps/default/src/
DEvsStateControl.cpp54 using android::frameworks::automotive::vhal::VhalClientResult;
305 VhalClientResult<std::unique_ptr<IHalPropValue>> result = mVehicle->getValueSync(*halPropValue); in invokeGet()
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp80 using ::android::frameworks::automotive::vhal::VhalClientResult;
1230 VhalClientResult<std::unique_ptr<IHalPropValue>> result = in subscribeToProperty()
1265 VhalClientResult<void> result = vhalService->setValueSync(*propValue); in notifyVhalNewPowerPolicy()