Searched refs:FindLayoutNameFromFilename (Results 1 – 5 of 5) sorted by relevance
26 TEST(UtilTest, FindLayoutNameFromFilename) { in TEST() argument27 EXPECT_EQ("bar", startop::util::FindLayoutNameFromFilename("foo/bar.xml")); in TEST()28 EXPECT_EQ("bar", startop::util::FindLayoutNameFromFilename("bar.xml")); in TEST()29 EXPECT_EQ("bar", startop::util::FindLayoutNameFromFilename("./foo/bar.xml")); in TEST()30 EXPECT_EQ("bar", startop::util::FindLayoutNameFromFilename("/foo/bar.xml")); in TEST()
24 std::string FindLayoutNameFromFilename(const std::string& filename);
25 string FindLayoutNameFromFilename(const string& filename) { in FindLayoutNameFromFilename() function
138 const string layout_name = startop::util::FindLayoutNameFromFilename(filename); in main()
122 const std::string layout_name = startop::util::FindLayoutNameFromFilename(layout_path); in CompileApkAssetsLayouts()