Namespaces | |
| end2end_testing | |
| fuzzing | |
Classes | |
| class | Binder |
| class | CallbackChecker |
| class | ConnectionIdGenerator |
| class | EndpointBinderPool |
| class | HasRawBinder |
| class | MockBinder |
| class | MockReadableParcel |
| class | MockTransactionReceiver |
| class | MockTransportStreamReceiver |
| class | MockWireWriter |
| class | MockWritableParcel |
| class | ReadableParcel |
| class | SecurityPolicySetting |
| class | Transaction |
| class | TransactionReceiver |
| class | TransportStreamReceiver |
| class | TransportStreamReceiverImpl |
| class | WireReader |
| class | WireReaderImpl |
| class | WireWriter |
| class | WireWriterImpl |
| class | WritableParcel |
Typedefs | |
| using | Metadata = std::vector< std::pair< std::string, std::string > > |
| typedef int | StreamIdentifier |
Enumerations | |
| enum | BinderTransportTxCode : int32_t { BinderTransportTxCode::SETUP_TRANSPORT = 1, BinderTransportTxCode::SHUTDOWN_TRANSPORT = 2, BinderTransportTxCode::ACKNOWLEDGE_BYTES = 3, BinderTransportTxCode::PING = 4, BinderTransportTxCode::PING_RESPONSE = 5 } |
Functions | |
| bool | CanBeSentInOneTransaction (const Transaction &tx) |
| ConnectionIdGenerator * | GetConnectionIdGenerator () |
| EndpointBinderPool * | GetEndpointBinderPool () |
| SecurityPolicySetting * | GetSecurityPolicySetting () |
| INSTANTIATE_TEST_SUITE_P (End2EndBinderTransportTestWithDifferentDelayTimes, End2EndBinderTransportTest, testing::Values(absl::ZeroDuration(), absl::Nanoseconds(10), absl::Microseconds(10), absl::Microseconds(100), absl::Milliseconds(1), absl::Milliseconds(20))) | |
| MATCHER_P (StrEqInt8Ptr, target, "") | |
| void | RunScheduledTx (void *arg, grpc_error_handle) |
| TEST (EndpointBinderPoolTest, AddBeforeGet) | |
| TEST (EndpointBinderPoolTest, ExpectNotCalled) | |
| TEST (EndpointBinderPoolTest, GetBeforeAdd) | |
| TEST (WireWriterTest, RpcCall) | |
| TEST_F (BinderTransportTest, CreateBinderTransport) | |
| TEST_F (BinderTransportTest, PerformAllOps) | |
| TEST_F (BinderTransportTest, PerformRecvAll) | |
| TEST_F (BinderTransportTest, PerformRecvInitialMetadata) | |
| TEST_F (BinderTransportTest, PerformRecvInitialMetadataWithMethodRef) | |
| TEST_F (BinderTransportTest, PerformRecvMessage) | |
| TEST_F (BinderTransportTest, PerformRecvTrailingMetadata) | |
| TEST_F (BinderTransportTest, PerformSendAll) | |
| TEST_F (BinderTransportTest, PerformSendInitialMetadata) | |
| TEST_F (BinderTransportTest, PerformSendInitialMetadataMethodRef) | |
| TEST_F (BinderTransportTest, PerformSendMessage) | |
| TEST_F (BinderTransportTest, PerformSendTrailingMetadata) | |
| TEST_F (BinderTransportTest, TransactionIdIncrement) | |
| TEST_F (BinderTransportTest, WireWriterRpcCallErrorPropagates) | |
| TEST_F (TransportStreamReceiverTest, DISABLED_SingleStreamBufferedCallbacks) | |
| TEST_F (TransportStreamReceiverTest, MultipleStreamCompleteThenRequest) | |
| TEST_F (TransportStreamReceiverTest, MultipleStreamInterleaved) | |
| TEST_F (TransportStreamReceiverTest, MultipleStreamInterleavedReversed) | |
| TEST_F (TransportStreamReceiverTest, MultipleStreamMoreInterleaved) | |
| TEST_F (TransportStreamReceiverTest, MultipleStreamRequestThenComplete) | |
| TEST_F (TransportStreamReceiverTest, SingleStreamStreamingCall) | |
| TEST_F (TransportStreamReceiverTest, SingleStreamUnaryCall) | |
| TEST_F (WireReaderTest, InBoundFlowControl) | |
| TEST_F (WireReaderTest, ProcessTransactionControlMessagePingResponse) | |
| TEST_F (WireReaderTest, ProcessTransactionControlMessageSetupTransport) | |
| TEST_F (WireReaderTest, ProcessTransactionServerRpcDataEmptyFlagIgnored) | |
| TEST_F (WireReaderTest, ProcessTransactionServerRpcDataFlagMessageDataEmpty) | |
| TEST_F (WireReaderTest, ProcessTransactionServerRpcDataFlagMessageDataNonEmpty) | |
| TEST_F (WireReaderTest, ProcessTransactionServerRpcDataFlagPrefixWithMetadata) | |
| TEST_F (WireReaderTest, ProcessTransactionServerRpcDataFlagPrefixWithoutMetadata) | |
| TEST_F (WireReaderTest, ProcessTransactionServerRpcDataFlagSuffixWithoutStatus) | |
| TEST_F (WireReaderTest, ProcessTransactionServerRpcDataFlagSuffixWithStatus) | |
| TEST_F (WireReaderTest, ServerInitialMetadata) | |
| TEST_F (WireReaderTest, SetupTransport) | |
| TEST_P (End2EndBinderTransportTest, BiDirStreamingCall) | |
| TEST_P (End2EndBinderTransportTest, BiDirStreamingCallServerFinishesHalfway) | |
| TEST_P (End2EndBinderTransportTest, ClientStreamingCall) | |
| TEST_P (End2EndBinderTransportTest, ClientStreamingCallTryCancelAfterProcessing) | |
| TEST_P (End2EndBinderTransportTest, ClientStreamingCallTryCancelBeforeProcessing) | |
| TEST_P (End2EndBinderTransportTest, ClientStreamingCallTryCancelDuringProcessing) | |
| TEST_P (End2EndBinderTransportTest, LargeMessages) | |
| TEST_P (End2EndBinderTransportTest, ServerSteramingCallTryCancelAfterProcessing) | |
| TEST_P (End2EndBinderTransportTest, ServerSteramingCallTryCancelDuringProcessing) | |
| TEST_P (End2EndBinderTransportTest, ServerStreamingCall) | |
| TEST_P (End2EndBinderTransportTest, ServerStreamingCallCoalescingApi) | |
| TEST_P (End2EndBinderTransportTest, ServerStreamingCallTryCancelBeforeProcessing) | |
| TEST_P (End2EndBinderTransportTest, SetupTransport) | |
| TEST_P (End2EndBinderTransportTest, UnaryCall) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallClientCancel) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallClientTimeout) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallEchoMetadata) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallEchoMetadataInitially) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallResponseMessageLength) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallServerTimeout) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallTryCancel) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallUnimplemented) | |
| TEST_P (End2EndBinderTransportTest, UnaryCallWithNonOkStatus) | |
| absl::Status | WriteInitialMetadata (const Transaction &tx, WritableParcel *parcel) |
| absl::Status | WriteTrailingMetadata (const Transaction &tx, WritableParcel *parcel) |
Variables | |
| const int | kFirstCallId = FIRST_CALL_TRANSACTION + 1000 |
| const int | kFlagExpectSingleMessage = 0x10 |
| const int | kFlagMessageData = 0x2 |
| const int | kFlagMessageDataIsParcelable = 0x40 |
| const int | kFlagMessageDataIsPartial = 0x80 |
| const int | kFlagOutOfBandClose = 0x8 |
| const int | kFlagPrefix = 0x1 |
| const int | kFlagStatusDescription = 0x20 |
| const int | kFlagSuffix = 0x4 |
| using grpc_binder::Metadata = typedef std::vector<std::pair<std::string, std::string> > |
Definition at line 38 of file transaction.h.
| typedef int grpc_binder::StreamIdentifier |
Definition at line 30 of file transport_stream_receiver.h.
|
strong |
| Enumerator | |
|---|---|
| SETUP_TRANSPORT | |
| SHUTDOWN_TRANSPORT | |
| ACKNOWLEDGE_BYTES | |
| PING | |
| PING_RESPONSE | |
Definition at line 31 of file binder_constants.h.
| bool grpc_binder::CanBeSentInOneTransaction | ( | const Transaction & | tx | ) |
Definition at line 36 of file wire_writer.cc.
| ConnectionIdGenerator * grpc_binder::GetConnectionIdGenerator | ( | ) |
Definition at line 64 of file connection_id_generator.cc.
| EndpointBinderPool * grpc_binder::GetEndpointBinderPool | ( | ) |
Definition at line 108 of file endpoint_binder_pool.cc.
| SecurityPolicySetting * grpc_binder::GetSecurityPolicySetting | ( | ) |
Definition at line 39 of file security_policy_setting.cc.
| grpc_binder::INSTANTIATE_TEST_SUITE_P | ( | End2EndBinderTransportTestWithDifferentDelayTimes | , |
| End2EndBinderTransportTest | , | ||
| testing::Values(absl::ZeroDuration(), absl::Nanoseconds(10), absl::Microseconds(10), absl::Microseconds(100), absl::Milliseconds(1), absl::Milliseconds(20)) | |||
| ) |
| grpc_binder::MATCHER_P | ( | StrEqInt8Ptr | , |
| target | , | ||
| "" | |||
| ) |
Definition at line 33 of file wire_writer_test.cc.
| void grpc_binder::RunScheduledTx | ( | void * | arg, |
| grpc_error_handle | |||
| ) |
Definition at line 43 of file wire_writer.cc.
| grpc_binder::TEST | ( | EndpointBinderPoolTest | , |
| AddBeforeGet | |||
| ) |
Definition at line 38 of file endpoint_binder_pool_test.cc.
| grpc_binder::TEST | ( | EndpointBinderPoolTest | , |
| ExpectNotCalled | |||
| ) |
Definition at line 61 of file endpoint_binder_pool_test.cc.
| grpc_binder::TEST | ( | EndpointBinderPoolTest | , |
| GetBeforeAdd | |||
| ) |
Definition at line 50 of file endpoint_binder_pool_test.cc.
| grpc_binder::TEST | ( | WireWriterTest | , |
| RpcCall | |||
| ) |
Definition at line 38 of file wire_writer_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| CreateBinderTransport | |||
| ) |
Definition at line 363 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformAllOps | |||
| ) |
Definition at line 623 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformRecvAll | |||
| ) |
Definition at line 587 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformRecvInitialMetadata | |||
| ) |
Definition at line 502 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformRecvInitialMetadataWithMethodRef | |||
| ) |
Definition at line 523 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformRecvMessage | |||
| ) |
Definition at line 545 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformRecvTrailingMetadata | |||
| ) |
Definition at line 565 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformSendAll | |||
| ) |
Definition at line 467 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformSendInitialMetadata | |||
| ) |
Definition at line 379 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformSendInitialMetadataMethodRef | |||
| ) |
Definition at line 399 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformSendMessage | |||
| ) |
Definition at line 422 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| PerformSendTrailingMetadata | |||
| ) |
Definition at line 444 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| TransactionIdIncrement | |||
| ) |
Definition at line 367 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | BinderTransportTest | , |
| WireWriterRpcCallErrorPropagates | |||
| ) |
Definition at line 694 of file binder_transport_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| DISABLED_SingleStreamBufferedCallbacks | |||
| ) |
Definition at line 261 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| MultipleStreamCompleteThenRequest | |||
| ) |
Definition at line 189 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| MultipleStreamInterleaved | |||
| ) |
Definition at line 196 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| MultipleStreamInterleavedReversed | |||
| ) |
Definition at line 206 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| MultipleStreamMoreInterleaved | |||
| ) |
Definition at line 216 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| MultipleStreamRequestThenComplete | |||
| ) |
Definition at line 182 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| SingleStreamStreamingCall | |||
| ) |
Definition at line 242 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | TransportStreamReceiverTest | , |
| SingleStreamUnaryCall | |||
| ) |
Definition at line 229 of file transport_stream_receiver_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| InBoundFlowControl | |||
| ) |
Definition at line 282 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionControlMessagePingResponse | |||
| ) |
Definition at line 136 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionControlMessageSetupTransport | |||
| ) |
Definition at line 131 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionServerRpcDataEmptyFlagIgnored | |||
| ) |
Definition at line 144 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionServerRpcDataFlagMessageDataEmpty | |||
| ) |
Definition at line 225 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionServerRpcDataFlagMessageDataNonEmpty | |||
| ) |
Definition at line 206 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionServerRpcDataFlagPrefixWithMetadata | |||
| ) |
Definition at line 173 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionServerRpcDataFlagPrefixWithoutMetadata | |||
| ) |
Definition at line 154 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionServerRpcDataFlagSuffixWithoutStatus | |||
| ) |
Definition at line 264 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ProcessTransactionServerRpcDataFlagSuffixWithStatus | |||
| ) |
Definition at line 244 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| ServerInitialMetadata | |||
| ) |
Definition at line 319 of file wire_reader_test.cc.
| grpc_binder::TEST_F | ( | WireReaderTest | , |
| SetupTransport | |||
| ) |
Definition at line 115 of file wire_reader_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| BiDirStreamingCall | |||
| ) |
Definition at line 443 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| BiDirStreamingCallServerFinishesHalfway | |||
| ) |
Definition at line 484 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ClientStreamingCall | |||
| ) |
Definition at line 357 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ClientStreamingCallTryCancelAfterProcessing | |||
| ) |
Definition at line 421 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ClientStreamingCallTryCancelBeforeProcessing | |||
| ) |
Definition at line 377 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ClientStreamingCallTryCancelDuringProcessing | |||
| ) |
Definition at line 399 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| LargeMessages | |||
| ) |
Definition at line 533 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ServerSteramingCallTryCancelAfterProcessing | |||
| ) |
Definition at line 330 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ServerSteramingCallTryCancelDuringProcessing | |||
| ) |
Definition at line 304 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ServerStreamingCall | |||
| ) |
Definition at line 240 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ServerStreamingCallCoalescingApi | |||
| ) |
Definition at line 261 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| ServerStreamingCallTryCancelBeforeProcessing | |||
| ) |
Definition at line 284 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| SetupTransport | |||
| ) |
Definition at line 80 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCall | |||
| ) |
Definition at line 91 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallClientCancel | |||
| ) |
Definition at line 167 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallClientTimeout | |||
| ) |
Definition at line 137 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallEchoMetadata | |||
| ) |
Definition at line 196 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallEchoMetadataInitially | |||
| ) |
Definition at line 180 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallResponseMessageLength | |||
| ) |
Definition at line 212 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallServerTimeout | |||
| ) |
Definition at line 121 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallTryCancel | |||
| ) |
Definition at line 226 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallUnimplemented | |||
| ) |
Definition at line 155 of file end2end_binder_transport_test.cc.
| grpc_binder::TEST_P | ( | End2EndBinderTransportTest | , |
| UnaryCallWithNonOkStatus | |||
| ) |
Definition at line 102 of file end2end_binder_transport_test.cc.
| absl::Status grpc_binder::WriteInitialMetadata | ( | const Transaction & | tx, |
| WritableParcel * | parcel | ||
| ) |
Definition at line 49 of file wire_writer.cc.
| absl::Status grpc_binder::WriteTrailingMetadata | ( | const Transaction & | tx, |
| WritableParcel * | parcel | ||
| ) |
Definition at line 63 of file wire_writer.cc.
| const ABSL_CONST_INIT int grpc_binder::kFirstCallId = FIRST_CALL_TRANSACTION + 1000 |
Definition at line 26 of file binder_constants.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagExpectSingleMessage = 0x10 |
Definition at line 27 of file transaction.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagMessageData = 0x2 |
Definition at line 24 of file transaction.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagMessageDataIsParcelable = 0x40 |
Definition at line 29 of file transaction.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagMessageDataIsPartial = 0x80 |
Definition at line 30 of file transaction.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagOutOfBandClose = 0x8 |
Definition at line 26 of file transaction.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagPrefix = 0x1 |
Definition at line 23 of file transaction.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagStatusDescription = 0x20 |
Definition at line 28 of file transaction.cc.
| const ABSL_CONST_INIT int grpc_binder::kFlagSuffix = 0x4 |
Definition at line 25 of file transaction.cc.