Searched refs:BufferClient (Results 1 – 5 of 5) sorted by relevance
31 BufferClient* BufferClient::create(BufferHubService* service, in create()40 return new BufferClient(service, node); in create()43 BufferClient::~BufferClient() { in ~BufferClient()55 Return<BufferHubStatus> BufferClient::close() { in close()67 Return<void> BufferClient::duplicate(duplicate_cb _hidl_cb) { in duplicate()86 sp<BufferHubService> BufferClient::getService() { in getService()
63 sp<BufferClient> client = BufferClient::create(this, node); in allocateBuffer()102 wp<BufferClient> originClientWp; in importBuffer()140 sp<BufferClient> originClient = originClientWp.promote(); in importBuffer()149 sp<BufferClient> client = new BufferClient(*originClient); in importBuffer()206 sp<BufferClient> client = iter->promote(); in debug()283 sp<BufferClient> client = iter->second.second.promote(); in debug()317 hidl_handle BufferHubService::registerToken(const wp<BufferClient>& client) { in registerToken()350 void BufferHubService::onClientClosed(const BufferClient* client) { in onClientClosed()383 void BufferHubService::removeTokenByClient(const BufferClient* client) { in removeTokenByClient()
26 "BufferClient.cpp",
37 class BufferClient : public IBufferClient {42 static BufferClient* create(BufferHubService* service, const std::shared_ptr<BufferNode>& node);45 explicit BufferClient(const BufferClient& other) in BufferClient() function47 ~BufferClient();56 BufferClient(wp<BufferHubService> service, const std::shared_ptr<BufferNode>& node) in BufferClient() function
55 hidl_handle registerToken(const wp<BufferClient>& client);57 void onClientClosed(const BufferClient* client);65 void removeTokenByClient(const BufferClient* client);69 std::set<wp<BufferClient>> mClientSet GUARDED_BY(mClientSetMutex);82 std::map<int, std::pair<std::vector<uint8_t>, const wp<BufferClient>>> mTokenMap