Searched refs:ConstantValueDecorator (Results 1 – 19 of 19) sorted by relevance
/system/tools/aidl/ |
D | aidl_to_java.h | 42 std::string ConstantValueDecorator(
|
D | aidl_to_cpp_common.h | 90 const std::string& backing_type, ::ConstantValueDecorator decorator); 125 const ::ConstantValueDecorator& decorator;
|
D | aidl_to_cpp.h | 26 std::string ConstantValueDecorator(
|
D | aidl_to_rust.h | 61 std::string ConstantValueDecorator(
|
D | aidl_to_ndk.h | 34 std::string ConstantValueDecorator(
|
D | generate_java.cpp | 45 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()
|
D | generate_cpp.cpp | 424 << 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()
|
D | generate_ndk.cpp | 432 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()
|
D | aidl_language.h | 220 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;
|
D | aidl_to_cpp.cpp | 208 std::string ConstantValueDecorator( in ConstantValueDecorator() function
|
D | aidl_to_ndk.cpp | 56 std::string ConstantValueDecorator( in ConstantValueDecorator() function
|
D | generate_rust.cpp | 929 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()
|
D | aidl_to_rust.cpp | 152 std::string ConstantValueDecorator( in ConstantValueDecorator() function
|
D | aidl_unittest.cpp | 1450 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 …]
|
D | aidl_language.cpp | 378 const ConstantValueDecorator& decorator) const { in AnnotationParams() 945 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString() 1570 const ConstantValueDecorator& decorator) const { in ValueString()
|
D | aidl_to_cpp_common.cpp | 246 const std::string& backing_type, ConstantValueDecorator decorator) { in GenerateEnumClassDecl()
|
D | aidl_const_expressions.cpp | 550 const ConstantValueDecorator& decorator) const { in ValueString()
|
D | aidl_to_java.cpp | 41 std::string ConstantValueDecorator( in ConstantValueDecorator() function
|
D | generate_java_binder.cpp | 444 << constant->ValueString(ConstantValueDecorator) << ";\n"; in GenerateConstantDeclarations()
|