Home
last modified time | relevance | path

Searched refs:AIDL_ERROR (Results 1 – 9 of 9) sorted by relevance

/system/tools/aidl/
Daidl_apicheck.cpp43 AIDL_ERROR(newer) << "Changed annotations: " << from << " to " << to; in have_compatible_annotations()
52 AIDL_ERROR(newer) << "Type changed: " << older.ToString() << " to " << newer.ToString() << "."; in are_compatible_types()
71 AIDL_ERROR(old_m) << "Removed or changed method: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
83 AIDL_ERROR(new_m) << "Oneway attribute " << (old_m->IsOneway() ? "removed" : "added") << ": " in are_compatible_interfaces()
89 AIDL_ERROR(new_m) << "Transaction ID changed: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
107 AIDL_ERROR(new_m) << "Direction changed: " << old_a.GetDirectionSpecifier() << " to " in are_compatible_interfaces()
122 AIDL_ERROR(old_c) << "Removed constant declaration: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
134 AIDL_ERROR(newer) << "Changed constant value: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
148 AIDL_ERROR(newer) << "Number of fields in " << older.GetCanonicalName() << " is reduced from " in are_compatible_parcelables()
163 AIDL_ERROR(newer) << "Renamed field: " << old_field->GetName() << " to " in are_compatible_parcelables()
[all …]
Dtype_namespace.cpp96 AIDL_ERROR(raw_type) << "Return type " << raw_type.ToString() << ": " << error_msg; in GetReturnType()
132 AIDL_ERROR(a) << error_prefix << error_msg; in GetArgType()
138 AIDL_ERROR(a) << error_prefix << "'" << a.GetType().ToString() in GetArgType()
144 AIDL_ERROR(a) << error_prefix << "'" << a.ToString() << "' can only be an in parameter."; in GetArgType()
150 AIDL_ERROR(a) << error_prefix << "Argument name is a Java or aidl keyword"; in GetArgType()
156 AIDL_ERROR(a) << error_prefix << "Argument name cannot begin with '_aidl'"; in GetArgType()
Daidl_language.cpp95 AIDL_ERROR(location) << stream.str(); in Parse()
201 AIDL_ERROR(this) << " List cannot have type parameters more than one, but got " in CheckValid()
207 AIDL_ERROR(this) << "Map must have 0 or 2 type parameters, but got " in CheckValid()
216 AIDL_ERROR(this) << "void type cannot be an array or nullable or utf8 string"; in CheckValid()
224 AIDL_ERROR(this) << "Binder type cannot be an array"; in CheckValid()
231 AIDL_ERROR(this) << "Primitive type cannot get nullable annotation"; in CheckValid()
353 AIDL_ERROR(location) << "Invalid character literal " << value; in Character()
382 AIDL_ERROR(location) << "Found invalid character at index " << i << " in string constant '" in String()
407 AIDL_ERROR(type) << "Generic type cannot be specified with a constant literal."; in As()
431 AIDL_ERROR(this) << "Default value must be a literal array of " << type_string << "."; in As()
[all …]
Daidl.cpp149 AIDL_ERROR(defined_type) << name << " should be declared in a file called " << expected; in check_filename()
323 AIDL_ERROR(item) << "Found duplicate method id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
329 AIDL_ERROR(item) << "Found out of bounds id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
339 AIDL_ERROR(item) << "You must either assign id's to all methods or to none of them."; in check_and_assign_method_ids()
537 AIDL_ERROR(import) << "couldn't find import for class " << import; in load_and_validate_aidl()
566 AIDL_ERROR(imported_file) << "error while importing " << imported_file; in load_and_validate_aidl()
629 AIDL_ERROR(unstructuredParcelable) in load_and_validate_aidl()
635 AIDL_ERROR(unstructuredParcelable) in load_and_validate_aidl()
Dimport_resolver.cpp82 AIDL_ERROR(input_file_name_) << "Duplicate files found for " << canonical_name in FindImportFile()
Dtype_cpp.cpp474 AIDL_ERROR(p) << "Parcelable " << p.GetCanonicalName() << " has no C++ header defined."; in AddParcelableType()
Daidl_language_y.yy429 AIDL_ERROR(loc(l)) << errstr;
Daidl_to_java.cpp150 AIDL_ERROR(c.type) << c.type.ToString() << "' is not yet supported."; in EnsureCodegenIsSupported()
Daidl_language.h123 #define AIDL_ERROR(CONTEXT) ::AidlError(false /*fatal*/, (CONTEXT)).os_ macro