Home
last modified time | relevance | path

Searched refs:SStatus (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraService.cpp53 inline ScopedAStatus fromSStatus(const SStatus& s) { in fromSStatus()
54 return s == SStatus::NO_ERROR ? ScopedAStatus::ok() in fromSStatus()
89 if (_aidl_return == nullptr) { return fromSStatus(SStatus::ILLEGAL_ARGUMENT); } in getCameraCharacteristics()
108 return fromSStatus(SStatus::ILLEGAL_ARGUMENT); in getCameraCharacteristics()
119 return fromSStatus(SStatus::UNKNOWN_ERROR); in getCameraCharacteristics()
135 return fromSStatus(SStatus::UNKNOWN_ERROR); in connectDevice()
143 return fromSStatus(SStatus::UNKNOWN_ERROR); in connectDevice()
171 return fromSStatus(SStatus::UNKNOWN_ERROR); in connectDevice()
210 SStatus status = addListenerInternal( in addListener()
212 if (status != SStatus::NO_ERROR) { in addListener()
[all …]
DAidlUtils.cpp174 SStatus convertToAidl(const binder::Status &status) { in convertToAidl()
176 return SStatus::NO_ERROR; in convertToAidl()
179 return SStatus::UNKNOWN_ERROR; in convertToAidl()
184 return SStatus::DISCONNECTED; in convertToAidl()
186 return SStatus::CAMERA_IN_USE; in convertToAidl()
188 return SStatus::MAX_CAMERAS_IN_USE; in convertToAidl()
190 return SStatus::ILLEGAL_ARGUMENT; in convertToAidl()
193 return SStatus::DEPRECATED_HAL; in convertToAidl()
195 return SStatus::DISABLED; in convertToAidl()
197 return SStatus::PERMISSION_DENIED; in convertToAidl()
[all …]
DAidlUtils.h61 using SStatus = ::aidl::android::frameworks::cameraservice::common::Status; variable
76 SStatus errStatus = static_cast<SStatus>((status).getServiceSpecificError()); \
103 SStatus convertToAidl(const binder::Status &status);
DAidlCameraDeviceUser.cpp47 inline ScopedAStatus fromSStatus(const SStatus& s) { in fromSStatus()
48 return s == SStatus::NO_ERROR ? ScopedAStatus::ok() in fromSStatus()
116 return fromSStatus(SStatus::ILLEGAL_ARGUMENT); in submitRequestList()
146 return fromSStatus(SStatus::ILLEGAL_ARGUMENT); in endConfigure()
181 return fromSStatus(SStatus::UNKNOWN_ERROR); in createDefaultRequest()
DAidlCameraService.h37 using SStatus = ::aidl::android::frameworks::cameraservice::common::Status; variable
70 SStatus addListenerInternal(const std::shared_ptr<SICameraServiceListener>& listener,
DAidlCameraServiceListener.cpp29 using SStatus = ::aidl::android::frameworks::cameraservice::common::Status; typedef
DAidlCameraDeviceUser.h53 using SStatus = ::aidl::android::frameworks::cameraservice::common::Status; variable
DAidlCameraDeviceCallbacks.cpp33 using SStatus = ::aidl::android::frameworks::cameraservice::common::Status; typedef