Lines Matching refs:CameraService
61 const sp<CameraService>& cameraService, in CameraDeviceClientBase()
93 CameraDeviceClient::CameraDeviceClient(const sp<CameraService>& cameraService, in CameraDeviceClient()
234 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in insertGbpLocked()
288 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in submitRequestList()
294 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Empty request list"); in submitRequestList()
307 return STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
313 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
319 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
327 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
336 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
343 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
387 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
396 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
431 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
439 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
452 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
468 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
487 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
516 return STATUS_ERROR(CameraService::ERROR_PERMISSION_DENIED, in submitRequestList()
575 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, in submitRequestList()
589 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, in submitRequestList()
614 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in cancelRequest()
622 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in cancelRequest()
632 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in cancelRequest()
661 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in endConfigure()
667 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in endConfigure()
681 res = STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in endConfigure()
686 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in endConfigure()
698 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in endConfigure()
746 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in isSessionConfigurationSupported()
752 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in isSessionConfigurationSupported()
768 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in isSessionConfigurationSupported()
776 res = STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in isSessionConfigurationSupported()
794 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in deleteStream()
832 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in deleteStream()
843 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in deleteStream()
867 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in deleteStream()
896 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in createStream()
922 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createStream()
952 return STATUS_ERROR(CameraService::ERROR_ALREADY_EXISTS, msg.c_str()); in createStream()
1018 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createStream()
1070 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createDeferredSurfaceStreamLocked()
1073 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in createDeferredSurfaceStreamLocked()
1102 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in createDeferredSurfaceStreamLocked()
1120 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createDeferredSurfaceStreamLocked()
1162 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in setStreamTransformLocked()
1168 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, in setStreamTransformLocked()
1177 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in setStreamTransformLocked()
1198 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createInputStream()
1205 return STATUS_ERROR(CameraService::ERROR_ALREADY_EXISTS, msg.c_str()); in createInputStream()
1222 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createInputStream()
1236 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Null input surface"); in getInputSurface()
1241 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in getInputSurface()
1246 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in getInputSurface()
1266 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in updateOutputConfiguration()
1269 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1280 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1290 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1296 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1319 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1360 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1365 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in updateOutputConfiguration()
1403 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createDefaultRequest()
1418 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in createDefaultRequest()
1423 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createDefaultRequest()
1444 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in getCameraInfo()
1466 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in waitUntilIdle()
1476 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in waitUntilIdle()
1480 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in waitUntilIdle()
1500 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in flush()
1507 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in flush()
1536 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in prepare()
1543 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in prepare()
1547 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in prepare()
1576 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in prepare2()
1583 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in prepare2()
1590 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in prepare2()
1594 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in prepare2()
1624 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in tearDown()
1631 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in tearDown()
1635 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in tearDown()
1653 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in finalizeOutputConfigurations()
1663 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Target Surface is invalid"); in finalizeOutputConfigurations()
1687 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in finalizeOutputConfigurations()
1694 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in finalizeOutputConfigurations()
1698 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in finalizeOutputConfigurations()
1755 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in finalizeOutputConfigurations()
1759 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in finalizeOutputConfigurations()
1776 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in setCameraAudioRestriction()
1851 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in switchToOffline()
1857 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in switchToOffline()
1863 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in switchToOffline()
1875 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in switchToOffline()
1882 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in switchToOffline()
1897 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in switchToOffline()
1917 return STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in switchToOffline()
1948 return STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in switchToOffline()
1951 return STATUS_ERROR_FMT(CameraService::ERROR_CAMERA_IN_USE, in switchToOffline()
1954 return STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in switchToOffline()
2200 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, in checkPidStatus()
2205 STATUS_ERROR(CameraService::ERROR_PERMISSION_DENIED, in checkPidStatus()