Lines Matching refs:Parse
155 AidlDefinedType* Parse(const string& path, const string& contents, AidlTypenames& typenames_, in Parse() function in android::aidl::AidlTest
210 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", typenames_, GetLanguage())); in TEST_P()
214 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { } // foo", typenames_, GetLanguage())); in TEST_P()
228 EXPECT_EQ(nullptr, Parse(path, contents, typenames_, GetLanguage())); in TEST_P()
234 EXPECT_NE(nullptr, Parse("a/IBar.aidl", interface_list, typenames_, GetLanguage())); in TEST_P()
242 EXPECT_EQ(nullptr, Parse("a/IBaz.aidl", interface_ibinder, typenames_, GetLanguage())); in TEST_P()
251 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_interface, typenames_, GetLanguage())); in TEST_P()
260 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
269 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
278 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
287 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", method, typenames_, GetLanguage())); in TEST_P()
295 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", method, typenames_, GetLanguage())); in TEST_P()
306 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", method, typenames_, GetLanguage(), &error)); in TEST_P()
318 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", method, typenames_, GetLanguage(), &error)); in TEST_P()
331 EXPECT_EQ(nullptr, Parse("a/Foo.aidl", method, typenames_, GetLanguage(), &error)); in TEST_P()
344 EXPECT_EQ(nullptr, Parse("a/Foo.aidl", method, typenames_, GetLanguage(), &error)); in TEST_P()
351 Parse("a/IFoo.aidl", "package a; interface IFoo { String f(); }", typenames_, GetLanguage()); in TEST_P()
360 auto parse_result = Parse("a/IFoo.aidl", "package a; interface IFoo { @nullable String f(); }", in TEST_P()
371 Parse("a/IFoo.aidl", "package a; interface IFoo { String f(); }", typenames_, GetLanguage()); in TEST_P()
380 auto parse_result = Parse("a/IFoo.aidl", "package a; interface IFoo { @utf8InCpp String f(); }", in TEST_P()
397 ASSERT_EQ(nullptr, Parse("IFoo.aidl", "@VintfStability interface IFoo {}", typenames_, in TEST_P()
409 ASSERT_EQ(nullptr, Parse("IFoo.aidl", "@VintfStability interface IFoo {}", typenames_, in TEST_P()
421 ASSERT_EQ(nullptr, Parse("IFoo.aidl", "@VintfStability interface IFoo {}", typenames_, in TEST_P()
429 auto parse_result = Parse("IFoo.aidl", "@VintfStability interface IFoo {}", typenames_, in TEST_P()
501 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
506 EXPECT_NE(nullptr, Parse("a/IBar.aidl", oneway_interface, typenames_, GetLanguage())); in TEST_P()
512 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
518 const AidlDefinedType* defined = Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage()); in TEST_P()
540 auto parse_result = Parse("a/IFoo.aidl", foo_interface, typenames_, GetLanguage()); in TEST_P()
575 auto parse_result = Parse("p/IFoo.aidl", "package p; import one.IBar; interface IFoo {}", in TEST_P()
597 auto parse_result = Parse("p/IFoo.aidl", "package p; import one.IBar; interface IFoo {}", in TEST_P()
661 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
671 auto parse_result = Parse("p/IFoo.aidl", "package p; interface IFoo { void f(in Inner c); }", in TEST_P()
725 Parse("p/IFoo.aidl", in TEST_P()
737 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
754 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
772 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", R"(package p;)", typenames_, GetLanguage(), &error)); in TEST_P()
782 EXPECT_EQ(nullptr, Parse("p/Foo.aidl", R"(package p; parcelable Foo { uint64_t[] a = { , }; })", in TEST_P()
793 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
811 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", R"(package p; parcelable A.; )", typenames_, in TEST_P()
824 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", R"(package p.; parcelable A; )", typenames_, in TEST_P()
832 auto parse_result = Parse("p/IFoo.aidl", in TEST_P()
851 auto parse_result = Parse("p/IFoo.aidl", in TEST_P()
877 auto parse_result = Parse(input_path, input, typenames_, GetLanguage()); in TEST_P()
893 auto parse_result = Parse(input_path, input, typenames_, GetLanguage()); in TEST_P()
1017 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", primitive_interface, tn1, GetLanguage())); in TEST_P()
1025 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", primitive_parcelable, tn2, GetLanguage())); in TEST_P()
1047 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", primitive_interface, tn1, GetLanguage(), &error, in TEST_P()
1056 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", primitive_parcelable, tn2, GetLanguage(), &error, in TEST_P()
1068 Parse("a/Data.aidl", extendable_parcelable, typenames_, Options::Language::JAVA)); in TEST_F()
1070 Parse("a/Data.aidl", extendable_parcelable, typenames_, Options::Language::CPP)); in TEST_F()
1072 Parse("a/Data.aidl", extendable_parcelable, typenames_, Options::Language::NDK)); in TEST_F()
1078 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", parcelableholder_return_interface, typenames_, in TEST_F()
1080 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", parcelableholder_return_interface, typenames_, in TEST_F()
1082 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", parcelableholder_return_interface, typenames_, in TEST_F()
1089 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", extendable_parcelable_arg_interface, typenames_, in TEST_F()
1091 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", extendable_parcelable_arg_interface, typenames_, in TEST_F()
1093 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", extendable_parcelable_arg_interface, typenames_, in TEST_F()
1353 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", contents, typenames_, GetLanguage())); in TEST_P()
2184 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
2200 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
2216 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
2232 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_P()
2250 EXPECT_EQ(nullptr, Parse("p/TestEnum.aidl", in TEST_P()
2271 EXPECT_EQ(nullptr, Parse("p/TestEnum.aidl", in TEST_P()