Lines Matching defs:CameraClient

17 #define LOG_TAG "CameraClient"
24 #include "CameraClient.h"
41 CameraClient::CameraClient(const sp<CameraService>& cameraService,
48 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId);
60 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId);
63 status_t CameraClient::initialize(camera_module_t *module) {
65 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId);
89 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId);
95 CameraClient::~CameraClient() {
103 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this);
106 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this);
109 status_t CameraClient::dump(int fd, const Vector<String16>& args) {
124 status_t CameraClient::checkPid() const {
133 status_t CameraClient::checkPidAndHardware() const {
143 status_t CameraClient::lock() {
158 status_t CameraClient::unlock() {
180 status_t CameraClient::connect(const sp<ICameraClient>& client) {
215 void CameraClient::disconnect() {
260 status_t CameraClient::setPreviewWindow(const sp<IBinder>& binder,
306 status_t CameraClient::setPreviewDisplay(const sp<Surface>& surface) {
315 status_t CameraClient::setPreviewTexture(
331 void CameraClient::setPreviewCallbackFlag(int callback_flag) {
345 status_t CameraClient::startPreview() {
351 status_t CameraClient::startRecording() {
357 status_t CameraClient::startCameraMode(camera_mode mode) {
381 status_t CameraClient::startPreviewMode() {
402 status_t CameraClient::startRecordingMode() {
430 void CameraClient::stopPreview() {
443 void CameraClient::stopRecording() {
456 void CameraClient::releaseRecordingFrame(const sp<IMemory>& mem) {
462 status_t CameraClient::storeMetaDataInBuffers(bool enabled)
472 bool CameraClient::previewEnabled() {
480 bool CameraClient::recordingEnabled() {
488 status_t CameraClient::autoFocus() {
498 status_t CameraClient::cancelAutoFocus() {
509 status_t CameraClient::takePicture(int msgType) {
538 status_t CameraClient::setParameters(const String8& params) {
550 String8 CameraClient::getParameters() const {
560 status_t CameraClient::enableShutterSound(bool enable) {
588 status_t CameraClient::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) {
633 void CameraClient::enableMsgType(int32_t msgType) {
638 void CameraClient::disableMsgType(int32_t msgType) {
644 bool CameraClient::lockIfMessageWanted(int32_t msgType) {
686 void CameraClient::notifyCallback(int32_t msgType, int32_t ext1,
694 CameraClient* client =
695 static_cast<CameraClient*>(getClientFromCookie(user));
711 void CameraClient::dataCallback(int32_t msgType,
719 CameraClient* client =
720 static_cast<CameraClient*>(getClientFromCookie(user));
749 void CameraClient::dataCallbackTimestamp(nsecs_t timestamp,
757 CameraClient* client =
758 static_cast<CameraClient*>(getClientFromCookie(user));
773 void CameraClient::handleShutter(void) {
790 void CameraClient::handlePreviewData(int32_t msgType,
836 void CameraClient::handlePostview(const sp<IMemory>& mem) {
847 void CameraClient::handleRawPicture(const sp<IMemory>& mem) {
862 void CameraClient::handleCompressedPicture(const sp<IMemory>& mem) {
873 void CameraClient::handleGenericNotify(int32_t msgType,
882 void CameraClient::handleGenericData(int32_t msgType,
891 void CameraClient::handleGenericDataTimestamp(nsecs_t timestamp,
900 void CameraClient::copyFrameAndPostCopiedFrame(
938 int CameraClient::getOrientation(int degrees, bool mirror) {