Lines Matching refs:CameraService

54         const sp<CameraService>& cameraService,  in CameraDeviceClientBase()
80 CameraDeviceClient::CameraDeviceClient(const sp<CameraService>& cameraService, in CameraDeviceClient()
160 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in insertGbpLocked()
204 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in submitRequestList()
210 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Empty request list"); in submitRequestList()
223 return STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
229 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
235 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
243 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
252 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
259 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
300 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
309 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
329 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
340 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in submitRequestList()
368 return STATUS_ERROR(CameraService::ERROR_PERMISSION_DENIED, in submitRequestList()
400 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, in submitRequestList()
414 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, in submitRequestList()
439 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in cancelRequest()
447 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in cancelRequest()
457 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in cancelRequest()
486 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in endConfigure()
492 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in endConfigure()
505 res = STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in endConfigure()
510 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in endConfigure()
521 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in endConfigure()
558 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Surface count is too high"); in checkSurfaceType()
561 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "No valid consumers."); in checkSurfaceType()
569 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Target Surface is invalid"); in checkSurfaceType()
586 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in checkPhysicalCameraId()
597 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in checkOperatingMode()
617 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in checkOperatingMode()
661 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in convertToHALStreamCombination()
672 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in convertToHALStreamCombination()
764 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in convertToHALStreamCombination()
805 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in isSessionConfigurationSupported()
817 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in isSessionConfigurationSupported()
847 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in isSessionConfigurationSupported()
855 res = STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in isSessionConfigurationSupported()
873 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in deleteStream()
910 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in deleteStream()
921 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in deleteStream()
944 res = STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in deleteStream()
980 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createStream()
1008 return STATUS_ERROR(CameraService::ERROR_ALREADY_EXISTS, msg.string()); in createStream()
1056 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createStream()
1098 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createDeferredSurfaceStreamLocked()
1124 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createDeferredSurfaceStreamLocked()
1154 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in setStreamTransformLocked()
1160 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, in setStreamTransformLocked()
1169 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in setStreamTransformLocked()
1189 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createInputStream()
1196 return STATUS_ERROR(CameraService::ERROR_ALREADY_EXISTS, msg.string()); in createInputStream()
1213 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createInputStream()
1227 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Null input surface"); in getInputSurface()
1232 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in getInputSurface()
1237 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in getInputSurface()
1257 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in updateOutputConfiguration()
1267 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1277 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1283 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1306 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1338 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in updateOutputConfiguration()
1343 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in updateOutputConfiguration()
1403 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in createSurfaceFromGbp()
1415 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in createSurfaceFromGbp()
1440 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in createSurfaceFromGbp()
1446 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in createSurfaceFromGbp()
1452 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in createSurfaceFromGbp()
1459 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in createSurfaceFromGbp()
1479 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in createSurfaceFromGbp()
1494 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in createSurfaceFromGbp()
1500 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in createSurfaceFromGbp()
1506 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in createSurfaceFromGbp()
1513 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in createSurfaceFromGbp()
1522 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in createSurfaceFromGbp()
1601 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in createDefaultRequest()
1611 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in createDefaultRequest()
1616 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in createDefaultRequest()
1637 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in getCameraInfo()
1659 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in waitUntilIdle()
1669 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.string()); in waitUntilIdle()
1673 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in waitUntilIdle()
1693 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in flush()
1700 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in flush()
1728 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in prepare()
1735 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in prepare()
1739 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in prepare()
1768 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in prepare2()
1775 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in prepare2()
1782 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in prepare2()
1786 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in prepare2()
1816 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in tearDown()
1823 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in tearDown()
1827 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in tearDown()
1850 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, "Target Surface is invalid"); in finalizeOutputConfigurations()
1874 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in finalizeOutputConfigurations()
1881 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in finalizeOutputConfigurations()
1885 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in finalizeOutputConfigurations()
1933 res = STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in finalizeOutputConfigurations()
1937 res = STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in finalizeOutputConfigurations()
1954 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in setCameraAudioRestriction()
1993 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, "Camera device no longer alive"); in switchToOffline()
1999 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in switchToOffline()
2005 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in switchToOffline()
2017 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in switchToOffline()
2024 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.string()); in switchToOffline()
2036 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, in switchToOffline()
2056 return STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in switchToOffline()
2081 return STATUS_ERROR_FMT(CameraService::ERROR_ILLEGAL_ARGUMENT, in switchToOffline()
2084 return STATUS_ERROR_FMT(CameraService::ERROR_CAMERA_IN_USE, in switchToOffline()
2087 return STATUS_ERROR_FMT(CameraService::ERROR_INVALID_OPERATION, in switchToOffline()
2263 return STATUS_ERROR(CameraService::ERROR_DISCONNECTED, in checkPidStatus()
2268 STATUS_ERROR(CameraService::ERROR_PERMISSION_DENIED, in checkPidStatus()