/system/tools/xsdc/tests/resources/predefined_types/api/ |
D | current.txt | 6 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/ |
D | current.txt | 6 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/ |
D | current.txt | 6 method public String getFormat(); 7 method public java.util.List<java.lang.String> getFqname(); 8 method public String getName(); 9 method public String getOptional(); 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 setOptional(String); [all …]
|
/system/tools/xsdc/tests/resources/nested_type/api/ |
D | current.txt | 6 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/ |
D | current.txt | 6 method @Deprecated public String getCity(); 7 method @Deprecated public String getName(); 8 method @Deprecated public String getStreet(); 9 method @Deprecated public void setCity(String); 10 method @Deprecated public 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/ |
D | current.txt | 6 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/ |
D | generateJava.cpp | 244 for (const auto &method : iface->methods()) { in generateJava() local 245 const bool returnsValue = !method->results().empty(); in generateJava() 246 const bool needsCallback = method->results().size() > 1; in generateJava() 249 out << "\n@java.lang.FunctionalInterface\npublic interface " << method->name() in generateJava() 255 method->emitJavaResultSignature(out); in generateJava() 262 method->emitDocComment(out); in generateJava() 265 out << method->results()[0]->type().getJavaType(); in generateJava() 271 << method->name() in generateJava() 273 method->emitJavaArgSignature(out); in generateJava() 276 if (!method->args().empty()) { in generateJava() [all …]
|
D | Interface.cpp | 86 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod() 87 if (method->name() != "ping") { in fillPingMethod() 91 method->fillImplementation( in fillPingMethod() 117 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod() 118 if (method->name() != "linkToDeath") { in fillLinkToDeathMethod() 122 method->fillImplementation( in fillLinkToDeathMethod() 161 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod() 162 if (method->name() != "unlinkToDeath") { in fillUnlinkToDeathMethod() 166 method->fillImplementation( in fillUnlinkToDeathMethod() 209 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod() [all …]
|
D | generateCpp.cpp | 304 const Method* method = tuple.method(); in generateInterfaceHeader() local 308 const bool returnsValue = !method->results().empty(); in generateInterfaceHeader() 309 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateInterfaceHeader() 312 DocComment("Return callback for " + method->name()).emit(out); in generateInterfaceHeader() 314 << method->name() in generateInterfaceHeader() 316 method->emitCppResultSignature(out, true /* specify namespaces */); in generateInterfaceHeader() 320 method->dumpAnnotations(out); in generateInterfaceHeader() 322 method->emitDocComment(out); in generateInterfaceHeader() 331 out << method->name() in generateInterfaceHeader() 333 method->emitCppArgSignature(out, true /* specify namespaces */); in generateInterfaceHeader() [all …]
|
D | generateCppAdapter.cpp | 59 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 …]
|
D | Interface.h | 42 bool addMethod(Method *method); 144 bool fillPingMethod(Method* method) const; 145 bool fillDescriptorChainMethod(Method* method) const; 146 bool fillGetDescriptorMethod(Method* method) const; 147 bool fillHashChainMethod(Method* method) const; 148 bool fillSyspropsChangedMethod(Method* method) const; 149 bool fillLinkToDeathMethod(Method* method) const; 150 bool fillUnlinkToDeathMethod(Method* method) const; 151 bool fillSetHALInstrumentationMethod(Method* method) const; 152 bool fillGetDebugInfoMethod(Method* method) const; [all …]
|
D | generateCppImpl.cpp | 41 const Method* method) const { in generateStubImplMethod() 43 if (method->isHidlReserved()) { in generateStubImplMethod() 47 method->generateCppSignature(out, className, false /* specifyNamespaces */); in generateStubImplMethod() 54 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStubImplMethod() 109 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplHeader() argument 111 if (method->isHidlReserved()) { in generateCppImplHeader() 114 method->generateCppSignature(out, "" /* className */, in generateCppImplHeader() 149 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplSource() argument 150 generateStubImplMethod(out, baseName, method); in generateCppImplSource()
|
D | AST.h | 274 const Method* method) const; 275 …void generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInterfa… 277 … const Method* method, const Interface* superInterface) const; 279 const Method* method, const Interface* superInterface) const; 280 void generateAdapterMethod(Formatter& out, const Method* method) const; 288 void generateStubSourceForMethod(Formatter& out, const Method* method, 291 … const Method* method, const Interface* superInterface) const; 313 const Method *method) const; 318 const Method *method,
|
/system/tools/xsdc/tests/resources/simple_type/api/ |
D | current.txt | 5 method public String getRawName(); 12 method public java.util.List<java.lang.String> getExample1_optional(); 13 method public java.util.List<java.lang.String> getExample2_optional(); 14 method public java.util.List<java.lang.String> getExample3_optional(); 19 method public java.util.List<java.lang.Integer> getListInt(); 20 method public java.util.List<java.lang.String> getUnionTest(); 21 method public simple.type.EnumType getYesOrNo(); 22 method public void setListInt(java.util.List<java.lang.Integer>); 23 method public void setUnionTest(java.util.List<java.lang.String>); 24 method public void setYesOrNo(simple.type.EnumType); [all …]
|
/system/tools/aidl/ |
D | generate_aidl_mappings.cpp | 26 std::string dump_location(const AidlNode& method) { in dump_location() argument 27 return method.PrintLocation(); 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 << method->GetType().GetLanguageType<java::Type>()->JavaType(); in generate_mappings() 46 mappings[signature.str()] = dump_location(*method); in generate_mappings()
|
D | generate_ndk.cpp | 238 const AidlMethod& method, in GenerateClientMethodDefinition() argument 243 out << NdkMethodDecl(types, method, clazz) << " {\n"; in GenerateClientMethodDefinition() 262 out << cpp::GenLogBeforeExecute(ClassName(defined_type, ClassNames::CLIENT), method, in GenerateClientMethodDefinition() 269 for (const auto& arg : method.GetArguments()) { in GenerateClientMethodDefinition() 286 out << MethodId(method) << ",\n"; in GenerateClientMethodDefinition() 289 out << (method.IsOneway() ? "FLAG_ONEWAY" : "0") << ");\n"; in GenerateClientMethodDefinition() 298 out << "return " << iface << "::getDefaultImpl()->" << method.GetName() << "("; in GenerateClientMethodDefinition() 299 out << NdkArgList(types, method, FormatArgNameOnly) << ");\n"; in GenerateClientMethodDefinition() 305 if (!method.IsOneway()) { in GenerateClientMethodDefinition() 312 if (method.GetType().GetName() != "void") { in GenerateClientMethodDefinition() [all …]
|
D | generate_cpp.cpp | 95 ArgList BuildArgList(const TypeNamespace& types, const AidlMethod& method, bool for_declaration, in BuildArgList() argument 99 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList() 127 const Type* return_type = method.GetType().GetLanguageType<Type>(); in BuildArgList() 143 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, in BuildMethodDecl() argument 156 method.GetName(), in BuildMethodDecl() 157 BuildArgList(types, method, true /* for method decl */), in BuildMethodDecl() 161 unique_ptr<Declaration> BuildMetaMethodDecl(const AidlMethod& method, const TypeNamespace&, in BuildMetaMethodDecl() argument 163 CHECK(!method.IsUserDefined()); in BuildMetaMethodDecl() 164 if (method.GetName() == kGetInterfaceVersion && options.Version()) { in BuildMetaMethodDecl() 230 const AidlMethod& method, const Options& options) { in DefineClientTransaction() argument [all …]
|
D | generate_java_binder.cpp | 96 const AidlMethod* method); 228 const AidlMethod* method) { in get_transact_descriptor() argument 230 if (method != nullptr) { in get_transact_descriptor() 232 if (outline_methods.count(method) != 0) { in get_transact_descriptor() 401 const AidlMethod& method, JavaTypeNamespace* types) { in generate_interface_method() argument 403 decl->comment = method.GetComments(); in generate_interface_method() 405 decl->returnType = method.GetType().GetLanguageType<Type>()->JavaType(); in generate_interface_method() 406 decl->returnTypeDimension = method.GetType().IsArray() ? 1 : 0; in generate_interface_method() 407 decl->name = method.GetName(); in generate_interface_method() 408 decl->annotations = generate_java_annotations(method.GetType()); in generate_interface_method() [all …]
|
D | aidl_to_cpp.cpp | 38 std::string GetTransactionIdFor(const AidlMethod& method) { in GetTransactionIdFor() argument 42 output << method.GetId() << " /* " << method.GetName() << " */"; in GetTransactionIdFor()
|
/system/tools/xsdc/tests/resources/reference/api/ |
D | current.txt | 6 method public String getName(); 7 method public java.util.List<java.lang.String> getStudent(); 8 method public void setName(String); 13 …method public static reference.Class read(java.io.InputStream) throws javax.xml.datatype.DatatypeC… 14 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 15 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu…
|
/system/extras/simpleperf/scripts/inferno/ |
D | svg_renderer.py | 37 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(">", ">").replace("<", "<") 78 r, g, b = get_legacy_color(method) [all …]
|
D | data_types.py | 20 def __init__(self, method, dso): argument 21 self.method = method 88 def __init__(self, method, dso, callsite_id): argument 92 self.method = method 109 key = (callsite.dso, callsite.method) 112 child = self.child_dict[key] = FlameGraphCallSite(callsite.method, callsite.dso,
|
/system/connectivity/wificond/scanning/offload/ |
D | hidl_call_util.h | 90 MethodT method, ObjectT object, ArgT&&... methodArg) { 92 const auto& res = ((*object).*method)(std::forward<ArgT>(methodArg)..., 124 #define HIDL_INVOKE(strong_pointer, method, ...) \ 126 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 127 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
|
/system/update_engine/update_manager/ |
D | policy_test_utils.h | 58 void ExpectStatus(EvalStatus expected, T method, R* result, Args... args) { in ExpectStatus() argument 62 (*method)(eval_ctx_.get(), &fake_state_, &error, result, args...)) in ExpectStatus() 71 EvalStatus CallMethodWithContext(T method, R* result, Args... args) { in CallMethodWithContext() argument 74 return (*method)(eval_ctx_.get(), &fake_state_, &error, result, args...); in CallMethodWithContext()
|
/system/core/libunwindstack/tests/ |
D | DexFileTest.cpp | 178 std::string method; in TEST() local 180 ASSERT_TRUE(dex_file->GetMethodInformation(0x102, &method, &method_offset)); in TEST() 181 EXPECT_EQ("Main.<init>", method); in TEST() 184 ASSERT_TRUE(dex_file->GetMethodInformation(0x118, &method, &method_offset)); in TEST() 185 EXPECT_EQ("Main.main", method); in TEST() 196 std::string method; in TEST() local 198 EXPECT_FALSE(dex_file->GetMethodInformation(0x100000, &method, &method_offset)); in TEST() 200 EXPECT_FALSE(dex_file->GetMethodInformation(0x98, &method, &method_offset)); in TEST()
|