| /external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/face/ |
| D | face.py | 14 """Interfaces defining the Face layer of RPC Framework.""" 42 group: The group identifier of the unrecognized RPC name. 43 method: The method identifier of the unrecognized RPC name. 68 """A value describing RPC abortion. 71 kind: A Kind value identifying how the RPC failed. 72 initial_metadata: The initial metadata from the other side of the RPC or 74 terminal_metadata: The terminal metadata from the other side of the RPC or 76 code: The code value from the other side of the RPC or None if no code value 78 details: The details value from the other side of the RPC or None if no 84 """Types of RPC abortion.""" [all …]
|
| /external/grpc-grpc/src/python/grpcio_testing/grpc_testing/ |
| D | __init__.py | 23 """Fixture for a unary-unary RPC invoked by a system under test. 25 Enables users to "play server" for the RPC. 30 """Sends the RPC's initial metadata to the system under test. 33 initial_metadata: The RPC's initial metadata to be "sent" to 40 """Blocks until the system under test has cancelled the RPC.""" 45 """Terminates the RPC. 48 response: The response for the RPC. 49 trailing_metadata: The RPC's trailing metadata. 50 code: The RPC's status code. 51 details: The RPC's status details. [all …]
|
| /external/ltp/testcases/network/rpc/rpc-tirpc/ |
| D | .gitignore | 11 /tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/rpc_clnt_control 12 /tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/rpc_clnt_control_dataint 13 /tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply 14 /tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply_client 15 /tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create_performance 16 /tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create 17 /tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create_complex 18 /tests_pack/rpc_suite/rpc/rpc_err_clnt_sperrno/rpc_clnt_sperrno 19 /tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/rpc_pmap_getmaps 20 /tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_register/rpc_xprt_register [all …]
|
| /external/grpc-grpc/src/python/grpcio_tests/tests/testing/ |
| D | _client_test.py | 64 rpc, 68 rpc.send_initial_metadata(()) 69 rpc.terminate( 89 rpc, 93 rpc.send_initial_metadata(()) 94 rpc.terminate((), grpc.StatusCode.OK, "") 109 invocation_metadata, rpc = self._real_time_channel.take_stream_unary( 112 rpc.send_initial_metadata(()) 113 first_request = rpc.take_request() 114 second_request = rpc.take_request() [all …]
|
| D | _server_test.py | 43 rpc = self._real_time_server.invoke_unary_unary( 49 initial_metadata = rpc.initial_metadata() 50 response, trailing_metadata, code, details = rpc.termination() 56 rpc = self._real_time_server.invoke_unary_stream( 62 initial_metadata = rpc.initial_metadata() 63 trailing_metadata, code, details = rpc.termination() 68 rpc = self._real_time_server.invoke_stream_unary( 71 rpc.send_request(_application_common.STREAM_UNARY_REQUEST) 72 rpc.send_request(_application_common.STREAM_UNARY_REQUEST) 73 rpc.send_request(_application_common.STREAM_UNARY_REQUEST) [all …]
|
| /external/pigweed/pw_rpc/ts/ |
| D | rpc_classes.ts | 29 /** Data class for a pending RPC call. */ 30 export class Rpc { class 48 * and call ID. This can be used to hash the Rpc. 64 /** Tracks pending RPCs and encodes outgoing RPC packets. */ 70 /** Starts the provided RPC and returns the encoded packet to send. */ 71 request(rpc: Rpc, request: Message, call: Call): Uint8Array { 72 this.open(rpc, call); 73 console.log(`Starting ${rpc}`); 74 return packets.encodeRequest(rpc.getIdSet(call.callId), request); 89 rpc: Rpc, [all …]
|
| /external/pigweed/pw_rpc/py/pw_rpc/ |
| D | client.py | 47 """Error from incorrectly using the RPC client classes.""" 51 """Uniquely identifies an RPC call. 82 """Tracks pending RPCs and encodes outgoing RPC packets.""" 99 rpc: PendingRpc, 104 """Starts the provided RPC and returns the encoded packet to send.""" 106 self.open(rpc, context, override_pending) 107 return packets.encode_request(rpc, request) 111 rpc: PendingRpc, 118 """Starts the provided RPC and sends the request packet to the channel. 123 previous = self.open(rpc, context, override_pending) [all …]
|
| D | packets.py | 46 def encode_request(rpc: RpcIds, request: message.Message | None) -> bytes: 51 channel_id=rpc.channel_id, 52 service_id=rpc.service_id, 53 method_id=rpc.method_id, 54 call_id=rpc.call_id, 59 def encode_response(rpc: RpcIds, response: message.Message) -> bytes: 62 channel_id=rpc.channel_id, 63 service_id=rpc.service_id, 64 method_id=rpc.method_id, 65 call_id=rpc.call_id, [all …]
|
| /external/trusty/arm-trusted-firmware/plat/imx/common/sci/svc/rm/ |
| D | sci_rm_rpc.h | 8 * Header file for the RM RPC implementation. 22 * @name Defines for RPC RM function calls 26 #define RM_FUNC_PARTITION_ALLOC 1U /* Index for rm_partition_alloc() RPC call */ 27 #define RM_FUNC_SET_CONFIDENTIAL 31U /* Index for rm_set_confidential() RPC call */ 28 #define RM_FUNC_PARTITION_FREE 2U /* Index for rm_partition_free() RPC call */ 29 #define RM_FUNC_GET_DID 26U /* Index for rm_get_did() RPC call */ 30 #define RM_FUNC_PARTITION_STATIC 3U /* Index for rm_partition_static() RPC call */ 31 #define RM_FUNC_PARTITION_LOCK 4U /* Index for rm_partition_lock() RPC call */ 32 #define RM_FUNC_GET_PARTITION 5U /* Index for rm_get_partition() RPC call */ 33 #define RM_FUNC_SET_PARENT 6U /* Index for rm_set_parent() RPC call */ [all …]
|
| /external/arm-trusted-firmware/plat/imx/common/sci/svc/rm/ |
| D | sci_rm_rpc.h | 8 * Header file for the RM RPC implementation. 22 * @name Defines for RPC RM function calls 26 #define RM_FUNC_PARTITION_ALLOC 1U /* Index for rm_partition_alloc() RPC call */ 27 #define RM_FUNC_SET_CONFIDENTIAL 31U /* Index for rm_set_confidential() RPC call */ 28 #define RM_FUNC_PARTITION_FREE 2U /* Index for rm_partition_free() RPC call */ 29 #define RM_FUNC_GET_DID 26U /* Index for rm_get_did() RPC call */ 30 #define RM_FUNC_PARTITION_STATIC 3U /* Index for rm_partition_static() RPC call */ 31 #define RM_FUNC_PARTITION_LOCK 4U /* Index for rm_partition_lock() RPC call */ 32 #define RM_FUNC_GET_PARTITION 5U /* Index for rm_get_partition() RPC call */ 33 #define RM_FUNC_SET_PARENT 6U /* Index for rm_set_parent() RPC call */ [all …]
|
| /external/arm-trusted-firmware/plat/imx/common/sci/svc/misc/ |
| D | sci_misc_rpc.h | 9 * Header file for the MISC RPC implementation. 23 * @name Defines for RPC MISC function calls 27 #define MISC_FUNC_SET_CONTROL 1U /* Index for misc_set_control() RPC call */ 28 #define MISC_FUNC_GET_CONTROL 2U /* Index for misc_get_control() RPC call */ 29 #define MISC_FUNC_SET_MAX_DMA_GROUP 4U /* Index for misc_set_max_dma_group() RPC call */ 30 #define MISC_FUNC_SET_DMA_GROUP 5U /* Index for misc_set_dma_group() RPC call */ 31 #define MISC_FUNC_SECO_IMAGE_LOAD 8U /* Index for misc_seco_image_load() RPC call */ 32 #define MISC_FUNC_SECO_AUTHENTICATE 9U /* Index for misc_seco_authenticate() RPC call */ 33 #define MISC_FUNC_SECO_FUSE_WRITE 20U /* Index for misc_seco_fuse_write() RPC call */ 34 #define MISC_FUNC_SECO_ENABLE_DEBUG 21U /* Index for misc_seco_enable_debug() RPC call */ [all …]
|
| /external/trusty/arm-trusted-firmware/plat/imx/common/sci/svc/misc/ |
| D | sci_misc_rpc.h | 9 * Header file for the MISC RPC implementation. 23 * @name Defines for RPC MISC function calls 27 #define MISC_FUNC_SET_CONTROL 1U /* Index for misc_set_control() RPC call */ 28 #define MISC_FUNC_GET_CONTROL 2U /* Index for misc_get_control() RPC call */ 29 #define MISC_FUNC_SET_MAX_DMA_GROUP 4U /* Index for misc_set_max_dma_group() RPC call */ 30 #define MISC_FUNC_SET_DMA_GROUP 5U /* Index for misc_set_dma_group() RPC call */ 31 #define MISC_FUNC_SECO_IMAGE_LOAD 8U /* Index for misc_seco_image_load() RPC call */ 32 #define MISC_FUNC_SECO_AUTHENTICATE 9U /* Index for misc_seco_authenticate() RPC call */ 33 #define MISC_FUNC_SECO_FUSE_WRITE 20U /* Index for misc_seco_fuse_write() RPC call */ 34 #define MISC_FUNC_SECO_ENABLE_DEBUG 21U /* Index for misc_seco_enable_debug() RPC call */ [all …]
|
| /external/grpc-grpc/src/proto/grpc/testing/ |
| D | echo.proto | 24 rpc Echo(EchoRequest) returns (EchoResponse); 25 rpc Echo1(EchoRequest) returns (EchoResponse); 26 rpc Echo2(EchoRequest) returns (EchoResponse); 27 rpc CheckDeadlineUpperBound(SimpleRequest) returns (StringValue); 28 rpc CheckDeadlineSet(SimpleRequest) returns (StringValue); 31 rpc CheckClientInitialMetadata(SimpleRequest) returns (SimpleResponse); 32 rpc RequestStream(stream EchoRequest) returns (EchoResponse); 33 rpc ResponseStream(EchoRequest) returns (stream EchoResponse); 34 rpc BidiStream(stream EchoRequest) returns (stream EchoResponse); 35 rpc Unimplemented(EchoRequest) returns (EchoResponse); [all …]
|
| /external/rust/crates/grpcio-sys/grpc/src/proto/grpc/testing/ |
| D | echo.proto | 24 rpc Echo(EchoRequest) returns (EchoResponse); 25 rpc Echo1(EchoRequest) returns (EchoResponse); 26 rpc Echo2(EchoRequest) returns (EchoResponse); 27 rpc CheckDeadlineUpperBound(SimpleRequest) returns (StringValue); 28 rpc CheckDeadlineSet(SimpleRequest) returns (StringValue); 31 rpc CheckClientInitialMetadata(SimpleRequest) returns (SimpleResponse); 32 rpc RequestStream(stream EchoRequest) returns (EchoResponse); 33 rpc ResponseStream(EchoRequest) returns (stream EchoResponse); 34 rpc BidiStream(stream EchoRequest) returns (stream EchoResponse); 35 rpc Unimplemented(EchoRequest) returns (EchoResponse); [all …]
|
| /external/trusty/arm-trusted-firmware/plat/imx/common/sci/svc/pm/ |
| D | sci_pm_rpc.h | 8 * Header file for the PM RPC implementation. 22 * @name Defines for RPC PM function calls 26 #define PM_FUNC_SET_SYS_POWER_MODE 19U /* Index for pm_set_sys_power_mode() RPC call */ 27 #define PM_FUNC_SET_PARTITION_POWER_MODE 1U /* Index for pm_set_partition_power_mode() RPC call */ 28 #define PM_FUNC_GET_SYS_POWER_MODE 2U /* Index for pm_get_sys_power_mode() RPC call */ 29 #define PM_FUNC_SET_RESOURCE_POWER_MODE 3U /* Index for pm_set_resource_power_mode() RPC call */ 30 #define PM_FUNC_GET_RESOURCE_POWER_MODE 4U /* Index for pm_get_resource_power_mode() RPC call */ 31 #define PM_FUNC_REQ_LOW_POWER_MODE 16U /* Index for pm_req_low_power_mode() RPC call */ 32 #define PM_FUNC_REQ_CPU_LOW_POWER_MODE 20U /* Index for pm_req_cpu_low_power_mode() RPC call */ 33 #define PM_FUNC_SET_CPU_RESUME_ADDR 17U /* Index for pm_set_cpu_resume_addr() RPC call */ [all …]
|
| /external/arm-trusted-firmware/plat/imx/common/sci/svc/pm/ |
| D | sci_pm_rpc.h | 8 * Header file for the PM RPC implementation. 22 * @name Defines for RPC PM function calls 26 #define PM_FUNC_SET_SYS_POWER_MODE 19U /* Index for pm_set_sys_power_mode() RPC call */ 27 #define PM_FUNC_SET_PARTITION_POWER_MODE 1U /* Index for pm_set_partition_power_mode() RPC call */ 28 #define PM_FUNC_GET_SYS_POWER_MODE 2U /* Index for pm_get_sys_power_mode() RPC call */ 29 #define PM_FUNC_SET_RESOURCE_POWER_MODE 3U /* Index for pm_set_resource_power_mode() RPC call */ 30 #define PM_FUNC_GET_RESOURCE_POWER_MODE 4U /* Index for pm_get_resource_power_mode() RPC call */ 31 #define PM_FUNC_REQ_LOW_POWER_MODE 16U /* Index for pm_req_low_power_mode() RPC call */ 32 #define PM_FUNC_REQ_CPU_LOW_POWER_MODE 20U /* Index for pm_req_cpu_low_power_mode() RPC call */ 33 #define PM_FUNC_SET_CPU_RESUME_ADDR 17U /* Index for pm_set_cpu_resume_addr() RPC call */ [all …]
|
| /external/pigweed/pw_rpc/java/main/dev/pigweed/pw_rpc/ |
| D | MethodClient.java | 25 * Represents a method ready to be invoked on a particular RPC channel. 27 * Invoking an RPC with a method client may throw exceptions: 52 * Invokes a unary RPC. Uses the default StreamObserver for RPC events. 63 /** Invokes a unary RPC. Uses the provided StreamObserver for RPC events. */ 70 /** Invokes a unary RPC with a future that collects the response. */ 78 * Creates a call object for a unary RPC without starting the RPC on the server. This can be used 79 * to start listening to responses to an RPC before the RPC server is available. 81 * <p>The RPC remains open until it is completed by the server with a response or error packet or 89 /** Invokes a server streaming RPC. Uses the default StreamObserver for RPC events. */ 94 /** Invokes a server streaming RPC. Uses the provided StreamObserver for RPC events. */ [all …]
|
| /external/trusty/arm-trusted-firmware/plat/imx/common/sci/svc/timer/ |
| D | sci_timer_rpc.h | 9 * Header file for the TIMER RPC implementation. 23 * @name Defines for RPC TIMER function calls 27 #define TIMER_FUNC_SET_WDOG_TIMEOUT 1U /* Index for timer_set_wdog_timeout() RPC call */ 28 #define TIMER_FUNC_SET_WDOG_PRE_TIMEOUT 12U /* Index for timer_set_wdog_pre_timeout() RPC call */ 29 #define TIMER_FUNC_START_WDOG 2U /* Index for timer_start_wdog() RPC call */ 30 #define TIMER_FUNC_STOP_WDOG 3U /* Index for timer_stop_wdog() RPC call */ 31 #define TIMER_FUNC_PING_WDOG 4U /* Index for timer_ping_wdog() RPC call */ 32 #define TIMER_FUNC_GET_WDOG_STATUS 5U /* Index for timer_get_wdog_status() RPC call */ 33 #define TIMER_FUNC_PT_GET_WDOG_STATUS 13U /* Index for timer_pt_get_wdog_status() RPC call */ 34 #define TIMER_FUNC_SET_WDOG_ACTION 10U /* Index for timer_set_wdog_action() RPC call */ [all …]
|
| /external/arm-trusted-firmware/plat/imx/common/sci/svc/timer/ |
| D | sci_timer_rpc.h | 9 * Header file for the TIMER RPC implementation. 23 * @name Defines for RPC TIMER function calls 27 #define TIMER_FUNC_SET_WDOG_TIMEOUT 1U /* Index for timer_set_wdog_timeout() RPC call */ 28 #define TIMER_FUNC_SET_WDOG_PRE_TIMEOUT 12U /* Index for timer_set_wdog_pre_timeout() RPC call */ 29 #define TIMER_FUNC_START_WDOG 2U /* Index for timer_start_wdog() RPC call */ 30 #define TIMER_FUNC_STOP_WDOG 3U /* Index for timer_stop_wdog() RPC call */ 31 #define TIMER_FUNC_PING_WDOG 4U /* Index for timer_ping_wdog() RPC call */ 32 #define TIMER_FUNC_GET_WDOG_STATUS 5U /* Index for timer_get_wdog_status() RPC call */ 33 #define TIMER_FUNC_PT_GET_WDOG_STATUS 13U /* Index for timer_pt_get_wdog_status() RPC call */ 34 #define TIMER_FUNC_SET_WDOG_ACTION 10U /* Index for timer_set_wdog_action() RPC call */ [all …]
|
| /external/pigweed/pw_rpc/nanopb/ |
| D | docs.rst | 6 ``pw_rpc`` can generate services which encode/decode RPC requests and responses 40 extension replaced by ``.rpc.pb.h``. For example, given the input file 42 at the include path ``"chat_protos/chat_service.rpc.pb.h"``. 46 All examples in this document use the following RPC service definition. 56 rpc GetRoomInformation(RoomInfoRequest) returns (RoomInfoResponse) {} 60 rpc ListUsersInRoom(ListUsersRequest) returns (stream ListUsersResponse) {} 63 rpc UploadFile(stream UploadFileRequest) returns (UploadFileResponse) {} 66 rpc Chat(stream ChatMessage) returns (stream ChatMessage) {} 79 #include "chat_protos/chat_service.rpc.pb.h" 83 // Implementations of the service's RPC methods; see below. [all …]
|
| /external/pigweed/pw_rpc/ |
| D | docs.rst | 25 :ref:`module-pw_hdlc-rpc-example` in the :ref:`module-pw_hdlc` module. 64 ``pw_protobuf`` and ``nanopb`` RPC services cannot currently coexist within the 65 same RPC server. Unless you are running multiple RPC servers, you cannot 71 RPC semantics 76 RPC call lifecycle 78 In ``pw_rpc``, an RPC begins when the client sends an initial packet. The server 80 RPC function. The RPC is considered active until the server sends a status to 81 finish the RPC. The client may terminate an ongoing RPC by cancelling it. 82 Multiple concurrent RPC requests to the same method may be made simultaneously 86 Depending the type of RPC, the client and server exchange zero or more protobuf [all …]
|
| /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
| D | TelephonyManagerFacade.java | 68 import com.googlecode.android_scripting.rpc.Rpc; 69 import com.googlecode.android_scripting.rpc.RpcDefault; 70 import com.googlecode.android_scripting.rpc.RpcOptional; 71 import com.googlecode.android_scripting.rpc.RpcParameter; 133 @Rpc(description = "Resets TelephonyManager settings to factory default.") 146 @Rpc(description = "Resets Telephony and IMS settings to factory default.") 155 @Rpc(description = "Set network preference.") 162 @Rpc(description = "Set network preference for subscription.") 180 @Rpc(description = "Set network selection mode to automatic for subscriber.") 186 @Rpc(description = "Get network preference.") [all …]
|
| /external/grpc-grpc/src/python/grpcio/grpc/ |
| D | __init__.py | 298 """Describes the status of an RPC. 305 termination of the RPC. 306 trailing_metadata: The trailing :term:`metadata` in the RPC. 314 """Raised by the gRPC library to indicate non-OK-status RPC termination.""" 321 """Provides RPC-related information and action.""" 325 """Describes whether the RPC is active or has terminated. 329 True if RPC is active, False otherwise. 335 """Describes the length of allowed time remaining for the RPC. 339 remaining for the RPC to complete before it is considered to have 340 timed out, or None if no deadline was specified for the RPC. [all …]
|
| /external/sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ |
| D | Help.java | 17 // source: google/rpc/error_details.proto 19 package com.google.rpc; 31 * Protobuf type {@code google.rpc.Help} 35 // @@protoc_insertion_point(message_implements:google.rpc.Help) 59 return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_descriptor; in getDescriptor() 65 return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_fieldAccessorTable in internalGetFieldAccessorTable() 67 com.google.rpc.Help.class, com.google.rpc.Help.Builder.class); in internalGetFieldAccessorTable() 72 // @@protoc_insertion_point(interface_extends:google.rpc.Help.Link) 132 * Protobuf type {@code google.rpc.Help.Link} 136 // @@protoc_insertion_point(message_implements:google.rpc.Help.Link) [all …]
|
| /external/trusty/arm-trusted-firmware/plat/imx/common/sci/svc/pad/ |
| D | sci_pad_rpc.h | 8 * Header file for the PAD RPC implementation. 22 * @name Defines for RPC PAD function calls 26 #define PAD_FUNC_SET_MUX 1U /* Index for pad_set_mux() RPC call */ 27 #define PAD_FUNC_GET_MUX 6U /* Index for pad_get_mux() RPC call */ 28 #define PAD_FUNC_SET_GP 2U /* Index for pad_set_gp() RPC call */ 29 #define PAD_FUNC_GET_GP 7U /* Index for pad_get_gp() RPC call */ 30 #define PAD_FUNC_SET_WAKEUP 4U /* Index for pad_set_wakeup() RPC call */ 31 #define PAD_FUNC_GET_WAKEUP 9U /* Index for pad_get_wakeup() RPC call */ 32 #define PAD_FUNC_SET_ALL 5U /* Index for pad_set_all() RPC call */ 33 #define PAD_FUNC_GET_ALL 10U /* Index for pad_get_all() RPC call */ [all …]
|