Lines Matching refs:hal
103 static void GetService(DriverBase *hal, string service_name, bool binder_mode) { in GetService() argument
108 if (!hal->GetService(true, service_name.c_str())) { in GetService()
117 if (!hal->GetService(false, service_name.c_str())) { in GetService()
128 DriverBase *hal; in LoadInterface() local
140 hal = hal_loader(hidl_service); in LoadInterface()
144 hal = hal_loader(); in LoadInterface()
146 return hal; in LoadInterface()
164 std::shared_ptr<DriverBase> hal{LoadInterface(*comp_spec)}; in Init() local
171 GetService(hal.get(), service_name, binder_mode); in Init()
175 .comp_spec_ = comp_spec, .hal_ = hal, in Init()
222 std::shared_ptr<DriverBase> hal{LoadInterface(*comp_spec, hidl_service)}; in ProcessReturnValue() local
231 .comp_spec_ = comp_spec, .hal_ = hal, in ProcessReturnValue()