Searched refs:TableColumnType (Results 1 – 5 of 5) sorted by relevance
51 static std::string getTitle(TableColumnType type) { in getTitle()53 case TableColumnType::INTERFACE_NAME: return "Interface"; in getTitle()54 case TableColumnType::TRANSPORT: return "Transport"; in getTitle()55 case TableColumnType::SERVER_PID: return "Server"; in getTitle()56 case TableColumnType::SERVER_CMD: return "Server CMD"; in getTitle()57 case TableColumnType::SERVER_ADDR: return "PTR"; in getTitle()58 case TableColumnType::CLIENT_PIDS: return "Clients"; in getTitle()59 case TableColumnType::CLIENT_CMDS: return "Clients CMD"; in getTitle()60 case TableColumnType::ARCH: return "Arch"; in getTitle()61 case TableColumnType::THREADS: return "Thread Use"; in getTitle()[all …]
925 thiz->mSelectedColumns.push_back(TableColumnType::INTERFACE_NAME); in registerAllOptions()929 thiz->mSelectedColumns.push_back(TableColumnType::RELEASED); in registerAllOptions()933 thiz->mSelectedColumns.push_back(TableColumnType::TRANSPORT); in registerAllOptions()937 thiz->mSelectedColumns.push_back(TableColumnType::ARCH); in registerAllOptions()941 thiz->mSelectedColumns.push_back(TableColumnType::HASH); in registerAllOptions()945 thiz->mSelectedColumns.push_back(TableColumnType::SERVER_PID); in registerAllOptions()949 thiz->mSelectedColumns.push_back(TableColumnType::SERVER_ADDR); in registerAllOptions()953 thiz->mSelectedColumns.push_back(TableColumnType::CLIENT_PIDS); in registerAllOptions()957 thiz->mSelectedColumns.push_back(TableColumnType::THREADS); in registerAllOptions()972 thiz->mSelectedColumns.push_back(TableColumnType::VINTF); in registerAllOptions()[all …]
38 enum class TableColumnType : unsigned int { enum113 std::string getField(TableColumnType type) const;119 using SelectedColumns = std::vector<TableColumnType>;
241 EXPECT_EQ(SelectedColumns({TableColumnType::SERVER_PID, TableColumnType::INTERFACE_NAME, in TEST_F()242 TableColumnType::SERVER_ADDR, TableColumnType::CLIENT_PIDS}), in TEST_F()251 EXPECT_THAT(table.getSelectedColumns(), Not(Contains(TableColumnType::SERVER_PID))) in TEST_F()253 EXPECT_THAT(table.getSelectedColumns(), Not(Contains(TableColumnType::CLIENT_PIDS))) in TEST_F()255 EXPECT_THAT(table.getSelectedColumns(), Contains(TableColumnType::SERVER_CMD)) in TEST_F()257 EXPECT_THAT(table.getSelectedColumns(), Contains(TableColumnType::CLIENT_CMDS)) in TEST_F()
198 std::vector<TableColumnType> mSelectedColumns;