Lines Matching refs:status
213 [&support](auto status, bool supported) {
214 if (status == Status::OK) {
242 Status status;
246 status = s;
256 if (status != Status::OK) {
257 return mapToStatusT(status);
292 Status status;
294 ret = deviceInfo3->mInterface->open(callback, [&status, &session]
296 status = s;
297 if (status == Status::OK) {
306 return mapToStatusT(status);
322 hardware::Return<Status> status = deviceInfo1->mInterface->open(callback);
323 if (!status.isOk()) {
325 __FUNCTION__, id.c_str(), status.description().c_str());
328 if (status == Status::OK) {
331 return mapToStatusT(status);
521 hardware::Return<Status> status = mInterface->setCallback(this);
522 if (!status.isOk()) {
524 __FUNCTION__, mProviderName.c_str(), status.description().c_str());
527 if (status != Status::OK) {
530 return mapToStatusT(status);
545 hardware::Return<void> ret = mInterface->getCameraIdList([&status, &devices](
548 status = idStatus;
549 if (status == Status::OK) {
559 if (status != Status::OK) {
562 return mapToStatusT(status);
723 ALOGI("Camera device %s status is now %s, was %s", cameraDeviceName.c_str(),
732 // Previously unseen device; status must not be NOT_PRESENT
748 // CameraService will initialize device status after provider is
766 ALOGI("Camera device %s torch status is now %s", cameraDeviceName.c_str(),
774 ALOGW("Camera provider %s says an unknown camera %s now has torch status %d. Curious.",
803 Status status;
810 cameraInterface->getResourceCost([&status, &resourceCost](
812 status = s;
815 if (status != Status::OK) {
817 name.c_str(), statusToString(status));
849 Status status;
852 ret = mInterface->getCameraDeviceInterface_V1_x(name, [&status, &cameraInterface](
854 status = s;
862 if (status != Status::OK) {
864 name.c_str(), statusToString(status));
874 Status status;
877 ret = mInterface->getCameraDeviceInterface_V3_x(name, [&status, &cameraInterface](
879 status = s;
887 if (status != Status::OK) {
889 name.c_str(), statusToString(status));
914 hardware::Return<Status> status = mInterface->open(nullptr);
915 if (!status.isOk()) {
917 __FUNCTION__, mId.c_str(), status.description().c_str());
920 if (status != Status::OK) {
922 mId.c_str(), CameraProviderManager::statusToString(status));
931 __FUNCTION__, mId.c_str(), status.description().c_str());
943 __FUNCTION__, mId.c_str(), status.description().c_str());
957 Status status;
960 ret = mInterface->getCameraInfo([&status, &cInfo](Status s, device::V1_0::CameraInfo camInfo) {
961 status = s;
969 if (status != Status::OK) {
970 return mapToStatusT(status);
1012 Status status;
1014 ret = mInterface->getCameraCharacteristics([&status, this](Status s,
1016 status = s;
1027 status = Status::INTERNAL_ERROR;
1037 if (status != Status::OK) {
1039 __FUNCTION__, mId.c_str(), CameraProviderManager::statusToString(status), status);
1312 ALOGW("Unexpected HAL status code %d", s);
1335 ALOGW("Unexpected HAL status code %d", s);
1348 ALOGW("Unexpected HAL device status code %d", s);
1361 ALOGW("Unexpected HAL torch mode status code %d", s);