Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_java.h42 std::string ConstantValueDecorator(
Daidl_to_cpp_common.h90 const std::string& backing_type, ::ConstantValueDecorator decorator);
125 const ::ConstantValueDecorator& decorator;
Daidl_to_cpp.h26 std::string ConstantValueDecorator(
Daidl_to_rust.h61 std::string ConstantValueDecorator(
Daidl_to_ndk.h34 std::string ConstantValueDecorator(
Dgenerate_java.cpp45 using android::aidl::java::ConstantValueDecorator;
339 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelableClass()
366 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelableClass()
621 enumerator->ValueString(backing_type, ConstantValueDecorator)); in GenerateEnumClass()
696 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in GenerateUnionClass()
931 const std::map<std::string, std::string> params = a.AnnotationParams(ConstantValueDecorator); in GenerateJavaUnsupportedAppUsageParameters()
957 for (const auto& [name, value] : annotation->AnnotationParams(ConstantValueDecorator)) { in GenerateJavaAnnotations()
Dgenerate_cpp.cpp424 << constant->ValueString(ConstantValueDecorator) << ");\n"; in GenerateConstantDefinitions()
442 out << " = " << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDeclarations()
446 out << " = " << constant->ValueString(ConstantValueDecorator) << " };\n"; in GenerateConstantDeclarations()
1156 UnionWriter uw{decl, typenames, &CppNameOf, &ConstantValueDecorator}; in GenerateReadFromParcel()
1162 UnionWriter uw{decl, typenames, &CppNameOf, &ConstantValueDecorator}; in GenerateWriteToParcel()
1175 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelFields()
1199 UnionWriter uw{decl, typenames, &CppNameOf, &ConstantValueDecorator}; in GenerateParcelFields()
1242 UnionWriter uw{*decl, typenames, &CppNameOf, &ConstantValueDecorator}; in GenerateParcelClassDecl()
1287 ConstantValueDecorator); in GenerateEnumClassDecl()
Dgenerate_ndk.cpp432 out << " = " << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDeclarations()
437 out << " = " << constant->ValueString(ConstantValueDecorator) << " };\n"; in GenerateConstantDeclarations()
453 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDefinitions()
1228 out << " = " << variable->ValueString(ConstantValueDecorator); in GenerateParcelClassDecl()
1352 &ConstantValueDecorator}; in GenerateParcelClassDecl()
1403 &ConstantValueDecorator}; in GenerateParcelSource()
1452 ConstantValueDecorator); in GenerateEnumClassDecl()
Daidl_language.h220 using ConstantValueDecorator = std::function<std::string(
291 const ConstantValueDecorator& decorator) const;
549 std::string ValueString(const ConstantValueDecorator& decorator) const;
689 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const;
844 string ValueString(const ConstantValueDecorator& decorator) const {
1118 const ConstantValueDecorator& decorator) const;
Daidl_to_cpp.cpp208 std::string ConstantValueDecorator( in ConstantValueDecorator() function
Daidl_to_ndk.cpp56 std::string ConstantValueDecorator( in ConstantValueDecorator() function
Dgenerate_rust.cpp929 out << variable->ValueString(ConstantValueDecorator); in GenerateParcelDefault()
1028 const auto& first_value = first_field->ValueString(ConstantValueDecorator); in GenerateParcelDefault()
1187 auto value = enumerator->GetValue()->ValueString(aidl_backing_type, ConstantValueDecorator); in GenerateRustEnumDeclaration()
Daidl_to_rust.cpp152 std::string ConstantValueDecorator( in ConstantValueDecorator() function
Daidl_unittest.cpp1450 EXPECT_EQ("'\\0'", default_value->ValueString(*char_type, cpp::ConstantValueDecorator)); in TEST_F()
1451 EXPECT_EQ("'\\0'", default_value->ValueString(*char_type, ndk::ConstantValueDecorator)); in TEST_F()
1452 EXPECT_EQ("'\\0'", default_value->ValueString(*char_type, java::ConstantValueDecorator)); in TEST_F()
1623 EXPECT_EQ("245", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P()
1642 EXPECT_EQ("-1", cpp_constants[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_P()
1659 EXPECT_EQ("-1", fields[0]->ValueString(cpp::ConstantValueDecorator)); in TEST_F()
1660 EXPECT_EQ("{uint8_t(-1), 1}", fields[1]->ValueString(cpp::ConstantValueDecorator)); in TEST_F()
1661 EXPECT_EQ("{{uint8_t(-1), 1}}", fields[2]->ValueString(cpp::ConstantValueDecorator)); in TEST_F()
1678 EXPECT_EQ("-1", fields[0]->ValueString(ndk::ConstantValueDecorator)); in TEST_F()
1679 EXPECT_EQ("{uint8_t(-1), 1}", fields[1]->ValueString(ndk::ConstantValueDecorator)); in TEST_F()
[all …]
Daidl_language.cpp378 const ConstantValueDecorator& decorator) const { in AnnotationParams()
945 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString()
1570 const ConstantValueDecorator& decorator) const { in ValueString()
Daidl_to_cpp_common.cpp246 const std::string& backing_type, ConstantValueDecorator decorator) { in GenerateEnumClassDecl()
Daidl_const_expressions.cpp550 const ConstantValueDecorator& decorator) const { in ValueString()
Daidl_to_java.cpp41 std::string ConstantValueDecorator( in ConstantValueDecorator() function
Dgenerate_java_binder.cpp444 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDeclarations()