Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_language.cpp186 AIDL_ERROR(location) << stream.str(); in Parse()
231 AIDL_ERROR(this) << stream.str(); in CheckValid()
237 AIDL_ERROR(found) << "Value must be a constant expression but contains reference to " in CheckValid()
243 AIDL_ERROR(this) << "Invalid value for parameter " << param_name << " on annotation " in CheckValid()
252 AIDL_ERROR(this) << "Invalid value for parameter " << param_name << " on annotation " in CheckValid()
260 AIDL_ERROR(this) << "Missing '" << param.name << "' on @" << GetName() << "."; in CheckValid()
291 AIDL_ERROR(this) << "@" << GetName() << " is not available. It can annotate {" in CheckContext()
425 AIDL_ERROR(this) << "'" << annotation.GetName() in CheckValid()
524 AIDL_ERROR(this) << "A generic type cannot have any primitive type parameters."; in CheckValid()
536 AIDL_ERROR(this) << "List can only have one type parameter, but got: '" << Signature() in CheckValid()
[all …]
Daidl_checkapi.cpp68 AIDL_ERROR(newer) << result.failure_message(); in CheckEquality()
120 AIDL_ERROR(newer) << "Changed annotations: " << from << " to " << to; in have_compatible_annotations()
129 AIDL_ERROR(newer) << "Type changed: " << older.Signature() << " to " << newer.Signature() in are_compatible_types()
148 AIDL_ERROR(old_c) << "Removed constant declaration: " << older.GetCanonicalName() << "." in are_compatible_constants()
160 AIDL_ERROR(newer) << "Changed constant value: " << older.GetCanonicalName() << "." in are_compatible_constants()
179 AIDL_ERROR(old_m) << "Removed or changed method: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
191 AIDL_ERROR(new_m) << "Oneway attribute " << (old_m->IsOneway() ? "removed" : "added") << ": " in are_compatible_interfaces()
197 AIDL_ERROR(new_m) << "Transaction ID changed: " << older.GetCanonicalName() << "." in are_compatible_interfaces()
215 AIDL_ERROR(new_m) << "Direction changed: " << old_a.GetDirectionSpecifier() << " to " in are_compatible_interfaces()
254 AIDL_ERROR(newer) << "Number of fields in " << older.GetCanonicalName() << " is reduced from " in are_compatible_parcelables()
[all …]
Dparser.cpp34 AIDL_ERROR(filename) << "Error while opening file for parsing"; in Parse()
54 AIDL_ERROR(type) << "Must specify type parameters (<>) before array ([])."; in SetTypeParameters()
58 AIDL_ERROR(type) << "Can only specify one set of type parameters."; in SetTypeParameters()
77 AIDL_ERROR(v.GetRefType()) << "Unknown type '" << v.GetRefType()->GetName() << "'"; in Visit()
84 AIDL_ERROR(v) << "Unknown reference '" << v.Literal() << "'"; in Visit()
125 AIDL_ERROR(ref) << "Found a circular reference: " << android::base::Join(path, " -> "); in IsCircularReference()
140 AIDL_ERROR(typespec) << "Failed to resolve '" << typespec->GetUnresolvedName() << "'"; in Resolve()
Daidl_const_expressions.cpp137 AIDL_ERROR(context) << "Constant expression computation overflows."; in processGuard()
196 AIDL_ERROR(context) << "Bitwise negation of a boolean expression is always true."; in handleUnary()
360 AIDL_ERROR(location) << "Invalid character literal " << value; in Character()
458 AIDL_ERROR(location) << "Found invalid character at index " << i << " in string constant '" in String()
470 AIDL_ERROR(type) << "Generic type cannot be specified with a constant literal."; in ValueString()
483 AIDL_ERROR(this) << "Invalid constant value: " + value_; in ValueString()
491 AIDL_ERROR(this) << "Invalid type (" << defined_type->GetCanonicalName() in ValueString()
496 AIDL_ERROR(this) << "Invalid value (" << value_ << ") for enum " in ValueString()
571 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString()
580 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString()
[all …]
Daidl.cpp150 AIDL_ERROR(defined_type) << name << " should be declared in a file called " << expected; in check_filename()
170 AIDL_ERROR(dep_file_name) << "Could not open dependency file."; in write_dep_file()
280 AIDL_ERROR(item) << "You must either assign id's to all methods or to none of them."; in check_and_assign_method_ids()
287 AIDL_ERROR(item) << "Found duplicate method id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
295 AIDL_ERROR(item) << "Found out of bounds id (" << item->GetId() << ") for method " in check_and_assign_method_ids()
410 AIDL_ERROR(filename) << "cannot open preprocessed file"; in parse_preprocessed_file()
457 AIDL_ERROR(filename) << " on line " << lineno << " malformed preprocessed file line: '" << line in parse_preprocessed_file()
483 AIDL_ERROR(*type) << "You must declare only one type per file."; in load_and_validate_aidl()
520 AIDL_ERROR(input_file_name) << "Couldn't find import for class " << import->GetNeededClass(); in load_and_validate_aidl()
529 AIDL_ERROR(import_path) << "error while importing " << import_path << " for " << import; in load_and_validate_aidl()
[all …]
Dio_delegate.cpp56 AIDL_ERROR(path) << "Failed to GetFullPathName"; in GetAbsolutePath()
66 AIDL_ERROR(path) << "Giving up on finding an absolute path to represent the empty string."; in GetAbsolutePath()
76 AIDL_ERROR(path) << "Path of current working directory does not fit in " << sizeof(buf) in GetAbsolutePath()
144 AIDL_ERROR(caller_base_dir) << "Error while creating " << base_dir << ": " << strerror(errno); in CreateNestedDirs()
Dmain.cpp35 AIDL_ERROR(options.GetErrorMessage()) << options.GetUsage(); in main()
Daidl_typenames.cpp91 AIDL_ERROR(defined) << defined.GetCanonicalName() << " is an invalid name because '" << piece in HasValidNameComponents()
97 AIDL_ERROR(defined) << defined.GetCanonicalName() << " is an invalid name because '" << piece in HasValidNameComponents()
251 AIDL_ERROR(type) << "For a generic type, an immutable parcelable can contain only List or Map."; in CanBeJavaOnlyImmutable()
259 AIDL_ERROR(type) << "An immutable parcelable can contain only immutable Parcelable, primitive " in CanBeJavaOnlyImmutable()
Daidl_language_y.yy402 AIDL_ERROR(loc(@1)) << "Could not parse integer: "
416 AIDL_ERROR(loc(@1)) << "Could not parse hexvalue: "
506 AIDL_ERROR(loc(@1)) << "invalid const expression within parenthesis";
612 AIDL_ERROR(loc(@7)) << "Could not parse int value: " << $7->GetText();
623 AIDL_ERROR(loc(@9)) << "Could not parse int value: " << $9->GetText();
693 AIDL_ERROR(loc(@2)) << "Annotations for arrays are not supported.";
697 AIDL_ERROR(loc(@1)) << "Can only have one dimensional arrays.";
708 AIDL_ERROR(loc(@1)) << "Annotations for type arguments are not supported.";
754 AIDL_ERROR(loc(@3)) << "Trying to redefine parameter " << $3->name << ".";
793 AIDL_ERROR(loc(l)) << errstr;
Dimport_resolver.cpp82 AIDL_ERROR(input_file_name_) << "Duplicate files found for " << canonical_name << " from:\n" in FindImportFile()
Dlogging.h75 #define AIDL_ERROR(CONTEXT) ::AidlErrorLog(AidlErrorLog::ERROR, (CONTEXT)) macro
Dast_cpp.cpp342 AIDL_ERROR(value_expression) << "Duplicate switch case labels"; in AddCase()
Dgenerate_cpp.cpp1417 AIDL_ERROR(interface) << "aidl internal error: Failed to generate header."; in WriteHeader()
1578 AIDL_ERROR(defined_type) << "Output file is expected to be at " << expected << ", but is " in ValidateOutputFilePath()