Searched refs:AidlError (Results 1 – 7 of 7) sorted by relevance
/system/tools/aidl/ |
D | aidl.cpp | 471 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options, in load_and_validate_aidl() 475 AidlError err = AidlError::OK; in load_and_validate_aidl() 485 return AidlError::PARSE_ERROR; in load_and_validate_aidl() 488 return AidlError::BAD_TYPE; in load_and_validate_aidl() 494 err = AidlError::BAD_PRE_PROCESSED_FILE; in load_and_validate_aidl() 497 if (err != AidlError::OK) { in load_and_validate_aidl() 538 err = AidlError::BAD_IMPORT; in load_and_validate_aidl() 549 err = AidlError::BAD_IMPORT; in load_and_validate_aidl() 553 return AidlError::BAD_TYPE; in load_and_validate_aidl() 556 if (err != AidlError::OK) { in load_and_validate_aidl() [all …]
|
D | aidl_language.h | 88 friend class AidlError; variable 97 class AidlError { 99 AidlError(bool fatal, const std::string& filename) : AidlError(fatal) { os_ << filename << ": "; } in AidlError() function 100 AidlError(bool fatal, const AidlLocation& location) : AidlError(fatal) { in AidlError() function 103 AidlError(bool fatal, const AidlNode& node) : AidlError(fatal, node.location_) {} in AidlError() function 104 AidlError(bool fatal, const AidlNode* node) : AidlError(fatal, *node) {} in AidlError() function 107 AidlError(bool fatal, const std::unique_ptr<T>& node) : AidlError(fatal, *node) {} in AidlError() function 108 ~AidlError() { in ~AidlError() 116 AidlError(bool fatal); 120 DISALLOW_COPY_AND_ASSIGN(AidlError); [all …]
|
D | aidl.h | 33 enum class AidlError { enum 58 AidlError load_and_validate_aidl(const std::string& input_file_name, const Options& options,
|
D | aidl_unittest.cpp | 134 AidlError* error = nullptr, in Parse() 157 AidlError actual_error = ::android::aidl::internals::load_and_validate_aidl( 164 if (actual_error != AidlError::OK) { 395 AidlError reported_error; in TEST_F() 401 EXPECT_EQ(AidlError::NOT_STRUCTURED, reported_error); in TEST_F() 405 AidlError reported_error; in TEST_F() 416 EXPECT_EQ(AidlError::BAD_TYPE, reported_error); in TEST_F() 420 AidlError reported_error; in TEST_F() 432 EXPECT_EQ(AidlError::BAD_TYPE, reported_error); in TEST_F() 436 AidlError reported_error; in TEST_F() [all …]
|
D | generate_cpp_unittest.cpp | 1384 AidlError err = ::android::aidl::internals::load_and_validate_aidl( in ParseSingleInterface() 1388 if (err != AidlError::OK) { in ParseSingleInterface()
|
D | aidl_apicheck.cpp | 195 nullptr /* imported_files */) != AidlError::OK) { in check_api() 214 nullptr /* imported_files */) != AidlError::OK) { in check_api()
|
D | aidl_language.cpp | 73 AidlError::AidlError(bool fatal) : os_(std::cerr), fatal_(fatal) { in AidlError() function in AidlError
|