Home
last modified time | relevance | path

Searched refs:FdInterface (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/
DGpuCapacityNode.h38 struct FdInterface { struct
45 FdInterface() = default;
46 virtual ~FdInterface() = default;
47 FdInterface(FdInterface const &) = delete;
48 FdInterface &operator=(FdInterface const &) = delete; argument
51 struct FdWriter : FdInterface {
66 GpuCapacityNode(std::unique_ptr<FdInterface> fd_interface, int validated_capacity_headroom_fd,
69 std::unique_ptr<FdInterface> fd_interface, std::string_view gpu_node_dir);
77 std::unique_ptr<FdInterface> const fd_interface_;
DGpuCapacityNode.cpp41 GpuCapacityNode::GpuCapacityNode(std::unique_ptr<FdInterface> fd_interface, in GpuCapacityNode()
57 std::unique_ptr<FdInterface> fd_interface, std::string_view gpu_node_dir) { in init_gpu_capacity_node()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DGpuCapacityNodeTest.cpp32 struct MockFdInterface : FdInterface {
40 struct FdInterfaceWrapper : FdInterface {
41 FdInterfaceWrapper(std::shared_ptr<FdInterface> const &wrapped) : wrapped_(wrapped) {} in FdInterfaceWrapper()
56 std::shared_ptr<FdInterface> const wrapped_;