Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 123) 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 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/apex/apexd/apex-info-list-api/
Dcurrent.txt6 method public boolean getIsActive();
7 method public boolean getIsFactory();
8 method public String getModuleName();
9 method public String getModulePath();
10 method public String getPreinstalledModulePath();
11 method public long getVersionCode();
12 method public String getVersionName();
13 method public void setIsActive(boolean);
14 method public void setIsFactory(boolean);
15 method public void setModuleName(String);
[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.cpp58 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
59 if (method->name() != "ping") { in fillPingMethod()
63 method->fillImplementation( in fillPingMethod()
89 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
90 if (method->name() != "linkToDeath") { in fillLinkToDeathMethod()
94 method->fillImplementation( in fillLinkToDeathMethod()
133 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
134 if (method->name() != "unlinkToDeath") { in fillUnlinkToDeathMethod()
138 method->fillImplementation( in fillUnlinkToDeathMethod()
181 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
[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 …]
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.cpp209 for (const auto& method : interface->GetMethods()) { in GenerateHeaderIncludes() local
210 includes.insert(headerFilePath(method->GetType())); in GenerateHeaderIncludes()
211 for (const auto& argument : method->GetArguments()) { in GenerateHeaderIncludes()
326 const AidlMethod& method, in GenerateClientMethodDefinition() argument
330 out << NdkMethodDecl(types, method, clazz) << " {\n"; in GenerateClientMethodDefinition()
335 if (method.GetName() == kGetInterfaceHash && !options.Hash().empty()) { in GenerateClientMethodDefinition()
344 } else if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in GenerateClientMethodDefinition()
358 out << cpp::GenLogBeforeExecute(ClassName(defined_type, ClassNames::CLIENT), method, in GenerateClientMethodDefinition()
363 << "::" << ClassName(defined_type, ClassNames::INTERFACE) << "::" << method.GetName() in GenerateClientMethodDefinition()
370 for (const auto& arg : method.GetArguments()) { 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…
23 method public void close();
[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…
20 method public void close();
21method public static void write(reference.XmlWriter, reference.Class) throws java.io.IOException;
/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/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py37 def get_legacy_color(method): argument
38 r = 175 + int(50 * hash_to_float(reversed(method)))
39 g = 60 + int(180 * hash_to_float(method))
40 b = 60 + int(55 * hash_to_float(reversed(method)))
44 def get_dso_color(method): argument
45 r = 170 + int(80 * hash_to_float(reversed(method)))
46 g = 180 + int(70 * hash_to_float((method)))
47 b = 170 + int(80 * hash_to_float(reversed(method)))
71 method = callsite.method.replace(">", "&gt;").replace("<", "&lt;")
78 r, g, b = get_legacy_color(method)
[all …]
/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp140 jmethodID method = env->GetMethodID(cDeviceInfo, "getWidthPx", "()I"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() local
142 device_info.width_ = env->CallIntMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
143 method = env->GetMethodID(cDeviceInfo, "getHeightPx", "()I"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
144 device_info.height_ = env->CallIntMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
145 method = env->GetMethodID(cDeviceInfo, "getDp2px", "()D"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
146 device_info.dp2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
147 method = env->GetMethodID(cDeviceInfo, "getMm2px", "()D"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
148 device_info.mm2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
149 method = env->GetMethodID(cDeviceInfo, "getPowerButtonTopMm", "()D"); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
150 device_info.powerButtonTopMm_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
[all …]

12345