Home
last modified time | relevance | path

Searched refs:AidlError (Results 1 – 5 of 5) sorted by relevance

/system/tools/aidl/
Daidl.cpp412 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options, in load_and_validate_aidl()
415 AidlError err = AidlError::OK; in load_and_validate_aidl()
424 return AidlError::PARSE_ERROR; in load_and_validate_aidl()
432 return AidlError::BAD_TYPE; in load_and_validate_aidl()
440 err = AidlError::BAD_PRE_PROCESSED_FILE; in load_and_validate_aidl()
443 if (err != AidlError::OK) { in load_and_validate_aidl()
494 err = AidlError::BAD_IMPORT; in load_and_validate_aidl()
504 err = AidlError::BAD_IMPORT; in load_and_validate_aidl()
508 if (err != AidlError::OK) { in load_and_validate_aidl()
518 err = AidlError::BAD_IMPORT; in load_and_validate_aidl()
[all …]
Daidl_unittest.cpp156 Options::Language lang, AidlError* error = nullptr, in Parse()
175 AidlError actual_error = ::android::aidl::internals::load_and_validate_aidl(
182 if (actual_error != AidlError::OK) {
300 AidlError error; in TEST_P()
308 EXPECT_EQ(AidlError::BAD_TYPE, error); in TEST_P()
312 AidlError error; in TEST_P()
320 EXPECT_EQ(AidlError::BAD_TYPE, error); in TEST_P()
324 AidlError error; in TEST_P()
333 EXPECT_EQ(AidlError::BAD_TYPE, error); in TEST_P()
337 AidlError error; in TEST_P()
[all …]
Daidl.h32 enum class AidlError { enum
81 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options,
Dgenerate_cpp_unittest.cpp1526 AidlError err = ::android::aidl::internals::load_and_validate_aidl( in ParseSingleInterface()
1529 if (err != AidlError::OK) { in ParseSingleInterface()
1544 AidlError err = ::android::aidl::internals::load_and_validate_aidl( in ParseSingleEnumDeclaration()
1547 if (err != AidlError::OK) { in ParseSingleEnumDeclaration()
Daidl_checkapi.cpp306 nullptr /* imported_files */) != AidlError::OK) { in load_from_dir()