Lines Matching refs:prop

1755         char prop[PROPERTY_VALUE_MAX];  in setBurstLEDOnPeriod()  local
1756 memset(prop, 0, sizeof(prop)); in setBurstLEDOnPeriod()
1757 property_get("persist.camera.led.on.period", prop, "0"); in setBurstLEDOnPeriod()
1758 nBurstLEDOnPeriod = atoi(prop); in setBurstLEDOnPeriod()
1797 char prop[PROPERTY_VALUE_MAX]; in setRetroActiveBurstNum() local
1798 memset(prop, 0, sizeof(prop)); in setRetroActiveBurstNum()
1799 property_get("persist.camera.retro.number", prop, "0"); in setRetroActiveBurstNum()
1800 nBurstNum = atoi(prop); in setRetroActiveBurstNum()
3018 char prop[PROPERTY_VALUE_MAX]; in setAutoHDR() local
3020 memset(prop, 0, sizeof(prop)); in setAutoHDR()
3021 property_get("persist.camera.auto.hdr.enable", prop, VALUE_DISABLE); in setAutoHDR()
3030 strcmp(prev_str, prop) != 0 ) { in setAutoHDR()
3031 CDBG_HIGH("%s : Auto HDR set to: %s", __func__, prop); in setAutoHDR()
3032 updateParamEntry(KEY_QC_AUTO_HDR_ENABLE, prop); in setAutoHDR()
3312 char prop[PROPERTY_VALUE_MAX]; in setAEBracket() local
3313 memset(prop, 0, sizeof(prop)); in setAEBracket()
3314 property_get("persist.capture.burst.exposures", prop, ""); in setAEBracket()
3315 if (strlen(prop) > 0) { in setAEBracket()
3316 set(KEY_QC_CAPTURE_BURST_EXPOSURE, prop); in setAEBracket()
3756 char prop[PROPERTY_VALUE_MAX]; in setNumOfSnapshot() local
3757 memset(prop, 0, sizeof(prop)); in setNumOfSnapshot()
3758 strlcpy(prop, str_val, PROPERTY_VALUE_MAX); in setNumOfSnapshot()
3760 char *token = strtok_r(prop, ",", &saveptr); in setNumOfSnapshot()
3842 char prop[PROPERTY_VALUE_MAX]; in setNoDisplayMode() local
3851 memset(prop, 0, sizeof(prop)); in setNoDisplayMode()
3852 property_get("persist.camera.no-display", prop, "0"); in setNoDisplayMode()
3853 m_bNoDisplayMode = atoi(prop); in setNoDisplayMode()
4205 char prop[PROPERTY_VALUE_MAX]; in setRdiMode() local
4206 memset(prop, 0, sizeof(prop)); in setRdiMode()
4208 property_get("persist.camera.rdi.mode", prop, VALUE_DISABLE); in setRdiMode()
4212 } else if (prev_str == NULL || strcmp(prev_str, prop) != 0 ) { in setRdiMode()
4213 ALOGD("%s:%d : RDI mode set to prop: %s", __func__, __LINE__, prop); in setRdiMode()
4214 setRdiMode(prop); in setRdiMode()
4236 char prop[PROPERTY_VALUE_MAX]; in setSecureMode() local
4237 memset(prop, 0, sizeof(prop)); in setSecureMode()
4239 property_get("persist.camera.secure.mode", prop, VALUE_DISABLE); in setSecureMode()
4243 } else if (prev_str == NULL || strcmp(prev_str, prop) != 0 ) { in setSecureMode()
4244 ALOGD("%s : Secure mode set to prop: %s", __func__, prop); in setSecureMode()
4245 setSecureMode(prop); in setSecureMode()
4265 char prop[PROPERTY_VALUE_MAX]; in setZslAttributes() local
4271 memset(prop, 0, sizeof(prop)); in setZslAttributes()
4272 property_get("persist.camera.zsl.interval", prop, "1"); in setZslAttributes()
4273 set(KEY_QC_ZSL_BURST_INTERVAL, prop); in setZslAttributes()
4274 CDBG_HIGH("%s: [ZSL Retro] burst interval: %s", __func__, prop); in setZslAttributes()
4281 memset(prop, 0, sizeof(prop)); in setZslAttributes()
4282 property_get("persist.camera.zsl.backlookcnt", prop, "2"); in setZslAttributes()
4283 set(KEY_QC_ZSL_BURST_LOOKBACK, prop); in setZslAttributes()
4284 CDBG_HIGH("%s: [ZSL Retro] look back count: %s", __func__, prop); in setZslAttributes()
4291 memset(prop, 0, sizeof(prop)); in setZslAttributes()
4292 property_get("persist.camera.zsl.queuedepth", prop, "2"); in setZslAttributes()
4293 set(KEY_QC_ZSL_QUEUE_DEPTH, prop); in setZslAttributes()
4294 CDBG_HIGH("%s: [ZSL Retro] queue depth: %s", __func__, prop); in setZslAttributes()
4382 char prop[PROPERTY_VALUE_MAX]; in setBurstNum() local
4383 memset(prop, 0, sizeof(prop)); in setBurstNum()
4384 property_get("persist.camera.snapshot.number", prop, "0"); in setBurstNum()
4385 nBurstNum = atoi(prop); in setBurstNum()
4414 char prop[PROPERTY_VALUE_MAX]; in setSnapshotFDReq() local
4420 memset(prop, 0, sizeof(prop)); in setSnapshotFDReq()
4421 property_get("persist.camera.snapshot.fd", prop, "0"); in setSnapshotFDReq()
4422 set(KEY_QC_SNAPSHOT_FD_DATA, prop); in setSnapshotFDReq()
5104 char prop[PROPERTY_VALUE_MAX]; in initDefaultParameters() local
5105 memset(prop, 0, sizeof(prop)); in initDefaultParameters()
5106 property_get("persist.capture.burst.exposures", prop, ""); in initDefaultParameters()
5107 if (strlen(prop) > 0) { in initDefaultParameters()
5108 set(KEY_QC_CAPTURE_BURST_EXPOSURE, prop); in initDefaultParameters()
6614 char prop[PROPERTY_VALUE_MAX]; in configureAEBracketing() local
6615 memset(prop, 0, sizeof(prop)); in configureAEBracketing()
6616 strlcpy(prop, str_val, PROPERTY_VALUE_MAX); in configureAEBracketing()
6618 char *token = strtok_r(prop, ",", &saveptr); in configureAEBracketing()
6866 char prop[PROPERTY_VALUE_MAX]; in setTintlessValue() local
6868 memset(prop, 0, sizeof(prop)); in setTintlessValue()
6869 property_get("persist.camera.tintless", prop, VALUE_ENABLE); in setTintlessValue()
6877 strcmp(prev_str, prop) != 0 ) { in setTintlessValue()
6878 setTintlessValue(prop); in setTintlessValue()
7015 char prop[PROPERTY_VALUE_MAX]; in setCDSMode() local
7016 memset(prop, 0, sizeof(prop)); in setCDSMode()
7017 property_get("persist.camera.CDS", prop, CDS_MODE_ON); in setCDSMode()
7019 prop); in setCDSMode()
7021 updateParamEntry(KEY_QC_CDS_MODE, prop); in setCDSMode()
7427 char prop[PROPERTY_VALUE_MAX]; in getAutoFlickerMode() local
7428 memset(prop, 0, sizeof(prop)); in getAutoFlickerMode()
7429 property_get("persist.camera.set.afd", prop, "3"); in getAutoFlickerMode()
7430 return atoi(prop); in getAutoFlickerMode()
8487 char prop[PROPERTY_VALUE_MAX]; in getDenoiseProcessPlate() local
8488 memset(prop, 0, sizeof(prop)); in getDenoiseProcessPlate()
8491 property_get("persist.denoise.process.plates", prop, ""); in getDenoiseProcessPlate()
8493 property_get("persist.tnr.process.plates", prop, ""); in getDenoiseProcessPlate()
8496 prop[0] = '\0'; in getDenoiseProcessPlate()
8498 if (strlen(prop) > 0) { in getDenoiseProcessPlate()
8499 switch(atoi(prop)) { in getDenoiseProcessPlate()
8848 char prop[PROPERTY_VALUE_MAX]; in getStreamFormat() local
8850 memset(prop, 0, sizeof(prop)); in getStreamFormat()
8851 property_get("persist.camera.snap.format", prop, "0"); in getStreamFormat()
8852 snapshotFormat = atoi(prop); in getStreamFormat()
9258 char prop[PROPERTY_VALUE_MAX]; in getBurstCountForAdvancedCapture() local
9259 memset(prop, 0, sizeof(prop)); in getBurstCountForAdvancedCapture()
9260 strlcpy(prop, str_val, PROPERTY_VALUE_MAX); in getBurstCountForAdvancedCapture()
9262 char *token = strtok_r(prop, ",", &saveptr); in getBurstCountForAdvancedCapture()