Lines Matching refs:package
24 StringPiece package, type, entry; in TEST() local
25 ASSERT_TRUE(ExtractResourceName("android:string/foo", &package, &type, &entry)); in TEST()
26 EXPECT_EQ("android", package); in TEST()
30 ASSERT_TRUE(ExtractResourceName("@android:string/foo", &package, &type, &entry)); in TEST()
31 EXPECT_EQ("android", package); in TEST()
35 ASSERT_TRUE(ExtractResourceName("string/foo", &package, &type, &entry)); in TEST()
36 EXPECT_EQ("", package); in TEST()
40 ASSERT_TRUE(ExtractResourceName("@string/foo", &package, &type, &entry)); in TEST()
41 EXPECT_EQ("", package); in TEST()
45 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry)); in TEST()
46 EXPECT_EQ("", package); in TEST()
50 ASSERT_TRUE(ExtractResourceName("@foo", &package, &type, &entry)); in TEST()
51 EXPECT_EQ("", package); in TEST()
55 ASSERT_TRUE(ExtractResourceName("android:foo", &package, &type, &entry)); in TEST()
56 EXPECT_EQ("android", package); in TEST()
65 EXPECT_FALSE(ExtractResourceName(":string/foo", &package, &type, &entry)); in TEST()
67 EXPECT_FALSE(ExtractResourceName("@:string/foo", &package, &type, &entry)); in TEST()
69 EXPECT_FALSE(ExtractResourceName("/foo", &package, &type, &entry)); in TEST()
71 EXPECT_FALSE(ExtractResourceName("@/foo", &package, &type, &entry)); in TEST()