Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 118) sorted by relevance

12345

/system/tools/xsdc/tests/resources/predefined_types/api/
Dcurrent.txt6 method public javax.xml.datatype.XMLGregorianCalendar getDate();
7 method public javax.xml.datatype.XMLGregorianCalendar getDateTime();
8 method public javax.xml.datatype.Duration getDuration();
9 method public javax.xml.datatype.XMLGregorianCalendar getGDay();
10 method public javax.xml.datatype.XMLGregorianCalendar getGMonth();
11 method public javax.xml.datatype.XMLGregorianCalendar getGMonthDay();
12 method public javax.xml.datatype.XMLGregorianCalendar getGYear();
13 method public javax.xml.datatype.XMLGregorianCalendar getGYearMonth();
14 method public javax.xml.datatype.XMLGregorianCalendar getTime();
15 method public void setDate(javax.xml.datatype.XMLGregorianCalendar);
[all …]
/system/libvintf/xsd/compatibilityMatrix/api/
Dcurrent.txt6 method public String getVbmetaVersion();
7 method public void setVbmetaVersion(String);
12 method public compatibility.matrix.Avb getAvb();
13 method public java.util.List<compatibility.matrix.Hal> getHal();
14 method public java.util.List<compatibility.matrix.Kernel> getKernel();
15 method public String getLevel();
16 method public compatibility.matrix.Sepolicy getSepolicy();
17 method public compatibility.matrix.SystemSdk getSystemSdk();
18 method public String getType();
19 method public compatibility.matrix.VendorNdk getVendorNdk();
[all …]
/system/libvintf/xsd/halManifest/api/
Dcurrent.txt6 method public String getFormat();
7 method public java.util.List<java.lang.String> getFqname();
8 method public String getName();
9 method public String getOverride();
10 method public hal.manifest.Hal.Transport getTransport();
11 method public String getUpdatableViaApex();
12 method public java.util.List<java.lang.String> getVersion();
13 method public java.util.List<hal.manifest.Interface> get_interface();
14 method public void setFormat(String);
15 method public void setName(String);
[all …]
/system/tools/xsdc/tests/resources/simple_complex_content/api/
Dcurrent.txt6 method @Deprecated public String getCity();
7 method @Deprecated public final String getName();
8 method @Deprecated public String getStreet();
9 method @Deprecated public boolean hasCity();
10 method @Deprecated public boolean hasName();
11 method @Deprecated public boolean hasStreet();
12 method @Deprecated public void setCity(String);
13 method @Deprecated public final void setName(String);
14 method @Deprecated public void setStreet(String);
23 method public simple.complex.content.KRAddress getKRAddress();
[all …]
/system/tools/xsdc/tests/resources/nested_type/api/
Dcurrent.txt6 method public nested.type.Employee.Address getAddress();
7 method public java.util.List<java.lang.String> getAssets();
8 method public byte getId();
9 method public String getName();
10 method public void setAddress(nested.type.Employee.Address);
11 method public void setId(byte);
12 method public void setName(String);
17 method public String getCountry();
18 method public nested.type.Employee.Address.Extra getExtra();
19 method public nested.type.Employee.Address.ExtraAddress getExtra_address();
[all …]
/system/apex/apexd/apex-info-list-api/
Dcurrent.txt6 method public boolean getIsActive();
7 method public boolean getIsFactory();
8 method public long getLastUpdateMillis();
9 method public String getModuleName();
10 method public String getModulePath();
11 method public String getPreinstalledModulePath();
12 method public boolean getProvideSharedApexLibs();
13 method public long getVersionCode();
14 method public String getVersionName();
15 method public void setIsActive(boolean);
[all …]
Dlast_current.txt6 method public boolean getIsActive();
7 method public boolean getIsFactory();
8 method public long getLastUpdateMillis();
9 method public String getModuleName();
10 method public String getModulePath();
11 method public String getPreinstalledModulePath();
12 method public long getVersionCode();
13 method public String getVersionName();
14 method public void setIsActive(boolean);
15 method public void setIsFactory(boolean);
[all …]
/system/tools/xsdc/tests/resources/simple_type/api/
Dcurrent.txt5 method public String getRawName();
13 method public java.util.List<java.lang.String> getExample1_optional();
14 method public java.util.List<java.lang.String> getExample2_optional();
15 method public java.util.List<java.lang.String> getExample3_optional();
20 method public java.util.List<java.lang.Integer> getListInt();
21 method public java.util.List<java.lang.Integer> getOptionalIntList();
22 method public java.util.List<java.lang.String> getUnionTest();
23 method public java.util.List<simple.type.EnumType> getYesOrNo();
24 method public boolean isExample1();
25 method public boolean isExample2();
[all …]
/system/tools/xsdc/tests/resources/purchase_simple/api/
Dcurrent.txt6 method public purchase.simple.USAddress getBillTo();
7 method public javax.xml.datatype.XMLGregorianCalendar getOrderDate();
8 method public java.util.List<purchase.simple.USAddress> getShipTo();
9 method public void setBillTo(purchase.simple.USAddress);
10 method public void setOrderDate(javax.xml.datatype.XMLGregorianCalendar);
15 method public String getCity();
16 method public String getCountry();
17 method public String getName();
18 method public String getState();
19 method public String getStreet();
[all …]
/system/tools/xsdc/tests/resources/cross_generate_parse_libxml/api/
Dcurrent.txt6 method public cross.libxml.USAddress getBillTo();
7 method public javax.xml.datatype.XMLGregorianCalendar getOrderDate();
8 method public java.util.List<cross.libxml.USAddress> getShipTo();
9 method public void setBillTo(cross.libxml.USAddress);
10 method public void setOrderDate(javax.xml.datatype.XMLGregorianCalendar);
15 method public String getCity();
16 method public String getCountry();
17 method public String getName();
18 method public String getState();
19 method public String getStreet();
[all …]
/system/tools/xsdc/tests/resources/cross_generate_parse_tinyxml/api/
Dcurrent.txt6 method public cross.tinyxml.USAddress getBillTo();
7 method public javax.xml.datatype.XMLGregorianCalendar getOrderDate();
8 method public java.util.List<cross.tinyxml.USAddress> getShipTo();
9 method public void setBillTo(cross.tinyxml.USAddress);
10 method public void setOrderDate(javax.xml.datatype.XMLGregorianCalendar);
15 method public String getCity();
16 method public String getCountry();
17 method public String getName();
18 method public String getState();
19 method public String getStreet();
[all …]
/system/tools/hidl/
DgenerateCpp.cpp302 const Method* method = tuple.method(); in generateInterfaceHeader() local
306 const bool returnsValue = !method->results().empty(); in generateInterfaceHeader()
307 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateInterfaceHeader()
310 DocComment("Return callback for " + method->name(), HIDL_LOCATION_HERE).emit(out); in generateInterfaceHeader()
312 << method->name() in generateInterfaceHeader()
314 method->emitCppResultSignature(out, true /* specify namespaces */); in generateInterfaceHeader()
318 method->emitDocComment(out); in generateInterfaceHeader()
327 out << method->name() in generateInterfaceHeader()
329 method->emitCppArgSignature(out, true /* specify namespaces */); in generateInterfaceHeader()
331 if (method->isHidlReserved()) { in generateInterfaceHeader()
[all …]
DgenerateJava.cpp244 for (const auto &method : iface->methods()) { in generateJava() local
245 const bool needsCallback = method->results().size() > 1; in generateJava()
248 out << "\n@java.lang.FunctionalInterface\npublic interface " << method->name() in generateJava()
254 method->emitJavaResultSignature(out); in generateJava()
261 method->emitDocComment(out); in generateJava()
263 method->emitJavaSignature(out); in generateJava()
316 const Method *method = tuple.method(); in generateJava() local
325 const bool returnsValue = !method->results().empty(); in generateJava()
326 const bool needsCallback = method->results().size() > 1; in generateJava()
329 method->emitJavaSignature(out); in generateJava()
[all …]
DInterface.cpp62 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
63 if (method->name() != "ping") { in fillPingMethod()
67 method->fillImplementation( in fillPingMethod()
93 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
94 if (method->name() != "linkToDeath") { in fillLinkToDeathMethod()
98 method->fillImplementation( in fillLinkToDeathMethod()
137 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
138 if (method->name() != "unlinkToDeath") { in fillUnlinkToDeathMethod()
142 method->fillImplementation( in fillUnlinkToDeathMethod()
185 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
[all …]
DgenerateJavaImpl.cpp42 const Method* method = tuple.method(); in generateJavaImpl() local
44 if (method->isHidlReserved()) { in generateJavaImpl()
55 method->emitJavaSignature(out); in generateJavaImpl()
66 const bool returnsValue = !method->results().empty(); in generateJavaImpl()
68 for (const auto& arg : method->results()) { in generateJavaImpl()
72 const bool needsCallback = method->results().size() > 1; in generateJavaImpl()
76 out.join(method->results().begin(), method->results().end(), ", ", in generateJavaImpl()
82 out << "return " << method->results().at(0)->name() << ";\n"; in generateJavaImpl()
DInterface.h47 void addUserDefinedMethod(Method* method);
148 bool fillPingMethod(Method* method) const;
149 bool fillDescriptorChainMethod(Method* method) const;
150 bool fillGetDescriptorMethod(Method* method) const;
151 bool fillHashChainMethod(Method* method) const;
152 bool fillSyspropsChangedMethod(Method* method) const;
153 bool fillLinkToDeathMethod(Method* method) const;
154 bool fillUnlinkToDeathMethod(Method* method) const;
155 bool fillSetHALInstrumentationMethod(Method* method) const;
156 bool fillGetDebugInfoMethod(Method* method) const;
[all …]
/system/tools/hidl/lint/lints/
DmethodVersions.cpp35 static std::string getSanitizedMethodName(const Method& method) { in getSanitizedMethodName() argument
36 size_t underscore = method.name().find('_'); in getSanitizedMethodName()
37 return (underscore == std::string::npos) ? method.name() : method.name().substr(0, underscore); in getSanitizedMethodName()
40 static bool checkMethodVersion(const Method& method, const FQName& fqName, std::string* error) { in checkMethodVersion() argument
41 size_t underscore = method.name().find('_'); in checkMethodVersion()
44 std::string version = method.name().substr(underscore + 1); // don't include _ in checkMethodVersion()
45 std::string nameWithoutVersion = method.name().substr(0, underscore); in checkMethodVersion()
83 *error = method.name() + " looks like version "s + std::to_string(major) + "."s + in checkMethodVersion()
84 std::to_string(minor) + " of "s + getSanitizedMethodName(method) + in checkMethodVersion()
96 for (Method* method : iface->userDefinedMethods()) { in methodVersions()
[all …]
/system/tools/xsdc/tests/resources/attr_group_simple/api/
Dcurrent.txt6 method public String getCity();
7 method public java.util.List<java.lang.Integer> getList();
8 method public String getName();
9 method public String getRoad();
10 method public String getState();
11 method public void setCity(String);
12 method public void setList(java.util.List<java.lang.Integer>);
13 method public void setName(String);
14 method public void setRoad(String);
15 method public void setState(String);
[all …]
/system/tools/aidl/
Dgenerate_aidl_mappings.cpp26 std::string dump_location(const AidlNode& method) { in dump_location() argument
27 return method.PrintLine(); in dump_location()
36 for (const auto& method : interface->GetMethods()) { in generate_mappings() local
37 if (method->IsUserDefined()) { in generate_mappings()
40 signature << method->GetName() << "|"; in generate_mappings()
41 for (const auto& arg : method->GetArguments()) { in generate_mappings()
45 signature << java::JavaSignatureOf(method->GetType()); in generate_mappings()
46 mappings[signature.str()] = dump_location(*method); in generate_mappings()
Dgenerate_rust.cpp125 string BuildMethod(const AidlMethod& method, const AidlTypenames& typenames, in BuildMethod() argument
141 auto method_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE, lifetime); in BuildMethod()
163 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in BuildMethod()
168 return fn_prefix + "fn r#" + method.GetName() + lifetime_str + "(" + parameters + ") -> " + in BuildMethod()
173 const AidlMethod& method, const AidlTypenames& typenames, in GenerateClientMethodHelpers() argument
176 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in GenerateClientMethodHelpers()
182 out << "fn build_parcel_" + method.GetName() + "(" + parameters + in GenerateClientMethodHelpers()
193 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in GenerateClientMethodHelpers()
219 auto return_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateClientMethodHelpers()
220 out << "fn read_response_" + method.GetName() + "(" + parameters + in GenerateClientMethodHelpers()
[all …]
Dgenerate_cpp.cpp96 string GenerateArgList(const AidlTypenames& typenames, const AidlMethod& method, in GenerateArgList() argument
99 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in GenerateArgList()
143 if (method.GetType().GetName() != "void") { in GenerateArgList()
146 literal = CppNameOf(method.GetType(), typenames) + "*"; in GenerateArgList()
161 void GenerateMethodDecl(CodeWriter& out, const AidlTypenames& types, const AidlMethod& method, in GenerateMethodDecl() argument
164 out << "::android::binder::Status " << clazz_prefix << method.GetName() << "(" in GenerateMethodDecl()
165 << GenerateArgList(types, method, /*for_declartion=*/true, /*type_name_only=*/false) << ")"; in GenerateMethodDecl()
169 const AidlInterface& interface, const AidlMethod& method, in GenerateClientTransaction() argument
175 GenerateMethodDecl(out, typenames, method, bp_name); in GenerateClientTransaction()
197 kTraceVarName, interface.GetName().c_str(), method.GetName().c_str()); in GenerateClientTransaction()
[all …]
Dgenerate_cpp_analyzer.cpp41 const AidlMethod& method, const AidlTypenames& typenames, in GenerateAnalyzerTransaction() argument
53 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in GenerateAnalyzerTransaction()
60 if (method.GetType().GetName() != "void") { in GenerateAnalyzerTransaction()
61 out.Write("%s %s;\n", CppNameOf(method.GetType(), typenames).c_str(), kReturnVarName); in GenerateAnalyzerTransaction()
66 if (method.GetType().GetName() != "void") { in GenerateAnalyzerTransaction()
68 ParcelReadMethodOf(method.GetType(), typenames).c_str(), in GenerateAnalyzerTransaction()
69 ParcelReadCastOf(method.GetType(), typenames, string("&") + kReturnVarName).c_str()); in GenerateAnalyzerTransaction()
82 for (const auto& a : method.GetArguments()) { in GenerateAnalyzerTransaction()
96 if (!method.GetArguments().empty() && options.GetMinSdkVersion() >= SDK_VERSION_Tiramisu) { in GenerateAnalyzerTransaction()
105 for (const auto& a : method.GetArguments()) { in GenerateAnalyzerTransaction()
[all …]
/system/tools/xsdc/tests/resources/group/api/
Dcurrent.txt6 method public String getCity();
7 method public String getRoad();
8 method public String getState();
9 method public void setCity(String);
10 method public void setRoad(String);
11 method public void setState(String);
16method public static group.Student read(java.io.InputStream) throws javax.xml.datatype.DatatypeCon…
17method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org…
18method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu…
23 method public void close();
[all …]
/system/tools/xsdc/tests/resources/enum_type/api/
Dcurrent.txt6 method public java.util.List<java.lang.String> getItem();
10 method public String getRawName();
74 method public String getRawName();
83 method public String getRawName();
150 method public String getRawName();
230 method public attr.enumtype.GlobalConfiguration getGlobalConfiguration();
231 method public java.util.List<attr.enumtype.Modules> getModules();
232 method public attr.enumtype.SurroundSound getSurroundSound();
233 method public attr.enumtype.Version getVersion();
234 method public java.util.List<attr.enumtype.Volumes> getVolumes();
[all …]
/system/tools/xsdc/tests/resources/reference/api/
Dcurrent.txt6 method @Nullable public String getName();
7 method @Nullable public java.util.List<java.lang.String> getStudent();
8 method public void setName(@Nullable String);
13method @Nullable public static reference.Class read(@NonNull java.io.InputStream) throws javax.xml…
14method @Nullable public static String readText(@NonNull org.xmlpull.v1.XmlPullParser) throws java.…
15method public static void skip(@NonNull org.xmlpull.v1.XmlPullParser) throws java.io.IOException, …
20 method public void close();
21method public static void write(@NonNull reference.XmlWriter, @NonNull reference.Class) throws jav…

12345