Searched refs:ClientChannel (Results 1 – 20 of 20) sorted by relevance
140 ClientChannel::ClientChannel(LocalChannelHandle channel_handle) in ClientChannel() function in android::pdx::uds::ClientChannel145 std::unique_ptr<pdx::ClientChannel> ClientChannel::Create( in Create()147 return std::unique_ptr<pdx::ClientChannel>{ in Create()148 new ClientChannel{std::move(channel_handle)}}; in Create()151 ClientChannel::~ClientChannel() { in ~ClientChannel()156 void* ClientChannel::AllocateTransactionState() { return new TransactionState; } in AllocateTransactionState()158 void ClientChannel::FreeTransactionState(void* state) { in FreeTransactionState()162 Status<void> ClientChannel::SendImpulse(int opcode, const void* buffer, in SendImpulse()178 Status<int> ClientChannel::SendAndReceive(void* transaction_state, int opcode, in SendAndReceive()210 Status<int> ClientChannel::SendWithInt(void* transaction_state, int opcode, in SendWithInt()[all …]
57 Status<std::unique_ptr<pdx::ClientChannel>> ClientChannelFactory::Connect( in Connect()166 return ClientChannel::Create(ChannelManager::Get().CreateHandle( in Connect()
141 std::vector<ClientChannel::EventSource> ChannelEventReceiver::GetEventSources() in GetEventSources()
32 using android::pdx::uds::ClientChannel;
404 : BASE{android::pdx::uds::ClientChannel::Create(std::move(channel))} {} in TestClient()
332 : BASE{android::pdx::uds::ClientChannel::Create( in TestClient()
16 class ClientChannel : public pdx::ClientChannel {18 ~ClientChannel() override;20 static std::unique_ptr<pdx::ClientChannel> Create(83 explicit ClientChannel(LocalChannelHandle channel_handle);
18 Status<std::unique_ptr<pdx::ClientChannel>> Connect(
68 std::vector<ClientChannel::EventSource> GetEventSources() const;
10 using ClientChannel = ::android::pdx::servicefs::ClientChannel; variable
10 using ClientChannel = ::android::pdx::uds::ClientChannel; variable
16 class ClientChannel {18 virtual ~ClientChannel() = default;
56 explicit Client(std::unique_ptr<ClientChannel> channel);126 ClientChannel* GetChannel() const { return channel_.get(); } in GetChannel()127 std::unique_ptr<ClientChannel>&& TakeChannel() { return std::move(channel_); } in TakeChannel()143 std::unique_ptr<ClientChannel> channel_;
13 Connect, Status<std::unique_ptr<ClientChannel>>(int64_t timeout_ms));
14 virtual Status<std::unique_ptr<ClientChannel>> Connect(
10 class MockClientChannel : public ClientChannel {
11 using android::pdx::default_transport::ClientChannel;18 : Client{pdx::default_transport::ClientChannel::Create( in BufferHubBase()
13 using android::pdx::ClientChannel;61 explicit SimpleClient(std::unique_ptr<ClientChannel> channel) in SimpleClient()84 explicit FailingClient(std::unique_ptr<ClientChannel> channel, int error_code) in FailingClient()117 Status<std::unique_ptr<ClientChannel>> OnConnect(int64_t /*timeout_ms*/) { in OnConnect()124 return Status<std::unique_ptr<ClientChannel>>{std::move(channel)}; in OnConnect()
59 Client::Client(std::unique_ptr<ClientChannel> channel) in Client()
52 std::vector<pdx::ClientChannel::EventSource> GetEventSources() const { in GetEventSources()