Home
last modified time | relevance | path

Searched refs:valstr (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Denvironment.cpp27 const char* const valstr = getenv(varname.c_str()); in StringFromEnv() local
28 if (!valstr) { in StringFromEnv()
31 return valstr; in StringFromEnv()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCamera.cpp240 const char* valstr = NULL; in getCameraInfo() local
242 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()
/device/generic/goldfish/camera/
DEmulatedCamera.cpp289 const char* valstr = NULL; in getCameraInfo() local
291 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()