Home
last modified time | relevance | path

Searched refs:serviceRet (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp71 binder::Status serviceRet = in getCameraCharacteristics() local
76 if (!serviceRet.isOk()) { in getCameraCharacteristics()
77 switch(serviceRet.serviceSpecificErrorCode()) { in getCameraCharacteristics()
85 serviceRet.toString8().c_str()); in getCameraCharacteristics()
86 status = B2HStatus(serviceRet); in getCameraCharacteristics()
122 binder::Status serviceRet = mAidlICameraService->connectDevice( in connectDevice() local
128 if (!serviceRet.isOk()) { in connectDevice()
130 status = B2HStatus(serviceRet); in connectDevice()
237 binder::Status serviceRet = in addListenerInternal() local
240 if (!serviceRet.isOk()) { in addListenerInternal()
[all …]
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraService.cpp146 binder::Status serviceRet = mCameraService->connectDevice( in connectDevice() local
158 if (!serviceRet.isOk()) { in connectDevice()
160 serviceRet.toString8().c_str()); in connectDevice()
161 return fromUStatus(serviceRet); in connectDevice()
247 binder::Status serviceRet = in addListenerInternal() local
249 if (!serviceRet.isOk()) { in addListenerInternal()
251 return convertToAidl(serviceRet); in addListenerInternal()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp404 binder::Status serviceRet = in supportsCamera2ApiLocked() local
407 if (!serviceRet.isOk()) { in supportsCamera2ApiLocked()
813 binder::Status serviceRet = cs->getCameraCharacteristics(cameraIdStr, in getCameraCharacteristics() local
817 if (!serviceRet.isOk()) { in getCameraCharacteristics()
818 switch(serviceRet.serviceSpecificErrorCode()) { in getCameraCharacteristics()
827 serviceRet.toString8().c_str()); in getCameraCharacteristics()
865 binder::Status serviceRet = cs->connectDevice( in openCamera() local
872 if (!serviceRet.isOk()) { in openCamera()
873 ALOGE("%s: connect camera device failed: %s", __FUNCTION__, serviceRet.toString8().c_str()); in openCamera()
875 switch(serviceRet.serviceSpecificErrorCode()) { in openCamera()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp770 ScopedAStatus serviceRet = cs->getCameraCharacteristics(cameraIdStr, &rawMetadata); in getCameraCharacteristics() local
772 if (!serviceRet.isOk()) { in getCameraCharacteristics()
773 if (serviceRet.getExceptionCode() == EX_SERVICE_SPECIFIC) { in getCameraCharacteristics()
774 Status errStatus = static_cast<Status>(serviceRet.getServiceSpecificError()); in getCameraCharacteristics()
780 __FUNCTION__, serviceRet.getExceptionCode()); in getCameraCharacteristics()
821 ScopedAStatus serviceRet = cs->connectDevice(deviceCallback, in openCamera() local
823 if (!serviceRet.isOk()) { in openCamera()
824 if (serviceRet.getExceptionCode() == EX_SERVICE_SPECIFIC) { in openCamera()
825 Status errStatus = static_cast<Status>(serviceRet.getServiceSpecificError()); in openCamera()
832 __FUNCTION__, serviceRet.getExceptionCode()); in openCamera()