Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_checkapi.cpp69 AIDL_ERROR(newer) << "Changed annotations: " << from << " to " << to; in have_compatible_annotations()
78 AIDL_ERROR(newer) << "Type changed: " << older.ToString() << " to " << newer.ToString() << "."; in are_compatible_types()
97 AIDL_ERROR(old_m) << "Removed or changed method: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
109 AIDL_ERROR(new_m) << "Oneway attribute " << (old_m->IsOneway() ? "removed" : "added") << ": " in are_compatible_interfaces()
115 AIDL_ERROR(new_m) << "Transaction ID changed: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
133 AIDL_ERROR(new_m) << "Direction changed: " << old_a.GetDirectionSpecifier() << " to " in are_compatible_interfaces()
148 AIDL_ERROR(old_c) << "Removed constant declaration: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
160 AIDL_ERROR(newer) << "Changed constant value: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
174 AIDL_ERROR(newer) << "Number of fields in " << older.GetCanonicalName() << " is reduced from " in are_compatible_parcelables()
188 AIDL_ERROR(newer) << "Changed default value: " << old_value << " to " << new_value << "."; in are_compatible_parcelables()
[all …]
Daidl_language.cpp160 AIDL_ERROR(location) << stream.str(); in Parse()
181 AIDL_ERROR(this) << GetName() << " annotation does not have any supported parameters."; in CheckValid()
189 AIDL_ERROR(this) << "Invalid value for parameter " << param_name << " on annotation " in CheckValid()
202 AIDL_ERROR(this) << stream.str(); in CheckValid()
209 AIDL_ERROR(this) << "Invalid value for parameter " << param_name << " on annotation " in CheckValid()
226 AIDL_ERROR(this) << "Invalid value for parameter " << param_name << " on annotation " in AnnotationParams()
408 AIDL_ERROR(this) << "A generic type cannot has any primitive type parameters."; in CheckValid()
420 AIDL_ERROR(this) << " List cannot have type parameters more than one, but got " in CheckValid()
426 AIDL_ERROR(this) << "Map must have 0 or 2 type parameters, but got " in CheckValid()
433 AIDL_ERROR(this) << "The type of key in map must be String, but it is " in CheckValid()
[all …]
Daidl_const_expressions.cpp201 AIDL_ERROR(location) << "Invalid character literal " << value; in Character()
302 AIDL_ERROR(location) << "Found invalid character at index " << i << " in string constant '" in String()
316 AIDL_ERROR(other) << "Failed to parse expression as integer: " << other.value_; in ShallowIntegralCopy()
334 AIDL_ERROR(type) << "Generic type cannot be specified with a constant literal."; in ValueString()
347 AIDL_ERROR(this) << "Invalid constant value: " + value_; in ValueString()
422 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString()
431 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString()
446 AIDL_ERROR(this) << "Invalid type specifier for " << ToString(final_type_) << ": " << type_string; in ValueString()
488 AIDL_ERROR(this) << "Invalid constant array type: " << type.GetName(); in evaluate()
499 AIDL_ERROR(this) << "Invalid array element: " << value->value_; in evaluate()
[all …]
Daidl.cpp147 AIDL_ERROR(defined_type) << name << " should be declared in a file called " << expected; in check_filename()
276 AIDL_ERROR(item) << "You must either assign id's to all methods or to none of them."; in check_and_assign_method_ids()
283 AIDL_ERROR(item) << "Found duplicate method id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
291 AIDL_ERROR(item) << "Found out of bounds id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
434 AIDL_ERROR(input_file_name) << "You must declare only one type per a file."; in load_and_validate_aidl()
494 AIDL_ERROR(import) << "couldn't find import for class " << import; in load_and_validate_aidl()
518 AIDL_ERROR(imported_file) << "error while importing " << imported_file; in load_and_validate_aidl()
587 AIDL_ERROR(unstructuredParcelable) in load_and_validate_aidl()
593 AIDL_ERROR(unstructuredParcelable) in load_and_validate_aidl()
605 AIDL_ERROR(defined_type) in load_and_validate_aidl()
Dimport_resolver.cpp81 AIDL_ERROR(input_file_name_) << "Duplicate files found for " << canonical_name in FindImportFile()
Daidl_language_y.yy550 AIDL_ERROR(loc(@7)) << "Could not parse int value: " << $7->GetText();
561 AIDL_ERROR(loc(@9)) << "Could not parse int value: " << $9->GetText();
672 AIDL_ERROR(loc(@3)) << "Trying to redefine parameter " << $3->name << ".";
715 AIDL_ERROR(loc(l)) << errstr;
Daidl_language.h150 #define AIDL_ERROR(CONTEXT) ::AidlError(false /*fatal*/, (CONTEXT)).os_ macro