Home
last modified time | relevance | path

Searched refs:ConstantValueDecorator (Results 1 – 18 of 18) sorted by relevance

/system/tools/aidl/
Daidl_to_java.h42 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
Daidl_to_rust.h56 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
Daidl_to_cpp.h26 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
Daidl_to_ndk.h34 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
Dgenerate_java.cpp45 using android::aidl::java::ConstantValueDecorator;
401 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class()
429 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class()
675 enumerator->ValueString(enum_decl->GetBackingType(), ConstantValueDecorator).c_str()); in generate_enum()
716 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in generate_union()
942 const std::map<std::string, std::string> params = a.AnnotationParams(ConstantValueDecorator); in generate_java_unsupportedappusage_parameters()
Daidl_to_cpp_common.h108 const ::ConstantValueDecorator& decorator;
Dgenerate_cpp.cpp530 constant->ValueString(ConstantValueDecorator).c_str())); in BuildConstantDefinitions()
554 constant->ValueString(ConstantValueDecorator), attribute); in BuildConstantDeclarations()
557 constant->ValueString(ConstantValueDecorator), attribute); in BuildConstantDeclarations()
560 constant->ValueString(ConstantValueDecorator), attribute); in BuildConstantDeclarations()
1107 return cppType + "(" + variable.ValueString(ConstantValueDecorator) + ")"; in GetInitializer()
1201 UnionWriter uw{decl, typenames, &CppNameOf, &ConstantValueDecorator}; in BuildReadFromParcel()
1209 UnionWriter uw{decl, typenames, &CppNameOf, &ConstantValueDecorator}; in BuildWriteToParcel()
1239 UnionWriter uw{decl, typenames, &CppNameOf, &ConstantValueDecorator}; in BuildParcelFields()
1348 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator); in GenerateEnumToString()
1375 enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator)); in BuildEnumHeader()
Dgenerate_rust.cpp528 out << variable->GetName() << ": " << variable->ValueString(ConstantValueDecorator) << ",\n"; in GenerateParcelDefault()
617 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in GenerateParcelDefault()
753 for (const auto& name_and_param : derive_annotation->AnnotationParams(ConstantValueDecorator)) { in GenerateRustParcel()
784 auto value = enumerator->GetValue()->ValueString(aidl_backing_type, ConstantValueDecorator); in GenerateRustEnumDeclaration()
Dgenerate_ndk.cpp324 out << " = " << constant->ValueString(ConstantValueDecorator) << " };\n"; in GenerateConstantDeclarations()
341 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDefinitions()
1048 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelHeader()
1153 &ConstantValueDecorator}; in GenerateParcelHeader()
1225 &ConstantValueDecorator}; in GenerateParcelSource()
1284 std::string c = enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator); in GenerateEnumToString()
1321 << enumerator->ValueString(enum_decl.GetBackingType(), ConstantValueDecorator) << ",\n"; in GenerateEnumHeader()
Daidl_language.h196 using ConstantValueDecorator =
261 const ConstantValueDecorator& decorator) const;
509 std::string ValueString(const ConstantValueDecorator& decorator) const;
651 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const;
797 string ValueString(const ConstantValueDecorator& decorator) const {
1059 const ConstantValueDecorator& decorator) const;
Daidl_to_rust.cpp137 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value) { in ConstantValueDecorator() function
Daidl_to_cpp.cpp193 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value) { in ConstantValueDecorator() function
Daidl_language.cpp297 const ConstantValueDecorator& decorator) const { in AnnotationParams()
713 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString()
1215 const ConstantValueDecorator& decorator) const { in ValueString()
Daidl_to_ndk.cpp72 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value) { in ConstantValueDecorator() function
Daidl_to_java.cpp41 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value) { in ConstantValueDecorator() function
Daidl_const_expressions.cpp468 const ConstantValueDecorator& decorator) const { in ValueString()
Dgenerate_java_binder.cpp399 << constant->ValueString(ConstantValueDecorator) << ";\n"; in generate_constant_declarations()
Daidl_unittest.cpp1143 EXPECT_EQ("245", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P()
1162 EXPECT_EQ("-1", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P()