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()
244 bool Camera::previewEnabled() in previewEnabled()
253 bool Camera::recordingEnabled() in recordingEnabled()
261 status_t Camera::autoFocus() in autoFocus()
269 status_t Camera::cancelAutoFocus() in cancelAutoFocus()
278 status_t Camera::takePicture(int msgType) in takePicture()
287 status_t Camera::setParameters(const String8& params) in setParameters()
296 String8 Camera::getParameters() const in getParameters()
306 status_t Camera::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) in sendCommand()
314 void Camera::setListener(const sp<CameraListener>& listener) in setListener()
320 void Camera::setRecordingProxyListener(const sp<ICameraRecordingProxyListener>& listener) in setRecordingProxyListener()
326 void Camera::setPreviewCallbackFlags(int flag) in setPreviewCallbackFlags()
334 status_t Camera::setPreviewCallbackTarget( in setPreviewCallbackTarget()
343 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback()
349 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback()
363 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp()
392 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) in recordingFrameHandleCallbackTimestamp()
421 sp<ICameraRecordingProxy> Camera::getRecordingProxy() { in getRecordingProxy()
426 status_t Camera::RecordingProxy::startRecording(const sp<ICameraRecordingProxyListener>& listener) in startRecording()
434 void Camera::RecordingProxy::stopRecording() in stopRecording()
440 void Camera::RecordingProxy::releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame()
446 void Camera::RecordingProxy::releaseRecordingFrameHandle(native_handle_t* handle) { in releaseRecordingFrameHandle()
451 Camera::RecordingProxy::RecordingProxy(const sp<Camera>& camera) in RecordingProxy()