Home | History | Annotate | Download | only in api1

Lines Matching full:cameraclient

17 #define LOG_TAG "CameraClient"
24 #include "api1/CameraClient.h"
37 CameraClient::CameraClient(const sp<CameraService>& cameraService,
38 const sp<hardware::ICameraClient>& cameraClient,
43 Client(cameraService, cameraClient, clientPackageName,
47 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(CameraModule *module) {
67 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId);
96 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId);
102 CameraClient::~CameraClient() {
105 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this);
108 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this);
111 status_t CameraClient::dump(int fd, const Vector<String16>& args) {
115 status_t CameraClient::dumpClient(int fd, const Vector<String16>& args) {
141 status_t CameraClient::checkPid() const {
150 status_t CameraClient::checkPidAndHardware() const {
160 status_t CameraClient::lock() {
175 status_t CameraClient::unlock() {
197 status_t CameraClient::connect(const sp<hardware::ICameraClient>& client) {
233 binder::Status CameraClient::disconnect() {
279 status_t CameraClient::setPreviewWindow(const sp<IBinder>& binder,
324 status_t CameraClient::setPreviewTarget(
343 void CameraClient::setPreviewCallbackFlag(int callback_flag) {
356 status_t CameraClient::setPreviewCallbackTarget(
364 status_t CameraClient::startPreview() {
370 status_t CameraClient::startRecording() {
376 status_t CameraClient::startCameraMode(camera_mode mode) {
400 status_t CameraClient::startPreviewMode() {
424 status_t CameraClient::startRecordingMode() {
452 void CameraClient::stopPreview() {
467 void CameraClient::stopRecording() {
480 void CameraClient::releaseRecordingFrame(const sp<IMemory>& mem) {
492 void CameraClient::releaseRecordingFrameHandle(native_handle_t *handle) {
525 status_t CameraClient::setVideoBufferMode(int32_t videoBufferMode) {
545 bool CameraClient::previewEnabled() {
553 bool CameraClient::recordingEnabled() {
561 status_t CameraClient::autoFocus() {
571 status_t CameraClient::cancelAutoFocus() {
582 status_t CameraClient::takePicture(int msgType) {
611 status_t CameraClient::setParameters(const String8& params) {
624 String8 CameraClient::getParameters() const {
635 status_t CameraClient::enableShutterSound(bool enable) {
670 status_t CameraClient::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) {
714 void CameraClient::enableMsgType(int32_t msgType) {
719 void CameraClient::disableMsgType(int32_t msgType) {
725 bool CameraClient::lockIfMessageWanted(int32_t msgType) {
766 void CameraClient::notifyCallback(int32_t msgType, int32_t ext1,
770 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get());
786 void CameraClient::dataCallback(int32_t msgType,
790 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get());
819 void CameraClient::dataCallbackTimestamp(nsecs_t timestamp,
823 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get());
838 void CameraClient::handleShutter(void) {
861 void CameraClient::handlePreviewData(int32_t msgType,
907 void CameraClient::handlePostview(const sp<IMemory>& mem) {
918 void CameraClient::handleRawPicture(const sp<IMemory>& mem) {
933 void CameraClient::handleCompressedPicture(const sp<IMemory>& mem) {
944 void CameraClient::handleGenericNotify(int32_t msgType,
953 void CameraClient::handleGenericData(int32_t msgType,
962 void CameraClient::handleGenericDataTimestamp(nsecs_t timestamp,
991 void CameraClient::copyFrameAndPostCopiedFrame(
1042 int CameraClient::getOrientation(int degrees, bool mirror) {
1063 status_t CameraClient::setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) {
1065 ALOGE("%s: %d: CameraClient doesn't support setting a video target.", __FUNCTION__, __LINE__);