Lines Matching refs:client
234 sp<Client> client = new Client(token, this); in createConnection() local
235 if (client->ctrlblk == 0) { in createConnection()
239 status_t err = mClientsMap.add(token, client); in createConnection()
245 new BClient(this, token, client->getControlBlockMemory()); in createConnection()
252 sp<Client> client = mClientsMap.valueFor(cid); in destroyConnection() local
253 if (client != 0) { in destroyConnection()
255 Vector< wp<LayerBaseClient> > layers(client->getLayers()); in destroyConnection()
272 mDisconnectedClients.add(client); in destroyConnection()
1093 sp<Client> client = disconnectedClients[i]; in free_resources_l() local
1094 mTokens.release(client->cid); in free_resources_l()
1206 sp<Client> client = mClientsMap.valueFor(clientId); in createSurface() local
1207 if (UNLIKELY(client == 0)) { in createSurface()
1213 int32_t id = client->generateId(pid); in createSurface()
1222 layer = createPushBuffersSurfaceLocked(client, d, id, in createSurface()
1225 layer = createNormalSurfaceLocked(client, d, id, in createSurface()
1230 layer = createBlurSurfaceLocked(client, d, id, w, h, flags); in createSurface()
1233 layer = createDimSurfaceLocked(client, d, id, w, h, flags); in createSurface()
1253 const sp<Client>& client, DisplayID display, in createNormalSurfaceLocked() argument
1268 sp<Layer> layer = new Layer(this, display, client, id); in createNormalSurfaceLocked()
1281 const sp<Client>& client, DisplayID display, in createBlurSurfaceLocked() argument
1284 sp<LayerBlur> layer = new LayerBlur(this, display, client, id); in createBlurSurfaceLocked()
1291 const sp<Client>& client, DisplayID display, in createDimSurfaceLocked() argument
1294 sp<LayerDim> layer = new LayerDim(this, display, client, id); in createDimSurfaceLocked()
1301 const sp<Client>& client, DisplayID display, in createPushBuffersSurfaceLocked() argument
1304 sp<LayerBuffer> layer = new LayerBuffer(this, display, client, id); in createPushBuffersSurfaceLocked()
1481 sp<Client> client = mClientsMap.valueAt(i); in dump() local
1482 sprintf(name, " Client (id=0x%08x)", client->cid); in dump()
1483 client->dump(name); in dump()
1510 sp<Client> client(lbc->client.promote()); in dump() local
1514 lbc->clientIndex(), client.get() ? client->cid : 0, in dump()