console.info(TAG+functionTag+"Entering SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_RELEASE_PROMISE_0100 cameraInput open with camera: "+camerasArray[i].cameraId);
awaitcameraInput.open().then(async()=>{
successFlag=true;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_RELEASE_PROMISE_0100 PASSED open with CameraID :"+camerasArray[i].cameraId);
}).catch((err)=>{
successFlag=false;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_RELEASE_PROMISE_0100 open FAILED: "+err.message);
});
awaitsleep(400);
successFlag=false;
awaitcameraInput.close().then(async()=>{
successFlag=true;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_RELEASE_PROMISE_0100 PASSED close with CameraID :"+camerasArray[i].cameraId);
}).catch((err)=>{
successFlag=false;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_RELEASE_PROMISE_0100 close FAILED: "+err.message);
});
awaitsleep(100);
successFlag=false;
awaitcameraInput.release().then(async()=>{
successFlag=true;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_RELEASE_PROMISE_0100 PASSED release with CameraID :"+camerasArray[i].cameraId);
console.info(TAG+functionTag+"Entering SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_PROMISE_0100 cameraInput open with camera: "+camerasArray[i].cameraId);
awaitcameraInput.open().then(async()=>{
successFlag=true;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_PROMISE_0100 PASSED open with CameraID :"+camerasArray[i].cameraId);
}).catch((err)=>{
successFlag=false;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_PROMISE_0100 open FAILED: "+err.message);
});
awaitsleep(400);
successFlag=false;
awaitcameraInput.close().then(async()=>{
successFlag=true;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_PROMISE_0100 PASSED close with CameraID :"+camerasArray[i].cameraId);
}).catch((err)=>{
successFlag=false;
console.info(TAG+functionTag+" SUB_MULTIMEDIA_CAMERA_CAMERA_INPUT_OPEN_CLOSE_PROMISE_0100 close FAILED: "+err.message);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_MODE_CALLBACK_0100 PASSED with ExposureMode is: "+cameraObj.ExposureMode.EXPOSURE_MODE_LOCKED);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_MODE_CALLBACK_0101 PASSED with ExposureMode is: "+cameraObj.ExposureMode.EXPOSURE_MODE_AUTO);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_MODE_CALLBACK_0102 PASSED with ExposureMode is: "+cameraObj.ExposureMode.EXPOSURE_MODE_CONTINUOUS_AUTO);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0100 PASSED with METERINGPoint is: "+mMETERINGPoint.x+", "+mMETERINGPoint.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0101 PASSED with METERINGPoint is: "+mMETERINGPointLT.x+", "+mMETERINGPointLT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_PROMISE_0101 PASSED with METERINGPoint is: "+mMETERINGPointLT.x+", "+mMETERINGPointLT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_PROMISE_0101 PASSED with METERINGPoint is: "+mMETERINGPointLT.x+", "+mMETERINGPointLT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0102 PASSED with METERINGPoint is: "+mMETERINGPointRT.x+", "+mMETERINGPointRT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0103 PASSED with METERINGPoint is: "+mMETERINGPointLB.x+", "+mMETERINGPointRB.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0104 PASSED with METERINGPoint is: "+mMETERINGPointRB.x+", "+mMETERINGPointRB.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0105 PASSED with METERINGPoint is: "+mMETERINGPointInvalidLT.x+", "+mMETERINGPointInvalidLT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0106 PASSED with METERINGPoint is: "+mMETERINGPointInvalidRT.x+", "+mMETERINGPointInvalidRT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0107 PASSED with METERINGPoint is: "+mMETERINGPointInvalidLB.x+", "+mMETERINGPointInvalidRB.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_METERING_POINT_CALLBACK_0108 PASSED with METERINGPoint is: "+mMETERINGPointInvalidRB.x+", "+mMETERINGPointInvalidRB.y);
console.info(TAG+i+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_GET_EXPOSURE_BIAS_RANGE_CALLBACK_0100 PASSED with ExposureBiasRange length is: "+data.length);
console.info(TAG+"Exposure bias max is: "+mExposureBiasMaxArray[i]+", min is: "+mExposureBiasMinArray[i]);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_GET_EXPOSURE_BIAS_RANGE_CALLBACK_0100 FAILED with ExposureBiasRange length is: "+data.length);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_BIAS_CALLBACK_0100 PASSED with ExposureBias is: "+mExposureBiasRangeArray[i][0]);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_BIAS_CALLBACK_0101 PASSED with ExposureBias is: "+(mExposureBiasMinArray[i]-1));
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_BIAS_CALLBACK_0102 PASSED with ExposureBias is: "+(mExposureBiasMinArray[i]-0.1));
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_BIAS_CALLBACK_0103 PASSED with ExposureBias is: "+(mExposureBiasMaxArray[i]+1));
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_EXPOSURE_BIAS_CALLBACK_0104 PASSED with ExposureBias is: "+(mExposureBiasMaxArray[i]+0.1));
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FLASH_MODE_CALLBACK_0100 PASSED with FlashMode is: "+cameraObj.FlashMode.FLASH_MODE_CLOSE);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FLASH_MODE_CALLBACK_0101 PASSED with FlashMode is: "+cameraObj.FlashMode.FLASH_MODE_OPEN);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FLASH_MODE_CALLBACK_0102 PASSED with FlashMode is: "+cameraObj.FlashMode.FLASH_MODE_AUTO);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FLASH_MODE_CALLBACK_0103 PASSED with FlashMode is: "+cameraObj.FlashMode.FLASH_MODE_ALWAYS_OPEN);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_MODE_CALLBACK_0100 PASSED with FocusMode is: "+cameraObj.FocusMode.FOCUS_MODE_MANUAL);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_MODE_CALLBACK_0101 PASSED with FocusMode is: "+cameraObj.FocusMode.FOCUS_MODE_CONTINUOUS_AUTO);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_MODE_CALLBACK_0102 PASSED with FocusMode is: "+cameraObj.FocusMode.FOCUS_MODE_AUTO);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_MODE_CALLBACK_0103 PASSED with FocusMode is: "+cameraObj.FocusMode.FOCUS_MODE_LOCKED);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_MODE_PROMISE_0103 PASSED with FocusMode is: "+cameraObj.FocusMode.FOCUS_MODE_LOCKED);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_MODE_PROMISE_0103 PASSED with FocusMode is: "+cameraObj.FocusMode.FOCUS_MODE_LOCKED);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0100 PASSED with FocusPoint is: "+mFocusPoint.x+", "+mFocusPoint.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0101 PASSED with FocusPoint is: "+mFocusPointLT.x+", "+mFocusPointLT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0102 PASSED with FocusPoint is: "+mFocusPointRT.x+", "+mFocusPointRT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0103 PASSED with FocusPoint is: "+mFocusPointLB.x+", "+mFocusPointLB.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0104 PASSED with FocusPoint is: "+mFocusPointRB.x+", "+mFocusPointRB.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0105 PASSED with FocusPoint is: "+mFocusPointInvalidLT.x+", "+mFocusPointInvalidLT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0106 PASSED with FocusPoint is: "+mFocusPointInvalidRT.x+", "+mFocusPointInvalidRT.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0107 PASSED with FocusPoint is: "+mFocusPointInvalidLB.x+", "+mFocusPointInvalidLB.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_FOCUS_POINT_CALLBACK_0108 PASSED with FocusPoint is: "+mFocusPointInvalidRB.x+", "+mFocusPointInvalidRB.y);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0100 PASSED with isVideoStabilizationModeSupported is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0100 FAILED with isVideoStabilizationModeSupported is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0100 PASSED with VideoStabilizationMode is: "+cameraObj.VideoStabilizationMode.OFF);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0100 PASSED with VideoStabilizationMode is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0100 FAILED with VideoStabilizationMode is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0101 PASSED with isVideoStabilizationModeSupported is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0101 FAILED with isVideoStabilizationModeSupported is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0101 PASSED with VideoStabilizationMode is: "+cameraObj.VideoStabilizationMode.LOW);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0101 PASSED with VideoStabilizationMode is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0101 FAILED with VideoStabilizationMode is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0102 PASSED with isVideoStabilizationModeSupported is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0102 FAILED with isVideoStabilizationModeSupported is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0102 PASSED with VideoStabilizationMode is: "+cameraObj.VideoStabilizationMode.MIDDLE);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0102 PASSED with VideoStabilizationMode is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0102 FAILED with VideoStabilizationMode is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0103 PASSED with isVideoStabilizationModeSupported is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0103 FAILED with isVideoStabilizationModeSupported is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0103 PASSED with VideoStabilizationMode is: "+cameraObj.VideoStabilizationMode.HIGH);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0103 PASSED with VideoStabilizationMode is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0103 FAILED with VideoStabilizationMode is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0104 PASSED with isVideoStabilizationModeSupported is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_IS_VIDEO_STABILIZATION_MODE_SUPPORT_CALLBACK_0104 FAILED with isVideoStabilizationModeSupported is: "+data);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0104 PASSED with VideoStabilizationMode is: "+cameraObj.VideoStabilizationMode.AUTO);
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0104 PASSED with VideoStabilizationMode is: "+data);
}else{
console.info(TAG+"Entering SUB_MULTIMEDIA_CAMERA_SESSION_SET_GET_VIDEO_STABILIZATION_MODE_CALLBACK_0104 FAILED with VideoStabilizationMode is: "+data);