Home | History | Annotate | Download | only in libcameraservice

Lines Matching refs:Client

42     class Client;
53 // returns plain pointer of client. Note that mClientLock should be acquired to
54 // prevent the client from destruction. The result can be NULL.
55 virtual Client* getClientByIdUnsafe(int cameraId);
58 virtual sp<Client> getClientByRemote(const wp<IBinder>& cameraClient);
75 class Client : public BnCamera
80 virtual status_t connect(const sp<ICameraClient>& client) = 0;
102 Client(const sp<CameraService>& cameraService,
108 ~Client();
110 // return our camera client
121 // convert client from cookie. Client lock should be acquired before getting Client.
122 static Client* getClientFromCookie(void* user);
141 wp<Client> mClient[MAX_CAMERAS]; // protected by mServiceLock
142 Mutex mClientLock[MAX_CAMERAS]; // prevent Client destruction inside callbacks
146 sp<Client> findClientUnsafe(const wp<IBinder>& cameraClient, int& outIndex);
148 // atomics to record whether the hardware is allocated to some client.