Searched refs:toScopedAStatus (Results 1 – 4 of 4) sorted by relevance
428 return toScopedAStatus(Status::INTERNAL_ERROR); in getCameraCharacteristics()434 return toScopedAStatus(FAILURE(Status::OPERATION_NOT_SUPPORTED)); in getPhysicalCameraCharacteristics()458 return toScopedAStatus(FAILURE(Status::OPERATION_NOT_SUPPORTED)); in openInjectionSession()462 return toScopedAStatus(FAILURE(Status::OPERATION_NOT_SUPPORTED)); in setTorchMode()466 return toScopedAStatus(FAILURE(Status::OPERATION_NOT_SUPPORTED)); in turnOnTorchWithStrengthLevel()470 return toScopedAStatus(FAILURE(Status::OPERATION_NOT_SUPPORTED)); in getTorchStrengthLevel()
97 return toScopedAStatus(FAILURE(Status::ILLEGAL_ARGUMENT)); in getCameraDeviceInterface()110 return toScopedAStatus(FAILURE(Status::INTERNAL_ERROR)); in getCameraDeviceInterface()113 return toScopedAStatus(FAILURE(Status::ILLEGAL_ARGUMENT)); in getCameraDeviceInterface()
212 return toScopedAStatus(status); in configureStreams()224 return toScopedAStatus(FAILURE(Status::INTERNAL_ERROR)); in configureStreams()238 return toScopedAStatus(Status::INTERNAL_ERROR); in constructDefaultRequestSettings()282 return toScopedAStatus(s); in processCaptureRequest()293 return toScopedAStatus(FAILURE(Status::OPERATION_NOT_SUPPORTED)); in signalStreamFlush()300 return toScopedAStatus(FAILURE(Status::OPERATION_NOT_SUPPORTED)); in switchToOffline()
29 ndk::ScopedAStatus toScopedAStatus(const aidl::android::hardware::camera::common::Status s) { in toScopedAStatus() function