Home
last modified time | relevance | path

Searched refs:InputCommand (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/gpuservice/tests/unittests/
DGpuStatsTest.cpp64 enum InputCommand : int32_t { enum
99 std::string inputCommand(InputCommand cmd);
115 std::string GpuStatsTest::inputCommand(InputCommand cmd) { in inputCommand()
120 case InputCommand::DUMP_ALL: in inputCommand()
122 case InputCommand::DUMP_GLOBAL: in inputCommand()
125 case InputCommand::DUMP_APP: in inputCommand()
128 case InputCommand::DUMP_ALL_THEN_CLEAR: in inputCommand()
131 case InputCommand::DUMP_GLOBAL_THEN_CLEAR: in inputCommand()
135 case InputCommand::DUMP_APP_THEN_CLEAR: in inputCommand()
146 ASSERT_TRUE(inputCommand(InputCommand::DUMP_ALL).empty()); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp80 enum InputCommand : int32_t { enum
148 std::string inputCommand(InputCommand cmd, bool useProto);
169 std::string TimeStatsTest::inputCommand(InputCommand cmd, bool useProto) { in inputCommand()
174 case InputCommand::ENABLE: in inputCommand()
177 case InputCommand::DISABLE: in inputCommand()
180 case InputCommand::CLEAR: in inputCommand()
183 case InputCommand::DUMP_ALL: in inputCommand()
186 case InputCommand::DUMP_MAXLAYERS_1: in inputCommand()
191 case InputCommand::DUMP_MAXLAYERS_INVALID: in inputCommand()
254 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
[all …]