Lines Matching refs:sp
46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera) in create()
54 sp<Camera> c = new Camera(-1); in create()
74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect()
83 sp<Camera>& camera) in connectLegacy()
86 sp<Camera> c = new Camera(cameraId); in connectLegacy()
87 sp<::android::hardware::ICameraClient> cl = c; in connectLegacy()
89 const sp<::android::hardware::ICameraService>& cs = CameraBaseT::getCameraService(); in connectLegacy()
140 sp <::android::hardware::ICamera> c = mCamera; in reconnect()
147 sp <::android::hardware::ICamera> c = mCamera; in lock()
154 sp <::android::hardware::ICamera> c = mCamera; in unlock()
160 status_t Camera::setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setPreviewTarget()
163 sp <::android::hardware::ICamera> c = mCamera; in setPreviewTarget()
169 status_t Camera::setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setVideoTarget()
172 sp <::android::hardware::ICamera> c = mCamera; in setVideoTarget()
182 sp <::android::hardware::ICamera> c = mCamera; in startPreview()
190 sp <::android::hardware::ICamera> c = mCamera; in setVideoBufferMode()
199 sp <::android::hardware::ICamera> c = mCamera; in startRecording()
208 sp <::android::hardware::ICamera> c = mCamera; in stopPreview()
221 sp <::android::hardware::ICamera> c = mCamera; in stopRecording()
227 void Camera::releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame()
230 sp <::android::hardware::ICamera> c = mCamera; in releaseRecordingFrame()
238 sp <::android::hardware::ICamera> c = mCamera; in releaseRecordingFrameHandle()
247 sp <::android::hardware::ICamera> c = mCamera; in previewEnabled()
256 sp <::android::hardware::ICamera> c = mCamera; in recordingEnabled()
264 sp <::android::hardware::ICamera> c = mCamera; in autoFocus()
272 sp <::android::hardware::ICamera> c = mCamera; in cancelAutoFocus()
281 sp <::android::hardware::ICamera> c = mCamera; in takePicture()
290 sp <::android::hardware::ICamera> c = mCamera; in setParameters()
300 sp <::android::hardware::ICamera> c = mCamera; in getParameters()
309 sp <::android::hardware::ICamera> c = mCamera; in sendCommand()
314 void Camera::setListener(const sp<CameraListener>& listener) in setListener()
320 void Camera::setRecordingProxyListener(const sp<ICameraRecordingProxyListener>& listener) in setRecordingProxyListener()
329 sp <::android::hardware::ICamera> c = mCamera; in setPreviewCallbackFlags()
335 const sp<IGraphicBufferProducer>& callbackProducer) in setPreviewCallbackTarget()
337 sp <::android::hardware::ICamera> c = mCamera; in setPreviewCallbackTarget()
349 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback()
352 sp<CameraListener> listener; in dataCallback()
363 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp()
368 sp<ICameraRecordingProxyListener> proxylistener; in dataCallbackTimestamp()
378 sp<CameraListener> listener; in dataCallbackTimestamp()
397 sp<ICameraRecordingProxyListener> proxylistener; in recordingFrameHandleCallbackTimestamp()
407 sp<CameraListener> listener; in recordingFrameHandleCallbackTimestamp()
421 sp<ICameraRecordingProxy> Camera::getRecordingProxy() { in getRecordingProxy()
426 status_t Camera::RecordingProxy::startRecording(const sp<ICameraRecordingProxyListener>& listener) in startRecording()
440 void Camera::RecordingProxy::releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame()
451 Camera::RecordingProxy::RecordingProxy(const sp<Camera>& camera) in RecordingProxy()