Home
last modified time | relevance | path

Searched refs:isOk (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/camera/tests/
DCameraBinderTests.cpp299 EXPECT_TRUE(res.isOk()) << res; in TEST()
305 EXPECT_TRUE(res.isOk()) << res; in TEST()
313 EXPECT_TRUE(res.isOk()) << res; in TEST()
323 EXPECT_TRUE(res.isOk()) << res; in TEST()
338 EXPECT_TRUE(res.isOk()) << res; in TEST()
348 EXPECT_TRUE(res.isOk()) << res; in TEST()
353 EXPECT_TRUE(res.isOk()) << res; in TEST()
360 EXPECT_TRUE(res.isOk()) << res; in TEST()
380 EXPECT_TRUE(res.isOk()) << res; in openNewDevice()
391 EXPECT_TRUE(res.isOk()) << res; in closeDevice()
[all …]
/frameworks/av/camera/
DCameraBase.cpp129 if (ret.isOk() && c->mCamera != nullptr) { in connect()
217 if (!res.isOk()) { in getNumberOfCameras()
232 return res.isOk() ? OK : res.serviceSpecificErrorCode(); in getCameraInfo()
241 return res.isOk() ? OK : res.serviceSpecificErrorCode(); in addServiceListener()
250 return res.isOk() ? OK : res.serviceSpecificErrorCode(); in removeServiceListener()
DCamera.cpp96 if (ret.isOk() && c->mCamera != nullptr) { in connectLegacy()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp130 if ( !(res = checkPidStatus(__FUNCTION__) ).isOk()) { in submitRequestList()
267 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in cancelRequest()
309 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in endConfigure()
358 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in deleteStream()
414 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in createStream()
569 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in createInputStream()
609 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in getInputSurface()
698 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in createDefaultRequest()
734 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in getCameraInfo()
756 if (!(res = checkPidStatus(__FUNCTION__)).isOk()) return res; in waitUntilIdle()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp123 if (ret.isOk()) { in getCameraService()
316 if (!serviceRet.isOk()) { in getOrCreateCameraIdListLocked()
428 if (!serviceRet.isOk()) { in getCameraCharacteristics()
472 if (!serviceRet.isOk()) { in openCamera()
DACameraDevice.cpp133 } else if (!remoteRet.isOk()) { in createCaptureRequest()
387 } else if (!remoteRet.isOk()) { in stopRepeatingLocked()
438 if (!remoteRet.isOk()) { in flushLocked()
462 if (!remoteRet.isOk()) { in waitUntilIdleLocked()
576 if (!remoteRet.isOk()) { in configureStreamsLocked()
584 if (!remoteRet.isOk()) { in configureStreamsLocked()
596 if (!remoteRet.isOk()) { in configureStreamsLocked()
609 } else if (!remoteRet.isOk()) { in configureStreamsLocked()
/frameworks/native/include/binder/
DStatus.h123 bool isOk() const { return mException == EX_NONE; } in isOk() function
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp464 if (rc.isOk()) { in getCameraInfo()
493 if (!(ret = getCameraInfo(cameraId, &info)).isOk()) { in generateShimMetadata()
513 if (!(ret = getLegacyParametersLazy(cameraId, /*out*/&shimParams)).isOk()) { in generateShimMetadata()
621 if (ret.isOk()) { in getCameraCharacteristics()
843 ).isOk()) { in initializeShimMetadata()
884 if (!ret.isOk()) { in getLegacyParametersLazy()
1266 if(!ret.isOk()) { in connect()
1311 if(!ret.isOk()) { in connectLegacy()
1339 if(!ret.isOk()) { in connectDevice()
1575 if (!(ret = getLegacyParametersLazy(cameraId, /*out*/&shimParams)).isOk()) { in getLegacyParameters()
DCameraService.h851 /*inout*/clientUid, /*inout*/clientPid, /*out*/originalClientPid)).isOk()) { in connectHelper()
910 /*out*/&tmp)).isOk()) { in connectHelper()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp925 } else if (!res.isOk()) { in CameraMetadata_setupGlobalVendorTagDescriptor()