Lines Matching refs:AidlVhalClient
81 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
128 AIBinder_DeathRecipient_new(&AidlVhalClient::onBinderDied)); in AidlVhalClient()
138 AidlVhalClient::~AidlVhalClient() { in ~AidlVhalClient()
143 bool AidlVhalClient::isAidlVhal() { in isAidlVhal()
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()
155 binder_status_t AidlVhalClient::DefaultLinkUnlinkImpl::linkToDeath( in linkToDeath()
160 binder_status_t AidlVhalClient::DefaultLinkUnlinkImpl::unlinkToDeath( in unlinkToDeath()
165 void AidlVhalClient::getValue(const IHalPropValue& requestValue, in getValue()
171 void AidlVhalClient::setValue(const IHalPropValue& requestValue, in setValue()
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()
218 AidlVhalClient::parseVehiclePropConfigs(const VehiclePropConfigs& configs) { in parseVehiclePropConfigs()
233 void AidlVhalClient::onBinderDied(void* cookie) { in onBinderDied()
234 AidlVhalClient* vhalClient = reinterpret_cast<AidlVhalClient*>(cookie); in onBinderDied()
238 void AidlVhalClient::onBinderUnlinked(void* cookie) { in onBinderUnlinked()
239 AidlVhalClient* vhalClient = reinterpret_cast<AidlVhalClient*>(cookie); in onBinderUnlinked()
243 void AidlVhalClient::onBinderDiedWithContext() { in onBinderDiedWithContext()
250 void AidlVhalClient::onBinderUnlinkedWithContext() { in onBinderUnlinkedWithContext()
255 size_t AidlVhalClient::countOnBinderDiedCallbacks() { in countOnBinderDiedCallbacks()
260 int32_t AidlVhalClient::getRemoteInterfaceVersion() { in getRemoteInterfaceVersion()
268 std::unique_ptr<ISubscriptionClient> AidlVhalClient::getSubscriptionClient( in getSubscriptionClient()
293 std::shared_ptr<AidlVhalClient::GetValueCallbackFunc> clientCallback, in getValue()
309 (*clientCallback)(AidlVhalClient::statusToError< in getValue()
322 AidlVhalClient::statusToError<std::unique_ptr< in getValue()
332 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> clientCallback, in setValue()
348 (*clientCallback)(AidlVhalClient::statusToError< in setValue()
359 (*clientCallback)(AidlVhalClient::statusToError< in setValue()
369 std::shared_ptr<AidlVhalClient::GetValueCallbackFunc> callback) { in addGetValueRequest()
382 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> callback) { in addSetValueRequest()
453 std::shared_ptr<AidlVhalClient::GetValueCallbackFunc> callback = pendingRequest->callback; in onGetValue()
496 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> callback = pendingRequest->callback; in onSetValue()
571 return AidlVhalClient::statusToError< in subscribe()
581 return AidlVhalClient::statusToError< in unsubscribe()