Namespaces | Functions | Variables
binder_transport_test.cc File Reference
#include "src/core/ext/transport/binder/transport/binder_transport.h"
#include <memory>
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include "absl/memory/memory.h"
#include "absl/strings/match.h"
#include "absl/strings/str_join.h"
#include "absl/synchronization/notification.h"
#include <grpc/grpc.h>
#include <grpcpp/security/binder_security_policy.h>
#include "src/core/ext/transport/binder/transport/binder_stream.h"
#include "src/core/lib/resource_quota/resource_quota.h"
#include "test/core/transport/binder/mock_objects.h"
#include "test/core/util/test_config.h"
Include dependency graph for binder_transport_test.cc:

Go to the source code of this file.

Namespaces

 grpc_binder
 

Functions

int main (int argc, char **argv)
 
 grpc_binder::TEST_F (BinderTransportTest, CreateBinderTransport)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformAllOps)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformRecvAll)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformRecvInitialMetadata)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformRecvInitialMetadataWithMethodRef)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformRecvMessage)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformRecvTrailingMetadata)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformSendAll)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformSendInitialMetadata)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformSendInitialMetadataMethodRef)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformSendMessage)
 
 grpc_binder::TEST_F (BinderTransportTest, PerformSendTrailingMetadata)
 
 grpc_binder::TEST_F (BinderTransportTest, TransactionIdIncrement)
 
 grpc_binder::TEST_F (BinderTransportTest, WireWriterRpcCallErrorPropagates)
 

Variables

static auto * g_memory_allocator
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 728 of file binder_transport_test.cc.

Variable Documentation

◆ arena

Initial value:

Definition at line 237 of file binder_transport_test.cc.

◆ arena_

grpc_core::Arena* arena_
protected

Definition at line 104 of file binder_transport_test.cc.

◆ closure_

grpc_closure closure_
private

Definition at line 125 of file binder_transport_test.cc.

◆ g_memory_allocator

auto* g_memory_allocator
static
Initial value:
grpc_core::ResourceQuota::Default()->memory_quota()->CreateMemoryAllocator(
"test"))

Definition at line 40 of file binder_transport_test.cc.

◆ grpc_initial_metadata

grpc_metadata_batch grpc_initial_metadata {arena.get()}

Definition at line 239 of file binder_transport_test.cc.

◆ grpc_message

Definition at line 310 of file binder_transport_test.cc.

◆ grpc_trailing_metadata

grpc_metadata_batch grpc_trailing_metadata {arena.get()}

Definition at line 266 of file binder_transport_test.cc.

◆ metadata_

Metadata metadata_
private

Definition at line 202 of file binder_transport_test.cc.

◆ notification

Definition at line 291 of file binder_transport_test.cc.

◆ notification_

absl::Notification* notification_

Definition at line 122 of file binder_transport_test.cc.

◆ ready

MockGrpcClosure ready

Definition at line 287 of file binder_transport_test.cc.

◆ ref_

grpc_stream_refcount ref_
protected

Definition at line 106 of file binder_transport_test.cc.

◆ send_stream

Definition at line 251 of file binder_transport_test.cc.

◆ stream_buffer_

std::vector<grpc_binder_stream*> stream_buffer_
protected

Definition at line 107 of file binder_transport_test.cc.

◆ transport_

grpc_transport* transport_
protected

Definition at line 105 of file binder_transport_test.cc.

grpc_core::MakeScopedArena
ScopedArenaPtr MakeScopedArena(size_t initial_size, MemoryAllocator *memory_allocator)
Definition: src/core/lib/resource_quota/arena.h:130
grpc_event_engine::experimental::MemoryAllocator
Definition: memory_allocator.h:35
grpc_core::ResourceQuota::Default
static ResourceQuotaRefPtr Default()
Definition: resource_quota.cc:27
g_memory_allocator
static auto * g_memory_allocator
Definition: binder_transport_test.cc:40


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04