Lines Matching refs:prop
1534 char prop[PROPERTY_VALUE_MAX]; in setPreviewSize() local
1536 property_get("persist.camera.aux.preview.size", prop, "0"); in setPreviewSize()
1537 parse_pair(prop, &width, &height, 'x', NULL); in setPreviewSize()
1618 char prop[PROPERTY_VALUE_MAX]; in setPictureSize() local
1620 property_get("persist.camera.aux.picture.size", prop, "0"); in setPictureSize()
1621 parse_pair(prop, &width, &height, 'x', NULL); in setPictureSize()
1983 char prop[PROPERTY_VALUE_MAX]; in setPreviewFormat() local
1985 memset(prop, 0, sizeof(prop)); in setPreviewFormat()
1986 property_get("persist.camera.preview.ubwc", prop, "1"); in setPreviewFormat()
1988 pFormat = atoi(prop); in setPreviewFormat()
2087 char prop[PROPERTY_VALUE_MAX]; in setBurstLEDOnPeriod() local
2088 memset(prop, 0, sizeof(prop)); in setBurstLEDOnPeriod()
2089 property_get("persist.camera.led.on.period", prop, "0"); in setBurstLEDOnPeriod()
2090 nBurstLEDOnPeriod = atoi(prop); in setBurstLEDOnPeriod()
2129 char prop[PROPERTY_VALUE_MAX]; in setRetroActiveBurstNum() local
2130 memset(prop, 0, sizeof(prop)); in setRetroActiveBurstNum()
2131 property_get("persist.camera.retro.number", prop, "0"); in setRetroActiveBurstNum()
2132 nBurstNum = atoi(prop); in setRetroActiveBurstNum()
2487 char prop[PROPERTY_VALUE_MAX]; in setEffect() local
2488 memset(prop, 0, sizeof(prop)); in setEffect()
2489 property_get("persist.camera.effect", prop, "none"); in setEffect()
2491 if (strcmp(prop, "none")) { in setEffect()
2493 (strcmp(prop, prev_str) != 0) || in setEffect()
2496 return setEffect(prop); in setEffect()
3395 char prop[PROPERTY_VALUE_MAX]; in setAutoHDR() local
3397 memset(prop, 0, sizeof(prop)); in setAutoHDR()
3398 property_get("persist.camera.auto.hdr.enable", prop, VALUE_DISABLE); in setAutoHDR()
3407 strcmp(prev_str, prop) != 0 ) { in setAutoHDR()
3408 LOGH("Auto HDR set to: %s", prop); in setAutoHDR()
3409 updateParamEntry(KEY_QC_AUTO_HDR_ENABLE, prop); in setAutoHDR()
3707 char prop[PROPERTY_VALUE_MAX]; in setAEBracket() local
3708 memset(prop, 0, sizeof(prop)); in setAEBracket()
3709 property_get("persist.capture.burst.exposures", prop, ""); in setAEBracket()
3710 if (strlen(prop) > 0) { in setAEBracket()
3711 set(KEY_QC_CAPTURE_BURST_EXPOSURE, prop); in setAEBracket()
4329 char prop[PROPERTY_VALUE_MAX]; in setNumOfSnapshot() local
4330 memset(prop, 0, sizeof(prop)); in setNumOfSnapshot()
4331 strlcpy(prop, str_val, PROPERTY_VALUE_MAX); in setNumOfSnapshot()
4333 char *token = strtok_r(prop, ",", &saveptr); in setNumOfSnapshot()
4356 char prop[PROPERTY_VALUE_MAX]; in setNumOfSnapshot() local
4357 memset(prop, 0, sizeof(prop)); in setNumOfSnapshot()
4358 property_get("persist.camera.dualfov.jpegnum", prop, "1"); in setNumOfSnapshot()
4359 dualfov_snap_num = atoi(prop); in setNumOfSnapshot()
4361 memset(prop, 0, sizeof(prop)); in setNumOfSnapshot()
4362 property_get("persist.camera.halpp", prop, "0"); in setNumOfSnapshot()
4363 int halpp_enabled = atoi(prop); in setNumOfSnapshot()
4441 char prop[PROPERTY_VALUE_MAX]; in setNoDisplayMode() local
4461 memset(prop, 0, sizeof(prop)); in setNoDisplayMode()
4462 property_get("persist.camera.no-display", prop, "0"); in setNoDisplayMode()
4463 m_bNoDisplayMode = atoi(prop); in setNoDisplayMode()
4883 char prop[PROPERTY_VALUE_MAX]; in setRdiMode() local
4884 memset(prop, 0, sizeof(prop)); in setRdiMode()
4886 property_get("persist.camera.rdi.mode", prop, VALUE_DISABLE); in setRdiMode()
4890 } else if (prev_str == NULL || strcmp(prev_str, prop) != 0 ) { in setRdiMode()
4891 LOGD("RDI mode set to prop: %s", prop); in setRdiMode()
4892 setRdiMode(prop); in setRdiMode()
4914 char prop[PROPERTY_VALUE_MAX]; in setSecureMode() local
4915 memset(prop, 0, sizeof(prop)); in setSecureMode()
4917 property_get("persist.camera.secure.mode", prop, VALUE_DISABLE); in setSecureMode()
4922 } else if (prev_str == NULL || strcmp(prev_str, prop) != 0 ) { in setSecureMode()
4923 LOGD("Secure mode set to prop: %s", prop); in setSecureMode()
4924 setSecureMode(prop); in setSecureMode()
4959 char prop[PROPERTY_VALUE_MAX]; in setZslAttributes() local
4965 memset(prop, 0, sizeof(prop)); in setZslAttributes()
4966 property_get("persist.camera.zsl.interval", prop, "1"); in setZslAttributes()
4967 set(KEY_QC_ZSL_BURST_INTERVAL, prop); in setZslAttributes()
4968 LOGH("burst interval: %s", prop); in setZslAttributes()
4975 memset(prop, 0, sizeof(prop)); in setZslAttributes()
4976 property_get("persist.camera.zsl.backlookcnt", prop, "2"); in setZslAttributes()
4977 uint32_t look_back_cnt = atoi(prop); in setZslAttributes()
4982 LOGH("look back count: %s", prop); in setZslAttributes()
4989 memset(prop, 0, sizeof(prop)); in setZslAttributes()
4990 property_get("persist.camera.zsl.queuedepth", prop, "2"); in setZslAttributes()
4991 uint32_t queue_depth = atoi(prop); in setZslAttributes()
4996 LOGH("queue depth: %s", prop); in setZslAttributes()
5077 char prop[PROPERTY_VALUE_MAX]; in setSnapshotFDReq() local
5083 memset(prop, 0, sizeof(prop)); in setSnapshotFDReq()
5084 property_get("persist.camera.snapshot.fd", prop, "0"); in setSnapshotFDReq()
5085 set(KEY_QC_SNAPSHOT_FD_DATA, prop); in setSnapshotFDReq()
5913 char prop[PROPERTY_VALUE_MAX]; in initDefaultParameters() local
5914 memset(prop, 0, sizeof(prop)); in initDefaultParameters()
5915 property_get("persist.capture.burst.exposures", prop, ""); in initDefaultParameters()
5916 if (strlen(prop) > 0) { in initDefaultParameters()
5917 set(KEY_QC_CAPTURE_BURST_EXPOSURE, prop); in initDefaultParameters()
7698 char prop[PROPERTY_VALUE_MAX]; in configureAEBracketing() local
7699 memset(prop, 0, sizeof(prop)); in configureAEBracketing()
7700 strlcpy(prop, str_val, PROPERTY_VALUE_MAX); in configureAEBracketing()
7702 char *token = strtok_r(prop, ",", &saveptr); in configureAEBracketing()
8046 char prop[PROPERTY_VALUE_MAX]; in setTintlessValue() local
8048 memset(prop, 0, sizeof(prop)); in setTintlessValue()
8049 property_get("persist.camera.tintless", prop, VALUE_ENABLE); in setTintlessValue()
8057 strcmp(prev_str, prop) != 0 ) { in setTintlessValue()
8058 setTintlessValue(prop); in setTintlessValue()
8197 char prop[PROPERTY_VALUE_MAX]; in setCDSMode() local
8198 memset(prop, 0, sizeof(prop)); in setCDSMode()
8199 property_get("persist.camera.CDS", prop, CDS_MODE_ON); in setCDSMode()
8201 prop); in setCDSMode()
8203 updateParamEntry(KEY_QC_CDS_MODE, prop); in setCDSMode()
8248 char prop[PROPERTY_VALUE_MAX]; in setInitialExposureIndex() local
8249 memset(prop, 0, sizeof(prop)); in setInitialExposureIndex()
8250 property_get("persist.camera.initial.exp.val", prop, ""); in setInitialExposureIndex()
8251 if ((strlen(prop) > 0) && in setInitialExposureIndex()
8252 ( (prev_str == NULL) || (strcmp(prop, prev_str) != 0))) { in setInitialExposureIndex()
8253 value = atoi(prop); in setInitialExposureIndex()
8256 updateParamEntry(KEY_QC_INITIAL_EXPOSURE_INDEX, prop); in setInitialExposureIndex()
8308 char prop[PROPERTY_VALUE_MAX]; in setInstantCapture() local
8309 memset(prop, 0, sizeof(prop)); in setInstantCapture()
8310 property_get("persist.camera.instant.capture", prop, KEY_QC_INSTANT_CAPTURE_DISABLE); in setInstantCapture()
8311 if ((prev_str == NULL) || (strcmp(prop, prev_str) != 0)) { in setInstantCapture()
8313 PARAM_MAP_SIZE(INSTANT_CAPTURE_MODES_MAP), prop); in setInstantCapture()
8316 updateParamEntry(KEY_QC_INSTANT_CAPTURE, prop); in setInstantCapture()
8318 LOGE("Invalid value for instant capture %s", prop); in setInstantCapture()
8342 char prop[PROPERTY_VALUE_MAX]; in setInstantCapture() local
8343 memset(prop, 0, sizeof(prop)); in setInstantCapture()
8344 property_get("persist.camera.ae.capture.bound", prop, "7"); in setInstantCapture()
8345 int32_t frame_bound = atoi(prop); in setInstantCapture()
8396 char prop[PROPERTY_VALUE_MAX]; in setInstantAEC() local
8397 memset(prop, 0, sizeof(prop)); in setInstantAEC()
8398 property_get("persist.camera.instant.aec", prop, KEY_QC_INSTANT_AEC_DISABLE); in setInstantAEC()
8399 if ((prev_str == NULL) || (strcmp(prop, prev_str) != 0)) { in setInstantAEC()
8401 PARAM_MAP_SIZE(INSTANT_AEC_MODES_MAP), prop); in setInstantAEC()
8404 updateParamEntry(KEY_QC_INSTANT_AEC, prop); in setInstantAEC()
8406 LOGE("Invalid value for instant AEC %s", prop); in setInstantAEC()
8428 char prop[PROPERTY_VALUE_MAX]; in setInstantAEC() local
8429 memset(prop, 0, sizeof(prop)); in setInstantAEC()
8430 property_get("persist.camera.ae.instant.bound", prop, "7"); in setInstantAEC()
8431 int32_t aec_frame_skip_cnt = atoi(prop); in setInstantAEC()
8832 char prop[PROPERTY_VALUE_MAX]; in getAutoFlickerMode() local
8833 memset(prop, 0, sizeof(prop)); in getAutoFlickerMode()
8834 property_get("persist.camera.set.afd", prop, "3"); in getAutoFlickerMode()
8835 return atoi(prop); in getAutoFlickerMode()
9829 char prop[PROPERTY_VALUE_MAX]; in setCacheVideoBuffers() local
9830 memset(prop, 0, sizeof(prop)); in setCacheVideoBuffers()
9831 property_get("persist.camera.mem.usecache", prop, ""); in setCacheVideoBuffers()
9832 if (strlen(prop) > 0) { in setCacheVideoBuffers()
9833 cacheVideoBuf = atoi(prop); in setCacheVideoBuffers()
9836 const char *cacheStr = (strlen(prop)>0) ? prop : cacheVideoBufStr; in setCacheVideoBuffers()
9992 char prop[PROPERTY_VALUE_MAX]; in getDenoiseProcessPlate() local
9993 memset(prop, 0, sizeof(prop)); in getDenoiseProcessPlate()
9996 property_get("persist.denoise.process.plates", prop, ""); in getDenoiseProcessPlate()
9998 property_get("persist.tnr.process.plates", prop, ""); in getDenoiseProcessPlate()
10001 prop[0] = '\0'; in getDenoiseProcessPlate()
10003 if (strlen(prop) > 0) { in getDenoiseProcessPlate()
10004 switch(atoi(prop)) { in getDenoiseProcessPlate()
10343 char prop[PROPERTY_VALUE_MAX]; in getStreamFormat() local
10345 memset(prop, 0, sizeof(prop)); in getStreamFormat()
10346 property_get("persist.camera.snap.format", prop, "0"); in getStreamFormat()
10347 snapshotFormat = atoi(prop); in getStreamFormat()
10927 char prop[PROPERTY_VALUE_MAX]; in getBurstCountForAdvancedCapture() local
10928 memset(prop, 0, sizeof(prop)); in getBurstCountForAdvancedCapture()
10929 strlcpy(prop, str_val, PROPERTY_VALUE_MAX); in getBurstCountForAdvancedCapture()
10931 char *token = strtok_r(prop, ",", &saveptr); in getBurstCountForAdvancedCapture()
12206 char prop[PROPERTY_VALUE_MAX]; in setDcrf() local
12207 memset(prop, 0, sizeof(prop)); in setDcrf()
12214 property_get("persist.camera.dcrf.enable", prop, "1"); in setDcrf()
12215 m_bDcrfEnabled = atoi(prop); in setDcrf()
12317 char prop[PROPERTY_VALUE_MAX]; in setDualCamBundleInfo() local
12318 memset(prop, 0, sizeof(prop)); in setDualCamBundleInfo()
12326 property_get("persist.camera.stats.test.2outs", prop, "0"); in setDualCamBundleInfo()
12327 sync_3a_mode = (atoi(prop) > 0) ? CAM_3A_SYNC_ALGO_CTRL : sync_3a_mode; in setDualCamBundleInfo()
12550 char prop[PROPERTY_VALUE_MAX]; in setSyncDCParams() local
12551 memset(prop, 0, sizeof(prop)); in setSyncDCParams()
12555 property_get("persist.camera.syncDCParams.en", prop, "1"); in setSyncDCParams()
12556 temp_mSyncDCParam = atoi(prop); in setSyncDCParams()
13358 char prop[PROPERTY_VALUE_MAX]; in setEztune() local
13359 memset(prop, 0, sizeof(prop)); in setEztune()
13360 property_get("persist.camera.eztune.enable", prop, "0"); in setEztune()
13361 m_bEztuneEnabled = atoi(prop); in setEztune()
14038 char prop[PROPERTY_VALUE_MAX]; in setStreamConfigure() local
14039 memset(prop, 0, sizeof(prop)); in setStreamConfigure()
14044 property_get("persist.camera.stats.test.2outs", prop, "0"); in setStreamConfigure()
14045 sync_3a_mode = (atoi(prop) > 0) ? CAM_3A_SYNC_ALGO_CTRL : sync_3a_mode; in setStreamConfigure()
14374 char prop[PROPERTY_VALUE_MAX]; in isPreviewSeeMoreRequired() local
14377 memset(prop, 0, sizeof(prop)); in isPreviewSeeMoreRequired()
14378 property_get("persist.camera.preview.seemore", prop, "0"); in isPreviewSeeMoreRequired()
14379 int enable = atoi(prop); in isPreviewSeeMoreRequired()
14617 char prop[PROPERTY_VALUE_MAX]; in updatePpFeatureMask() local
14622 memset(prop, 0, sizeof(prop)); in updatePpFeatureMask()
14623 property_get("persist.camera.sat.enable", prop, "0"); in updatePpFeatureMask()
14624 satEnabledFlag = atoi(prop); in updatePpFeatureMask()
14639 memset(prop, 0, sizeof(prop)); in updatePpFeatureMask()
14640 property_get("persist.camera.sac.enable", prop, "0"); in updatePpFeatureMask()
14641 sacEnabledFlag = atoi(prop); in updatePpFeatureMask()
14651 memset(prop, 0, sizeof(prop)); in updatePpFeatureMask()
14652 property_get("persist.camera.rtbdm.enable", prop, "0"); in updatePpFeatureMask()
14653 rtbdmEnabledFlag = atoi(prop); in updatePpFeatureMask()
14663 memset(prop, 0, sizeof(prop)); in updatePpFeatureMask()
14664 property_get("persist.camera.rtb.enable", prop, "0"); in updatePpFeatureMask()
14665 rtbEnabledFlag = atoi(prop); in updatePpFeatureMask()
14679 char prop[PROPERTY_VALUE_MAX]; in updatePpFeatureMask() local
14680 memset(prop, 0, sizeof(prop)); in updatePpFeatureMask()
14682 property_get("persist.camera.fovc.enable", prop, "0"); in updatePpFeatureMask()
14683 fixedFOVCenabled = atoi(prop); in updatePpFeatureMask()
15262 char prop[PROPERTY_VALUE_MAX]; in getLongshotStages() local
15263 memset(prop, 0, sizeof(prop)); in getLongshotStages()
15264 property_get("persist.camera.longshot.stages", prop, "0"); in getLongshotStages()
15265 uint8_t propStages = atoi(prop); in getLongshotStages()
15320 char prop[PROPERTY_VALUE_MAX]; in setLowLightCapture() local
15321 memset(prop, 0, sizeof(prop)); in setLowLightCapture()
15322 property_get("persist.camera.llc", prop, "0"); in setLowLightCapture()
15323 m_LLCaptureEnabled = (atoi(prop) > 0) ? TRUE : FALSE; in setLowLightCapture()
15482 char prop[PROPERTY_VALUE_MAX]; in setDualLedCalibration() local
15484 property_get("persist.camera.dualled_calib", prop, ""); in setDualLedCalibration()
15485 if (strlen(prop) > 0) { in setDualLedCalibration()
15486 if (prev_str == NULL || strcmp(prop, prev_str) != 0) { in setDualLedCalibration()
15487 return setDualLedCalibration(prop); in setDualLedCalibration()
15714 char prop[PROPERTY_VALUE_MAX]; in updateDtVc() local
15720 property_get("persist.camera.dt", prop, "0"); in updateDtVc()
15721 dt_val = atoi(prop); in updateDtVc()
15728 property_get("persist.camera.vc", prop, "-1"); in updateDtVc()
15729 vc_val = atoi(prop); in updateDtVc()
15751 char prop[PROPERTY_VALUE_MAX]; in isLinkPreviewForLiveShot() local
15753 memset(prop, 0, sizeof(prop)); in isLinkPreviewForLiveShot()
15756 property_get("persist.camera.linkpreview", prop, "1"); in isLinkPreviewForLiveShot()
15757 bool enable = atoi(prop) > 0 ? TRUE : FALSE; in isLinkPreviewForLiveShot()
15831 char prop[PROPERTY_VALUE_MAX]; in setDeferCamera() local
15834 property_get("persist.dualcam.defer.cam", prop, "1"); in setDeferCamera()
15835 value = atoi(prop); in setDeferCamera()
15860 char prop[PROPERTY_VALUE_MAX]; in getLowPowerMode() local
15865 property_get("persist.dualcam.lpm.main", prop, "0"); in getLowPowerMode()
15866 lpm = atoi(prop); in getLowPowerMode()
15869 property_get("persist.dualcam.lpm.aux", prop, "0"); in getLowPowerMode()
15870 lpm = atoi(prop); in getLowPowerMode()
15911 char prop[PROPERTY_VALUE_MAX]; in setCameraControls() local
15950 property_get("persist.dualcam.lpm.enable", prop, "1"); in setCameraControls()
15951 lpmEnable = atoi(prop); in setCameraControls()