Searched refs:GpuCapacityNode (Results 1 – 5 of 5) sorted by relevance
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | GpuCapacityNode.cpp | 36 GpuCapacityNode::~GpuCapacityNode() { in ~GpuCapacityNode() 41 GpuCapacityNode::GpuCapacityNode(std::unique_ptr<FdInterface> fd_interface, in GpuCapacityNode() function in aidl::google::hardware::power::impl::pixel::GpuCapacityNode 56 std::unique_ptr<GpuCapacityNode> GpuCapacityNode::init_gpu_capacity_node( in init_gpu_capacity_node() 75 return std::make_unique<GpuCapacityNode>(std::move(fd_interface), capacity_headroom_fd, in init_gpu_capacity_node() 79 bool GpuCapacityNode::set_gpu_capacity(Cycles capacity) const { in set_gpu_capacity() 92 std::optional<Frequency> GpuCapacityNode::gpu_frequency() const { in gpu_frequency() 131 std::optional<std::unique_ptr<GpuCapacityNode>> createGpuCapacityNode() { in createGpuCapacityNode() 136 return {GpuCapacityNode::init_gpu_capacity_node(std::make_unique<FdWriter>(), *path)}; in createGpuCapacityNode()
|
D | GpuCapacityNode.h | 63 struct GpuCapacityNode final { 66 GpuCapacityNode(std::unique_ptr<FdInterface> fd_interface, int validated_capacity_headroom_fd, 68 static std::unique_ptr<GpuCapacityNode> init_gpu_capacity_node( 71 ~GpuCapacityNode() noexcept; 87 std::optional<std::unique_ptr<GpuCapacityNode>> createGpuCapacityNode();
|
D | PowerSessionManager.h | 139 std::optional<std::unique_ptr<GpuCapacityNode>> const mGpuCapacityNode;
|
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | GpuCapacityNodeTest.cpp | 75 GpuCapacityNode capacity_node(std::make_unique<FdInterfaceWrapper>(mock_fd_interface), fake_fd, in TEST_F() 88 auto const node = GpuCapacityNode::init_gpu_capacity_node( in TEST_F() 95 auto const node = GpuCapacityNode::init_gpu_capacity_node( in TEST_F() 105 auto const node = GpuCapacityNode::init_gpu_capacity_node( in TEST_F() 113 GpuCapacityNode capacity_node(std::make_unique<FdInterfaceWrapper>(mock_fd_interface), fake_fd, in TEST_F() 120 GpuCapacityNode capacity_node(std::make_unique<FdInterfaceWrapper>(mock_fd_interface), fake_fd, in TEST_F() 141 GpuCapacityNode capacity_node(std::make_unique<FdInterfaceWrapper>(mock_fd_interface), fake_fd, in TEST_F() 164 GpuCapacityNode capacity_node(std::make_unique<FdInterfaceWrapper>(mock_fd_interface), fake_fd, in TEST_F() 184 GpuCapacityNode capacity_node(std::make_unique<FdInterfaceWrapper>(mock_fd_interface), fake_fd, in TEST_F() 194 GpuCapacityNode capacity_node(std::make_unique<FdInterfaceWrapper>(mock_fd_interface), fake_fd, in TEST_F() [all …]
|
/hardware/google/pixel/power-libperfmgr/ |
D | Android.bp | 64 "aidl/GpuCapacityNode.cpp", 124 "aidl/GpuCapacityNode.cpp",
|