Lines Matching refs:Status
105 virtual binder::Status getNumberOfCameras(int32_t type, int32_t* numCameras);
107 virtual binder::Status getCameraInfo(int cameraId,
109 virtual binder::Status getCameraCharacteristics(int cameraId,
111 virtual binder::Status getCameraVendorTagDescriptor(
115 virtual binder::Status connect(const sp<hardware::ICameraClient>& cameraClient,
121 virtual binder::Status connectLegacy(const sp<hardware::ICameraClient>& cameraClient,
127 virtual binder::Status connectDevice(
133 virtual binder::Status addListener(const sp<hardware::ICameraServiceListener>& listener);
134 virtual binder::Status removeListener(
137 virtual binder::Status getLegacyParameters(
142 virtual binder::Status setTorchMode(const String16& cameraId, bool enabled,
145 virtual binder::Status notifySystemEvent(int32_t eventId,
149 virtual binder::Status supportsCameraApi(
188 static binder::Status filterGetInfoErrorCode(status_t err);
196 virtual binder::Status disconnect();
291 virtual binder::Status disconnect();
413 * Container class for the state of each logical camera device, including: ID, status, and
431 * Return the status for this device.
438 * This function updates the status for this camera device, unless the given status
439 * is in the given list of rejected status states, and execute the function passed in
441 * if the status has changed.
448 void updateStatus(int32_t status, const String8& cameraId,
497 binder::Status validateConnectLocked(const String8& cameraId, const String8& clientName8,
510 binder::Status connectHelper(const sp<CALLBACK>& cameraCb, const String8& cameraId,
665 * Update the status for the given camera id (if that device exists), and broadcast the
666 * status update to all current ICameraServiceListeners if the status has changed. Any
672 void updateStatus(int32_t status, const String8& cameraId,
674 void updateStatus(int32_t status, const String8& cameraId);
684 // camera id -> torch status
695 // handle torch mode status change and invoke callbacks. mTorchStatusMutex
700 // get a camera's torch status. mTorchStatusMutex should be locked.
702 int32_t *status) const;
704 // set a camera's torch status. mTorchStatusMutex should be locked.
706 int32_t status);
718 * Sets Status to a service-specific error on failure
720 binder::Status initializeShimMetadata(int cameraId);
726 * Sets Status to a service-specific error on failure
728 binder::Status getLegacyParametersLazy(int cameraId, /*out*/CameraParameters* parameters);
734 * Sets Status to a service-specific error on failure
736 binder::Status generateShimMetadata(int cameraId, /*out*/CameraMetadata* cameraInfo);
752 static binder::Status makeClient(const sp<CameraService>& cameraService,
768 void CameraService::CameraState::updateStatus(int32_t status,
774 mStatus = status;
776 if (oldStatus == status) {
780 ALOGV("%s: Status has changed for camera ID %s from %#x to %#x", __FUNCTION__,
781 cameraId.string(), oldStatus, status);
784 (status != hardware::ICameraServiceListener::STATUS_PRESENT &&
785 status != hardware::ICameraServiceListener::STATUS_ENUMERATING)) {
800 ALOGV("%s: Rejecting status transition for Camera ID %s, since the source "
807 onStatusUpdatedLocked(cameraId, status);
811 binder::Status::fromServiceSpecificError(errorCode, \
815 binder::Status::fromServiceSpecificError(errorCode, \
820 binder::Status CameraService::connectHelper(const sp<CALLBACK>& cameraCb, const String8& cameraId,
824 binder::Status ret = binder::Status::ok();