Home
last modified time | relevance | path

Searched refs:AidlVhalClient (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/cpp/vhal/client/src/
DAidlVhalClient.cpp81 std::shared_ptr<IVhalClient> AidlVhalClient::create() { in create()
93 return std::make_shared<AidlVhalClient>(aidlVhal); in create()
96 std::shared_ptr<IVhalClient> AidlVhalClient::tryCreate() { in tryCreate()
100 std::shared_ptr<IVhalClient> AidlVhalClient::tryCreate(const char* descriptor) { in tryCreate()
113 return std::make_shared<AidlVhalClient>(aidlVhal); in tryCreate()
116 AidlVhalClient::AidlVhalClient(std::shared_ptr<IVehicle> hal) : in AidlVhalClient() function in android::frameworks::automotive::vhal::AidlVhalClient
117 AidlVhalClient(hal, DEFAULT_TIMEOUT_IN_SEC * 1'000) {} in AidlVhalClient()
119 AidlVhalClient::AidlVhalClient(std::shared_ptr<IVehicle> hal, int64_t timeoutInMs) : in AidlVhalClient() function in android::frameworks::automotive::vhal::AidlVhalClient
120 AidlVhalClient(hal, timeoutInMs, std::make_unique<DefaultLinkUnlinkImpl>()) {} in AidlVhalClient()
122 AidlVhalClient::AidlVhalClient(std::shared_ptr<IVehicle> hal, int64_t timeoutInMs, in AidlVhalClient() function in android::frameworks::automotive::vhal::AidlVhalClient
[all …]
DIVhalClient.cpp36 auto client = AidlVhalClient::create(); in create()
45 auto client = AidlVhalClient::tryCreate(); in tryCreate()
54 return AidlVhalClient::tryCreate(descriptor); in tryCreateAidlClient()
/packages/services/Car/cpp/vhal/client/include/
DAidlVhalClient.h50 class AidlVhalClient final : public IVhalClient {
59 explicit AidlVhalClient(
62 AidlVhalClient(std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal,
65 ~AidlVhalClient();
77 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> callback) override;
154 AidlVhalClient(std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal,
163 std::shared_ptr<AidlVhalClient::GetValueCallbackFunc> callback;
169 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> callback;
190 std::shared_ptr<AidlVhalClient::GetValueCallbackFunc> clientCallback,
193 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> clientCallback,
[all …]
/packages/services/Car/cpp/vhal/client/test/
DAidlVhalClientTest.cpp246 class TestLinkUnlinkImpl final : public AidlVhalClient::ILinkUnlinkToDeath {
279 mVhalClient = std::unique_ptr<AidlVhalClient>( in SetUp()
280 new AidlVhalClient(mVhal, TEST_TIMEOUT_IN_MS, std::move(impl))); in SetUp()
283 AidlVhalClient* getClient() { return mVhalClient.get(); } in getClient()
287 void triggerBinderDied() { AidlVhalClient::onBinderDied(mLinkUnlinkImpl->getCookie()); } in triggerBinderDied()
289 void triggerBinderUnlinked() { AidlVhalClient::onBinderUnlinked(mLinkUnlinkImpl->getCookie()); } in triggerBinderUnlinked()
295 std::unique_ptr<AidlVhalClient> mVhalClient;
333 auto callback = std::make_shared<AidlVhalClient::GetValueCallbackFunc>( in TEST_F()
456 auto callback = std::make_shared<AidlVhalClient::GetValueCallbackFunc>( in TEST_F()
490 std::make_shared<AidlVhalClient::GetValueCallbackFunc>( in TEST_F()
[all …]