Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 127) 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 java.util.List<java.lang.String> getVersion();
12 method public java.util.List<hal.manifest.Interface> get_interface();
13 method public void setFormat(String);
14 method public void setName(String);
15 method public void setOverride(String);
[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/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 void setCity(String);
10 method @Deprecated public final void setName(String);
11 method @Deprecated public void setStreet(String);
20 method public simple.complex.content.KRAddress getKRAddress();
21 method public String getName();
22 method public simple.complex.content.SubAddress getSubAddress();
23 method public simple.complex.content.USAddressP getUSAddressP();
[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/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 …]
DInterface.cpp87 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
88 if (method->name() != "ping") { in fillPingMethod()
92 method->fillImplementation( in fillPingMethod()
118 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
119 if (method->name() != "linkToDeath") { in fillLinkToDeathMethod()
123 method->fillImplementation( in fillLinkToDeathMethod()
162 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
163 if (method->name() != "unlinkToDeath") { in fillUnlinkToDeathMethod()
167 method->fillImplementation( in fillUnlinkToDeathMethod()
210 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
[all …]
DgenerateJava.cpp240 for (const auto &method : iface->methods()) { in generateJava() local
241 const bool needsCallback = method->results().size() > 1; in generateJava()
244 out << "\n@java.lang.FunctionalInterface\npublic interface " << method->name() in generateJava()
250 method->emitJavaResultSignature(out); in generateJava()
257 method->emitDocComment(out); in generateJava()
259 method->emitJavaSignature(out); in generateJava()
312 const Method *method = tuple.method(); in generateJava() local
321 const bool returnsValue = !method->results().empty(); in generateJava()
322 const bool needsCallback = method->results().size() > 1; in generateJava()
325 method->emitJavaSignature(out); in generateJava()
[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.h46 void addUserDefinedMethod(Method* method);
146 bool fillPingMethod(Method* method) const;
147 bool fillDescriptorChainMethod(Method* method) const;
148 bool fillGetDescriptorMethod(Method* method) const;
149 bool fillHashChainMethod(Method* method) const;
150 bool fillSyspropsChangedMethod(Method* method) const;
151 bool fillLinkToDeathMethod(Method* method) const;
152 bool fillUnlinkToDeathMethod(Method* method) const;
153 bool fillSetHALInstrumentationMethod(Method* method) const;
154 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/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 void setListInt(java.util.List<java.lang.Integer>);
24 method public void setUnionTest(java.util.List<java.lang.String>);
29 method public String getExample1_optional();
[all …]
/system/tools/xsdc/tests/resources/attr_group_simple/api/
Dcurrent.txt6 method public String getCity();
7 method public String getName();
8 method public String getRoad();
9 method public String getState();
10 method public void setCity(String);
11 method public void setName(String);
12 method public void setRoad(String);
13 method public void setState(String);
18method public static attr.group.simple.Student read(java.io.InputStream) throws javax.xml.datatype…
19method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org…
[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_ndk.cpp293 const AidlMethod& method, in GenerateClientMethodDefinition() argument
297 out << NdkMethodDecl(types, method, clazz) << " {\n"; in GenerateClientMethodDefinition()
302 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in GenerateClientMethodDefinition()
311 } else if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in GenerateClientMethodDefinition()
325 out << cpp::GenLogBeforeExecute(ClassName(defined_type, ClassNames::CLIENT), method, in GenerateClientMethodDefinition()
332 for (const auto& arg : method.GetArguments()) { in GenerateClientMethodDefinition()
349 out << MethodId(method) << ",\n"; in GenerateClientMethodDefinition()
352 out << (method.IsOneway() ? "FLAG_ONEWAY" : "0") << "\n"; in GenerateClientMethodDefinition()
365 out << "return " << iface << "::getDefaultImpl()->" << method.GetName() << "("; in GenerateClientMethodDefinition()
366 out << NdkArgList(types, method, FormatArgNameOnly) << ");\n"; in GenerateClientMethodDefinition()
[all …]
Dgenerate_cpp.cpp96 ArgList BuildArgList(const AidlTypenames& typenames, const AidlMethod& method, bool for_declaration, in BuildArgList() argument
100 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList()
142 if (method.GetType().GetName() != "void") { in BuildArgList()
145 literal = CppNameOf(method.GetType(), typenames) + "*"; in BuildArgList()
158 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, const AidlTypenames& typenames, in BuildMethodDecl() argument
169 new MethodDecl{kBinderStatusLiteral, method.GetName(), in BuildMethodDecl()
170 BuildArgList(typenames, method, true /* for method decl */), modifiers}}; in BuildMethodDecl()
173 unique_ptr<Declaration> BuildMetaMethodDecl(const AidlMethod& method, const AidlTypenames&, in BuildMetaMethodDecl() argument
175 CHECK(!method.IsUserDefined()); in BuildMetaMethodDecl()
176 if (method.GetName() == kGetInterfaceVersion && options.Version()) { in BuildMetaMethodDecl()
[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…
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp77 const Method* method; member
84 const Method* method = versionedMethod.method; in pushVersionedMethodOntoMap() local
85 std::string name = method->name(); in pushVersionedMethodOntoMap()
165 for (const Method* method : (*iface)->userDefinedMethods()) { in emitAidl()
168 (*iface)->fqName().getPackageMinorVersion(), method, method->name()}, in emitAidl()
170 methodNames.push_back(method->name()); in emitAidl()
177 out << "// Ignoring method " << versionedMethod->method->name() << " from " in emitAidl()
181 ignoredMethodNames.insert(versionedMethod->method->name()); in emitAidl()
186 const Method* method = methodMap[name].method; in emitAidl() local
187 if (method == nullptr) { in emitAidl()
[all …]
/system/vold/model/
DVolumeEncryption.cpp38 auto method = android::base::GetProperty("ro.crypto.volume.metadata.method", "default"); in lookup_volume_method() local
39 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 …]
/system/tools/xsdc/tests/resources/reference/api/
Dcurrent.txt6 method public String getName();
7 method public java.util.List<java.lang.String> getStudent();
8 method public void setName(String);
13method public static reference.Class read(java.io.InputStream) throws javax.xml.datatype.DatatypeC…
14method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org…
15method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu…
/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp134 jmethodID method = env->GetMethodID(cDeviceInfo, "getWidthPx", "()I"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() local
136 device_info.width_ = env->CallIntMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
137 method = env->GetMethodID(cDeviceInfo, "getHeightPx", "()I"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
138 device_info.height_ = env->CallIntMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
139 method = env->GetMethodID(cDeviceInfo, "getDp2px", "()D"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
140 device_info.dp2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
141 method = env->GetMethodID(cDeviceInfo, "getMm2px", "()D"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
142 device_info.mm2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
143 method = env->GetMethodID(cDeviceInfo, "getPowerButtonTopMm", "()D"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
144 device_info.powerButtonTopMm_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
[all …]

123456