Searched refs:inputCommand (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/gpuservice/tests/unittests/ |
D | GpuStatsTest.cpp | 76 std::string inputCommand(InputCommand cmd); 88 std::string GpuStatsTest::inputCommand(InputCommand cmd) { in inputCommand() function in android::__anon5e2f811b0111::GpuStatsTest 119 ASSERT_TRUE(inputCommand(InputCommand::DUMP_ALL).empty()); in TEST_F() 129 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 131 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 133 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 135 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr(expectedResult)); in TEST_F() 136 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr("glLoadingCount = 1")); in TEST_F() 137 EXPECT_THAT(inputCommand(InputCommand::DUMP_GLOBAL), HasSubstr("glLoadingFailureCount = 0")); in TEST_F() 139 EXPECT_THAT(inputCommand(InputCommand::DUMP_APP), HasSubstr(expectedResult)); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 147 std::string inputCommand(InputCommand cmd, bool useProto); 168 std::string TimeStatsTest::inputCommand(InputCommand cmd, bool useProto) { in inputCommand() function in android::__anon1e2a2d710111::TimeStatsTest 253 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 256 EXPECT_TRUE(inputCommand(InputCommand::DISABLE, FMT_STRING).empty()); in TEST_F() 265 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 278 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 292 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 300 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F() 309 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 317 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F() [all …]
|