Home
last modified time | relevance | path

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

123456

/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/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/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 long getVersionCode();
13 method public String getVersionName();
14 method public void setIsActive(boolean);
15 method public void setIsFactory(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.String> getUnionTest();
22 method public java.util.List<simple.type.EnumType> getYesOrNo();
23 method public boolean isExample1();
24 method public boolean isExample2();
25 method public boolean isExample3();
[all …]
/system/tools/hidl/
DgenerateCpp.cpp301 const Method* method = tuple.method(); in generateInterfaceHeader() local
305 const bool returnsValue = !method->results().empty(); in generateInterfaceHeader()
306 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateInterfaceHeader()
309 DocComment("Return callback for " + method->name(), HIDL_LOCATION_HERE).emit(out); in generateInterfaceHeader()
311 << method->name() in generateInterfaceHeader()
313 method->emitCppResultSignature(out, true /* specify namespaces */); in generateInterfaceHeader()
317 method->emitDocComment(out); in generateInterfaceHeader()
326 out << method->name() in generateInterfaceHeader()
328 method->emitCppArgSignature(out, true /* specify namespaces */); in generateInterfaceHeader()
330 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 …]
DgenerateCppAdapter.cpp59 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterHeader() argument
60 if (method->isHidlReserved()) { in generateCppAdapterHeader()
65 method->generateCppSignature(out); in generateCppAdapterHeader()
109 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterSource() argument
110 generateAdapterMethod(out, method); in generateCppAdapterSource()
120 void AST::generateAdapterMethod(Formatter& out, const Method* method) const { in generateAdapterMethod()
121 if (method->isHidlReserved()) { in generateAdapterMethod()
142 method->generateCppSignature(out, klassName); in generateAdapterMethod()
144 bool hasCallback = !method->canElideCallback() && !method->results().empty(); in generateAdapterMethod()
147 out << method->name() << "_cb _hidl_cb_wrapped = [&]("; in generateAdapterMethod()
[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);
149 bool fillPingMethod(Method* method) const;
150 bool fillDescriptorChainMethod(Method* method) const;
151 bool fillGetDescriptorMethod(Method* method) const;
152 bool fillHashChainMethod(Method* method) const;
153 bool fillSyspropsChangedMethod(Method* method) const;
154 bool fillLinkToDeathMethod(Method* method) const;
155 bool fillUnlinkToDeathMethod(Method* method) const;
156 bool fillSetHALInstrumentationMethod(Method* method) const;
157 bool fillGetDebugInfoMethod(Method* method) const;
[all …]
DgenerateCppImpl.cpp42 const Method* method) const { in generateStubImplMethod()
44 if (method->isHidlReserved()) { in generateStubImplMethod()
48 method->generateCppSignature(out, className, false /* specifyNamespaces */); in generateStubImplMethod()
55 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStubImplMethod()
113 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplHeader() argument
115 if (method->isHidlReserved()) { in generateCppImplHeader()
118 method->generateCppSignature(out, "" /* className */, in generateCppImplHeader()
150 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplSource() argument
151 generateStubImplMethod(out, baseName, method); in generateCppImplSource()
/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()
37 for (const auto& method : interface->GetMethods()) { in generate_mappings() local
38 if (method->IsUserDefined()) { in generate_mappings()
41 signature << method->GetName() << "|"; in generate_mappings()
42 for (const auto& arg : method->GetArguments()) { in generate_mappings()
46 signature << java::JavaSignatureOf(method->GetType(), typenames); in generate_mappings()
47 mappings[signature.str()] = dump_location(*method); in generate_mappings()
Dgenerate_rust.cpp68 string BuildMethod(const AidlMethod& method, const AidlTypenames& typenames) { in BuildMethod() argument
69 auto method_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE); in BuildMethod()
72 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in BuildMethod()
76 return "fn " + method.GetName() + "(" + parameters + ") -> " + return_type; in BuildMethod()
79 void GenerateClientMethod(CodeWriter& out, const AidlInterface& iface, const AidlMethod& method, in GenerateClientMethod() argument
83 out << BuildMethod(method, typenames) << " {\n"; in GenerateClientMethod()
86 if (!method.IsUserDefined()) { in GenerateClientMethod()
87 if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in GenerateClientMethod()
94 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in GenerateClientMethod()
106 if (method.IsOneway()) flags.push_back("binder::FLAG_ONEWAY"); in GenerateClientMethod()
[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…
/system/vold/model/
DVolumeEncryption.cpp37 auto method = android::base::GetProperty("ro.crypto.volume.metadata.method", "default"); in lookup_volume_method() local
38 if (method == "default") { in lookup_volume_method()
41 } else if (method == "dm-default-key") { in lookup_volume_method()
43 } else if (method == "dm-crypt") { in lookup_volume_method()
52 LOG(ERROR) << "Unknown volume encryption method: " << method; in lookup_volume_method()
58 static VolumeMethod method = lookup_volume_method(); in volume_method() local
59 return method; in volume_method()
/system/media/audio_utils/include/audio_utils/
DLinearMap.h226 T findX(T y, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
227 return findU(y, mX, mY, method, extrapolation, startValue);
233 T findY(T x, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
234 return findU(x, mY, mX, method, extrapolation, startValue);
301 T findU(T v, T *uArray, T *vArray, FindMethod *method, in findU() argument
304 if (method != NULL) { in findU()
305 *method = FIND_METHOD_START_VALUE; in findU()
321 if (method != NULL) { in findU()
322 *method = FIND_METHOD_FORWARD_EXTRAPOLATION; in findU()
338 if (method != NULL) { in findU()
[all …]

123456