Lines Matching defs:value
75 // Find the value.
92 void CameraParameters2::set(const char *key, const char *value)
100 if (strchr(value, '=') || strchr(value, ';')) {
101 //XXX ALOGE("Value \"%s\"contains invalid character (= or ;)", value);
105 // Replacing a value updates the key's order to be the new largest order
106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value));
107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value);
110 void CameraParameters2::set(const char *key, int value)
113 sprintf(str, "%d", value);
117 void CameraParameters2::setFloat(const char *key, float value)
120 snprintf(str, sizeof(str), "%g", value);