Lines Matching refs:I
49 template <typename I>
51 const auto instance = std::string() + I::descriptor + "/" + name; in getService()
53 return I::fromBinder(vibBinder); in getService()
76 template <typename I>
77 using shared_ptr = std::invoke_result_t<decltype(getService<I>)&, std::string>;
79 template <typename I>
86 auto hal = getService<I>(name.empty() ? "default" : name); in Create()
91 R call(R (I::*fn)(Args0...), Args1&&... args1) { in call()
96 HalWrapper(shared_ptr<I>&& hal) : mHal(std::move(hal)) {} in HalWrapper()
99 shared_ptr<I> mHal;
102 template <typename I>
104 static auto sHalWrapper = HalWrapper<I>::Create(); in getHal()
108 template <class R, class I, class... Args0, class... Args1>
109 R halCall(R (I::*fn)(Args0...), Args1&&... args1) { in halCall()
110 auto hal = getHal<I>(); in halCall()