Searched refs:PipeHandle (Results 1 – 8 of 8) sorted by relevance
33 class PipeHandle {35 explicit PipeHandle(std::unique_ptr<T> intf) : mInterface(std::move(intf)) { in PipeHandle() function44 virtual PipeHandle<T>* clone() const = 0;49 virtual ~PipeHandle() = default;52 explicit PipeHandle(std::shared_ptr<T> intf) : mInterface(intf){}; in PipeHandle() function
74 std::unique_ptr<PipeHandle<T>> dupPipeHandle() { in dupPipeHandle()75 return std::unique_ptr<PipeHandle<T>>(mPipeHandle->clone()); in dupPipeHandle()78 PipeContext(std::unique_ptr<PipeHandle<T>> h, std::string name) in PipeContext()92 std::unique_ptr<PipeHandle<T>> mPipeHandle;
68 std::unique_ptr<PipeHandle<T>> getClientPipeHandle(const std::string& name, in getClientPipeHandle()84 Error RegisterPipe(std::unique_ptr<PipeHandle<T>> h, const std::string& name) { in RegisterPipe()118 std::unique_ptr<PipeHandle<T>> getPipeHandle(const std::string& name, in getPipeHandle()
37 : PipeHandle(std::make_unique<PipeRunner>(r)), in RunnerHandle()53 PipeHandle<PipeRunner>* RunnerHandle::clone() const { in clone()
34 std::unique_ptr<PipeHandle<PipeRunner>> handle = std::make_unique<RunnerHandle>(graphRunner); in registerPipeRunner()
32 std ::unique_ptr<PipeHandle<PipeRunner>> getDebuggerPipeHandle(const std::string& name) { in getDebuggerPipeHandle()
51 class RunnerHandle : public android::automotive::computepipe::router::PipeHandle<PipeRunner> {60 PipeHandle<PipeRunner>* clone() const override;
57 std ::unique_ptr<PipeHandle<PipeRunner>> getDebuggerPipeHandle(const std::string& name) { in getDebuggerPipeHandle()82 … std::unique_ptr<PipeHandle<PipeRunner>> handle = std::make_unique<RunnerHandle>(runnerIface); in addFakeRunner()