Lines Matching refs:Codec2Client
82 std::vector<std::string> const& names = Codec2Client::GetServiceNames(); in getServiceIndex()
98 class Codec2Client::Cache {
100 std::shared_ptr<Codec2Client> mClient;
123 std::shared_ptr<Codec2Client> getClient() { in getClient()
126 mClient = Codec2Client::_CreateFromIndex(mIndex); in getClient()
147 std::shared_ptr<Codec2Client> client = getClient(); in getTraits()
418 struct Codec2Client::Component::HidlListener : public IComponentListener {
429 std::shared_ptr<Codec2Client::Component> strongComponent = in onWorkDone()
434 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onWorkDone()
454 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onTripped()
515 Codec2Client::Codec2Client(const sp<IComponentStore>& base, in Codec2Client() function in android::Codec2Client
536 sp<Codec2Client::Base> const& Codec2Client::getBase() const { in getBase()
540 std::string const& Codec2Client::getServiceName() const { in getServiceName()
544 c2_status_t Codec2Client::createComponent( in createComponent()
546 const std::shared_ptr<Codec2Client::Listener>& listener, in createComponent()
547 std::shared_ptr<Codec2Client::Component>* const component) { in createComponent()
563 *component = std::make_shared<Codec2Client::Component>(c); in createComponent()
591 c2_status_t Codec2Client::createInterface( in createInterface()
593 std::shared_ptr<Codec2Client::Interface>* const interface) { in createInterface()
619 c2_status_t Codec2Client::createInputSurface( in createInputSurface()
642 std::vector<C2Component::Traits> const& Codec2Client::listComponents() const { in listComponents()
646 std::vector<C2Component::Traits> Codec2Client::_listComponents( in _listComponents()
676 c2_status_t Codec2Client::copyBuffer( in copyBuffer()
687 Codec2Client::getParamReflector() { in getParamReflector()
737 std::vector<std::string> const& Codec2Client::GetServiceNames() { in GetServiceNames()
805 std::shared_ptr<Codec2Client> Codec2Client::CreateFromService( in CreateFromService()
812 std::vector<std::shared_ptr<Codec2Client>> Codec2Client::
814 std::vector<std::shared_ptr<Codec2Client>> clients( in CreateFromAllServices()
823 std::shared_ptr<Codec2Client> Codec2Client::_CreateFromIndex(size_t index) { in _CreateFromIndex()
830 return std::make_shared<Codec2Client>(baseStore, index); in _CreateFromIndex()
833 c2_status_t Codec2Client::ForAllServices( in ForAllServices()
835 std::function<c2_status_t(const std::shared_ptr<Codec2Client>&)> in ForAllServices()
863 std::shared_ptr<Codec2Client> client{cache.getClient()}; in ForAllServices()
882 std::shared_ptr<Codec2Client::Component>
883 Codec2Client::CreateComponentByName( in CreateComponentByName()
886 std::shared_ptr<Codec2Client>* owner) { in CreateComponentByName()
891 const std::shared_ptr<Codec2Client> &client) in CreateComponentByName()
916 std::shared_ptr<Codec2Client::Interface>
917 Codec2Client::CreateInterfaceByName( in CreateInterfaceByName()
919 std::shared_ptr<Codec2Client>* owner) { in CreateInterfaceByName()
924 const std::shared_ptr<Codec2Client> &client) in CreateInterfaceByName()
948 std::vector<C2Component::Traits> const& Codec2Client::ListComponents() { in ListComponents()
960 std::shared_ptr<Codec2Client::InputSurface> Codec2Client::CreateInputSurface( in CreateInputSurface()
976 std::shared_ptr<Codec2Client::InputSurface> inputSurface; in CreateInputSurface()
978 std::shared_ptr<Codec2Client> client = Cache::List()[index].getClient(); in CreateInputSurface()
986 std::shared_ptr<Codec2Client> client = cache.getClient(); in CreateInputSurface()
1000 Codec2Client::Listener::~Listener() { in ~Listener()
1004 Codec2Client::Interface::Interface(const sp<Base>& base) in Interface()
1018 Codec2Client::Component::Component(const sp<Base>& base) in Component()
1038 Codec2Client::Component::~Component() { in ~Component()
1041 c2_status_t Codec2Client::Component::createBlockPool( in createBlockPool()
1044 std::shared_ptr<Codec2Client::Configurable>* configurable) { in createBlockPool()
1069 c2_status_t Codec2Client::Component::destroyBlockPool( in destroyBlockPool()
1080 void Codec2Client::Component::handleOnWorkDone( in handleOnWorkDone()
1086 c2_status_t Codec2Client::Component::queue( in queue()
1106 c2_status_t Codec2Client::Component::flush( in flush()
1151 c2_status_t Codec2Client::Component::drain(C2Component::drain_mode_t mode) { in drain()
1166 c2_status_t Codec2Client::Component::start() { in start()
1180 c2_status_t Codec2Client::Component::stop() { in stop()
1194 c2_status_t Codec2Client::Component::reset() { in reset()
1208 c2_status_t Codec2Client::Component::release() { in release()
1222 c2_status_t Codec2Client::Component::setOutputSurface( in setOutputSurface()
1263 status_t Codec2Client::Component::queueToOutputSurface( in queueToOutputSurface()
1270 c2_status_t Codec2Client::Component::connectToInputSurface( in connectToInputSurface()
1293 c2_status_t Codec2Client::Component::connectToOmxInputSurface( in connectToOmxInputSurface()
1317 c2_status_t Codec2Client::Component::disconnectFromInputSurface() { in disconnectFromInputSurface()
1332 c2_status_t Codec2Client::Component::setDeathListener( in setDeathListener()
1344 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in setDeathListener()
1371 Codec2Client::InputSurface::InputSurface(const sp<IInputSurface>& base) in InputSurface()
1393 Codec2Client::InputSurface::getGraphicBufferProducer() const { in getGraphicBufferProducer()
1397 sp<IInputSurface> Codec2Client::InputSurface::getHalInterface() const { in getHalInterface()
1402 Codec2Client::InputSurfaceConnection::InputSurfaceConnection( in InputSurfaceConnection()
1416 c2_status_t Codec2Client::InputSurfaceConnection::disconnect() { in disconnect()