Searched refs:VhalClientResult (Results 1 – 15 of 15) sorted by relevance
/packages/services/Car/cpp/watchdog/server/tests/ |
D | MockVhalClient.h | 31 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<
|
D | MockSubscriptionClient.h | 58 android::frameworks::automotive::vhal::VhalClientResult<void>, subscribe, 62 android::frameworks::automotive::vhal::VhalClientResult<void> unsubscribe( in unsubscribe()
|
D | WatchdogProcessServiceTest.cpp | 58 using ::android::frameworks::automotive::vhal::VhalClientResult; 259 []() -> VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> { in expectGetPropConfigs()
|
/packages/services/Car/cpp/vhal/client/include/ |
D | IVhalClient.h | 127 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 …]
|
D | HidlVhalClient.h | 65 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;
|
D | AidlVhalClient.h | 80 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/ |
D | AidlVhalClientTest.cpp | 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() 487 VhalClientResult<std::unique_ptr<IHalPropValue>>* resultPtr = &result; in TEST_F() [all …]
|
D | HidlVhalClientTest.cpp | 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() 250 VhalClientResult<void> result; in TEST_F() [all …]
|
/packages/services/Car/cpp/vhal/client/src/ |
D | IVhalClient.cpp | 61 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()
|
D | HidlVhalClient.cpp | 151 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()
|
D | AidlVhalClient.cpp | 177 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/ |
D | VehicleBindingUtilTest.cpp | 55 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/ |
D | VehicleBindingUtil.cpp | 49 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/ |
D | EvsStateControl.cpp | 54 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/ |
D | CarPowerPolicyServer.cpp | 80 using ::android::frameworks::automotive::vhal::VhalClientResult; 1230 VhalClientResult<std::unique_ptr<IHalPropValue>> result = in subscribeToProperty() 1265 VhalClientResult<void> result = vhalService->setValueSync(*propValue); in notifyVhalNewPowerPolicy()
|