Lines Matching refs:Client
65 #include "Client.h"
275 static sp<ISurfaceComposerClient> initClient(const sp<Client>& client) {
276 status_t err = client->initCheck();
278 return client;
284 return initClient(new Client(this));
297 return initClient(new Client(this, layer));
1961 if (layer->getCompositionType(hwcId) == HWC2::Composition::Client) {
2675 ALOGV("Rendering client layers");
2702 case HWC2::Composition::Client: {
2740 status_t SurfaceFlinger::addClientLayer(const sp<Client>& client,
2769 // attach this layer to the client
2770 client->attachLayer(handle, lbc);
2872 // one of our own. A malicious client could give us a NULL
2877 // that we have a Client*. however, RTTI is disabled in Android.
2878 if (s.client != NULL) {
2879 sp<IBinder> binder = IInterface::asBinder(s.client);
2882 sp<Client> client( static_cast<Client *>(s.client.get()) );
2883 transactionFlags |= setClientStateLocked(client, s.state);
2978 const sp<Client>& client,
2982 sp<Layer> layer(client->getLayerUser(s.surface));
3099 const sp<Client>& client,
3118 result = createNormalLayer(client,
3123 result = createDimLayer(client,
3145 result = addClientLayer(client, *handle, *gbp, layer, *parent);
3179 status_t SurfaceFlinger::createNormalLayer(const sp<Client>& client,
3194 *outLayer = new Layer(this, client, name, w, h, flags);
3205 status_t SurfaceFlinger::createDimLayer(const sp<Client>& client,
3209 *outLayer = new LayerDim(this, client, name, w, h, flags);
3215 status_t SurfaceFlinger::onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle)
3217 // called by a client when it wants to remove a Layer
3219 sp<Layer> l(client->getLayerUser(handle));
3908 * granted a reference to Client* and Handle* to do anything with it.