Lines Matching refs:Camera
37 Camera::Camera(int cameraId) in Camera() function in android::Camera
42 CameraTraits<Camera>::TCamConnectService CameraTraits<Camera>::fnConnectService =
46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera) in create()
54 sp<Camera> c = new Camera(-1); in create()
64 Camera::~Camera() in ~Camera()
74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect()
80 status_t Camera::connectLegacy(int cameraId, int halVersion, in connectLegacy()
83 sp<Camera>& camera) in connectLegacy()
86 sp<Camera> c = new Camera(cameraId); in connectLegacy()
137 status_t Camera::reconnect() in reconnect()
145 status_t Camera::lock() in lock()
152 status_t Camera::unlock() in unlock()
160 status_t Camera::setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setPreviewTarget()
169 status_t Camera::setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setVideoTarget()
179 status_t Camera::startPreview() in startPreview()
187 status_t Camera::setVideoBufferMode(int32_t videoBufferMode) in setVideoBufferMode()
196 status_t Camera::startRecording() in startRecording()
205 void Camera::stopPreview() in stopPreview()
214 void Camera::stopRecording() in stopRecording()
227 void Camera::releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame()
235 void Camera::releaseRecordingFrameHandle(native_handle_t* handle) in releaseRecordingFrameHandle()
243 void Camera::releaseRecordingFrameHandleBatch( in releaseRecordingFrameHandleBatch()
252 bool Camera::previewEnabled() in previewEnabled()
261 bool Camera::recordingEnabled() in recordingEnabled()
269 status_t Camera::autoFocus() in autoFocus()
277 status_t Camera::cancelAutoFocus() in cancelAutoFocus()
286 status_t Camera::takePicture(int msgType) in takePicture()
295 status_t Camera::setParameters(const String8& params) in setParameters()
304 String8 Camera::getParameters() const in getParameters()
314 status_t Camera::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) in sendCommand()
322 void Camera::setListener(const sp<CameraListener>& listener) in setListener()
328 void Camera::setRecordingProxyListener(const sp<ICameraRecordingProxyListener>& listener) in setRecordingProxyListener()
334 void Camera::setPreviewCallbackFlags(int flag) in setPreviewCallbackFlags()
342 status_t Camera::setPreviewCallbackTarget( in setPreviewCallbackTarget()
351 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback()
357 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback()
371 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp()
400 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) in recordingFrameHandleCallbackTimestamp()
429 void Camera::recordingFrameHandleCallbackTimestampBatch( in recordingFrameHandleCallbackTimestampBatch()
460 sp<ICameraRecordingProxy> Camera::getRecordingProxy() { in getRecordingProxy()
465 status_t Camera::RecordingProxy::startRecording(const sp<ICameraRecordingProxyListener>& listener) in startRecording()
473 void Camera::RecordingProxy::stopRecording() in stopRecording()
479 void Camera::RecordingProxy::releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame()
485 void Camera::RecordingProxy::releaseRecordingFrameHandle(native_handle_t* handle) { in releaseRecordingFrameHandle()
490 void Camera::RecordingProxy::releaseRecordingFrameHandleBatch( in releaseRecordingFrameHandleBatch()
496 Camera::RecordingProxy::RecordingProxy(const sp<Camera>& camera) in RecordingProxy()