platform info get_name code and test.