Lines Matching refs:client
216 sp<Client> client(new Client(this));
217 status_t err = client->initCheck();
219 bclient = client;
2107 status_t SurfaceFlinger::addClientLayer(const sp<Client>& client,
2122 // attach this layer to the client
2123 client->attachLayer(handle, lbc);
2197 // one of our own. A malicious client could give us a NULL
2203 if (s.client != NULL) {
2204 sp<IBinder> binder = IInterface::asBinder(s.client);
2208 sp<Client> client( static_cast<Client *>(s.client.get()) );
2209 transactionFlags |= setClientStateLocked(client, s.state);
2298 const sp<Client>& client,
2302 sp<Layer> layer(client->getLayerUser(s.surface));
2379 const sp<Client>& client,
2396 result = createNormalLayer(client,
2401 result = createDimLayer(client,
2414 result = addClientLayer(client, *handle, *gbp, layer);
2423 status_t SurfaceFlinger::createNormalLayer(const sp<Client>& client,
2438 *outLayer = new Layer(this, client, name, w, h, flags);
2449 status_t SurfaceFlinger::createDimLayer(const sp<Client>& client,
2453 *outLayer = new LayerDim(this, client, name, w, h, flags);
2459 status_t SurfaceFlinger::onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle)
2463 sp<Layer> l(client->getLayerUser(handle));