Lines Matching refs:inputCommand
148 std::string inputCommand(InputCommand cmd, bool useProto);
169 std::string TimeStatsTest::inputCommand(InputCommand cmd, bool useProto) { in inputCommand() function in android::__anonddca66e00111::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()
329 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
352 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
380 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
396 std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
405 result = inputCommand(InputCommand::DUMP_ALL, FMT_STRING); in TEST_F()
414 result = inputCommand(InputCommand::DUMP_ALL, FMT_STRING); in TEST_F()
425 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
441 std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
450 result = inputCommand(InputCommand::DUMP_ALL, FMT_STRING); in TEST_F()
459 result = inputCommand(InputCommand::DUMP_ALL, FMT_STRING); in TEST_F()
476 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
487 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
517 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
522 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
529 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
536 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
541 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
556 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
561 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
581 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
590 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
600 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
609 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
622 ASSERT_TRUE(preFlushProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
632 ASSERT_TRUE(postFlushProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
642 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
648 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
684 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
694 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
720 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
726 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
732 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
740 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
746 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
752 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
784 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
795 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
824 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
834 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
841 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
849 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
858 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
870 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
879 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
887 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
896 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
914 EXPECT_TRUE(inputCommand(InputCommand::CLEAR, FMT_STRING).empty()); in TEST_F()
917 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
930 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
961 EXPECT_TRUE(inputCommand(InputCommand::CLEAR, FMT_STRING).empty()); in TEST_F()
963 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
990 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1000 globalProto.ParseFromString(inputCommand(InputCommand::DUMP_MAXLAYERS_1, FMT_PROTO))); in TEST_F()
1011 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1018 inputCommand(InputCommand::DUMP_MAXLAYERS_INVALID, FMT_PROTO))); in TEST_F()
1024 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1028 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
1086 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1175 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
1184 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
1230 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1320 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
1326 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()
1353 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1454 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1476 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1502 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1523 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1547 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1572 EXPECT_TRUE(inputCommand(InputCommand::CLEAR, FMT_STRING).empty()); in TEST_F()
1573 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F()
1578 const std::string result(inputCommand(InputCommand::DUMP_ALL, FMT_STRING)); in TEST_F()