Lines Matching refs:remoteRet
159 binder::Status remoteRet = mRemote->createDefaultRequest(templateId, &rawRequest); in createCaptureRequest() local
160 if (remoteRet.serviceSpecificErrorCode() == in createCaptureRequest()
165 } else if (!remoteRet.isOk()) { in createCaptureRequest()
166 ALOGE("Create capture request failed: %s", remoteRet.toString8().c_str()); in createCaptureRequest()
255 binder::Status remoteRet = mRemote->isSessionConfigurationSupported( in isSessionConfigurationSupported() local
257 if (remoteRet.serviceSpecificErrorCode() == in isSessionConfigurationSupported()
260 } else if (!remoteRet.isOk()) { in isSessionConfigurationSupported()
315 auto remoteRet = mRemote->updateOutputConfiguration(streamId, outConfig); in updateOutputConfigurationLocked() local
316 if (!remoteRet.isOk()) { in updateOutputConfigurationLocked()
317 switch (remoteRet.serviceSpecificErrorCode()) { in updateOutputConfigurationLocked()
320 remoteRet.toString8().c_str()); in updateOutputConfigurationLocked()
325 remoteRet.toString8().c_str()); in updateOutputConfigurationLocked()
330 remoteRet.toString8().c_str()); in updateOutputConfigurationLocked()
335 remoteRet.toString8().c_str()); in updateOutputConfigurationLocked()
365 auto remoteRet = mRemote->prepare(streamId); in prepareLocked() local
366 if (!remoteRet.isOk()) { in prepareLocked()
369 if (remoteRet.exceptionCode() != EX_SERVICE_SPECIFIC) { in prepareLocked()
371 remoteRet.toString8().c_str()); in prepareLocked()
375 switch (remoteRet.serviceSpecificErrorCode()) { in prepareLocked()
378 remoteRet.toString8().c_str()); in prepareLocked()
383 remoteRet.toString8().c_str()); in prepareLocked()
388 remoteRet.toString8().c_str()); in prepareLocked()
543 binder::Status remoteRet = mRemote->cancelRequest(repeatingSequenceId, &lastFrameNumber); in stopRepeatingLocked() local
544 if (remoteRet.serviceSpecificErrorCode() == in stopRepeatingLocked()
548 } else if (!remoteRet.isOk()) { in stopRepeatingLocked()
549 ALOGE("Stop repeating request fails in remote: %s", remoteRet.toString8().c_str()); in stopRepeatingLocked()
599 binder::Status remoteRet = mRemote->flush(&lastFrameNumber); in flushLocked() local
600 if (!remoteRet.isOk()) { in flushLocked()
601 ALOGE("Abort captures fails in remote: %s", remoteRet.toString8().c_str()); in flushLocked()
623 binder::Status remoteRet = mRemote->waitUntilIdle(); in waitUntilIdleLocked() local
624 if (!remoteRet.isOk()) { in waitUntilIdleLocked()
625 ALOGE("Camera device %s waitUntilIdle failed: %s", getId(), remoteRet.toString8().c_str()); in waitUntilIdleLocked()
733 binder::Status remoteRet = mRemote->beginConfigure(); in configureStreamsLocked() local
734 if (!remoteRet.isOk()) { in configureStreamsLocked()
735 … ALOGE("Camera device %s begin configure failed: %s", getId(), remoteRet.toString8().c_str()); in configureStreamsLocked()
741 remoteRet = mRemote->deleteStream(streamId); in configureStreamsLocked()
742 if (!remoteRet.isOk()) { in configureStreamsLocked()
744 remoteRet.toString8().c_str()); in configureStreamsLocked()
753 remoteRet = mRemote->createStream(outputPair.second, &streamId); in configureStreamsLocked()
754 if (!remoteRet.isOk()) { in configureStreamsLocked()
756 remoteRet.toString8().c_str()); in configureStreamsLocked()
767 remoteRet = mRemote->endConfigure(/*isConstrainedHighSpeed*/ false, params, in configureStreamsLocked()
769 if (remoteRet.serviceSpecificErrorCode() == hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT) { in configureStreamsLocked()
771 remoteRet.toString8().c_str()); in configureStreamsLocked()
773 } else if (!remoteRet.isOk()) { in configureStreamsLocked()
774 ALOGE("Camera device %s end configure failed: %s", getId(), remoteRet.toString8().c_str()); in configureStreamsLocked()