Lines Matching refs:cs
101 const sp<ICameraService>& cs = getCameraService();
102 if (cs != 0) {
103 c->mCamera = cs->connect(cl, cameraId, clientPackageName, clientUid);
181 const sp<ICameraService> cs = getCameraService();
183 if (!cs.get()) {
187 return cs->getNumberOfCameras();
194 const sp<ICameraService>& cs = getCameraService();
195 if (cs == 0) return UNKNOWN_ERROR;
196 return cs->getCameraInfo(cameraId, cameraInfo);
202 const sp<ICameraService>& cs = getCameraService();
203 if (cs == 0) return UNKNOWN_ERROR;
204 return cs->addListener(listener);
210 const sp<ICameraService>& cs = getCameraService();
211 if (cs == 0) return UNKNOWN_ERROR;
212 return cs->removeListener(listener);