Searched refs:valstr (Results 1 – 3 of 3) sorted by relevance
27 const char* const valstr = getenv(varname.c_str()); in StringFromEnv() local28 if (!valstr) { in StringFromEnv()31 return valstr; in StringFromEnv()
240 const char* valstr = NULL; in getCameraInfo() local242 valstr = mParameters.get(EmulatedCamera::FACING_KEY); in getCameraInfo()243 if (valstr != NULL) { in getCameraInfo()244 if (strcmp(valstr, EmulatedCamera::FACING_FRONT) == 0) { in getCameraInfo()246 } else if (strcmp(valstr, EmulatedCamera::FACING_BACK) == 0) { in getCameraInfo()253 valstr = mParameters.get(EmulatedCamera::ORIENTATION_KEY); in getCameraInfo()254 if (valstr != NULL) { in getCameraInfo()255 info->orientation = atoi(valstr); in getCameraInfo()
289 const char* valstr = NULL; in getCameraInfo() local291 valstr = mParameters.get(EmulatedCamera::FACING_KEY); in getCameraInfo()292 if (valstr != NULL) { in getCameraInfo()293 if (strcmp(valstr, EmulatedCamera::FACING_FRONT) == 0) { in getCameraInfo()296 else if (strcmp(valstr, EmulatedCamera::FACING_BACK) == 0) { in getCameraInfo()303 valstr = mParameters.get(EmulatedCamera::ORIENTATION_KEY); in getCameraInfo()304 if (valstr != NULL) { in getCameraInfo()305 info->orientation = atoi(valstr); in getCameraInfo()