Home | History | Annotate | Download | only in chromeos-dbus-bindings

Lines Matching refs:Method

27 // Helper struct to encapsulate information about method call parameter during
206 for (const auto& method : interface.methods) {
207 AddMethodProxy(method, interface.name, true, text);
208 AddAsyncMethodProxy(method, interface.name, true, text);
256 for (const auto& method : interface.methods) {
257 AddMethodProxy(method, interface.name, false, text);
258 AddAsyncMethodProxy(method, interface.name, false, text);
330 for (const auto& method : interface.methods) {
331 AddMethodMock(method, interface.name, text);
332 AddAsyncMethodMock(method, interface.name, text);
504 block.PopOffset(); // Method signature arguments
514 block.PopOffset(); // Method body
636 void ProxyGenerator::AddMethodProxy(const Interface::Method& method,
643 block.AddComments(method.doc_string);
646 method.name.c_str()));
650 for (const auto& argument : method.input_arguments) {
660 for (const auto& argument : method.output_arguments) {
682 block.AddLine(StringPrintf("\"%s\",", method.name.c_str()));
703 void ProxyGenerator::AddAsyncMethodProxy(const Interface::Method& method,
710 block.AddComments(method.doc_string);
713 method.name.c_str()));
717 for (const auto& argument : method.input_arguments) {
727 for (const auto& argument : method.output_arguments) {
752 block.AddLine(StringPrintf("\"%s\",", method.name.c_str()));
769 void ProxyGenerator::AddMethodMock(const Interface::Method& method,
774 for (const auto& argument : method.input_arguments) {
782 for (const auto& argument : method.output_arguments) {
792 AddMockMethodDeclaration(method.name, "bool", arguments, text);
796 void ProxyGenerator::AddAsyncMethodMock(const Interface::Method& method,
801 for (const auto& argument : method.input_arguments) {
810 for (const auto& argument : method.output_arguments) {
824 AddMockMethodDeclaration(method.name + "Async", "void", arguments, text);
848 " arguments. You can override this method in a subclass if you need"