Searched refs:inputCommand (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/gpuservice/tests/unittests/ |
D | GpuStatsTest.cpp | 99 std::string inputCommand(InputCommand cmd); 115 std::string GpuStatsTest::inputCommand(InputCommand cmd) { in inputCommand() function in android::__anonb7a9c2f40111::GpuStatsTest 146 ASSERT_TRUE(inputCommand(InputCommand::DUMP_ALL).empty()); in TEST_F() 156 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 158 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 160 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 162 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 163 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr("glLoadingCount = 1")); in TEST_F() 164 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr("glLoadingFailureCount = 0")); in TEST_F() 166 EXPECT_THAT(inputCommand(InputCommand::DUMP_APP), HasSubstr(expectedResult)); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 148 std::string inputCommand(InputCommand cmd, bool useProto); 169 std::string TimeStatsTest::inputCommand(InputCommand cmd, bool useProto) { in inputCommand() function in android::__anon0d647eea0111::TimeStatsTest 254 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 257 EXPECT_TRUE(inputCommand(InputCommand::DISABLE, FMT_STRING).empty()); in TEST_F() 266 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 282 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 296 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 304 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F() 313 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 321 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F() [all …]
|