Home
last modified time | relevance | path

Searched refs:vs (Results 1 – 2 of 2) sorted by relevance

/system/core/healthd/
DBatteryMonitor.cpp342 char vs[128]; in dumpState() local
344 snprintf(vs, sizeof(vs), "ac: %d usb: %d wireless: %d\n", in dumpState()
347 write(fd, vs, strlen(vs)); in dumpState()
348 snprintf(vs, sizeof(vs), "status: %d health: %d present: %d\n", in dumpState()
350 write(fd, vs, strlen(vs)); in dumpState()
351 snprintf(vs, sizeof(vs), "level: %d voltage: %d temp: %d\n", in dumpState()
354 write(fd, vs, strlen(vs)); in dumpState()
358 snprintf(vs, sizeof(vs), "current now: %d\n", v); in dumpState()
359 write(fd, vs, strlen(vs)); in dumpState()
364 snprintf(vs, sizeof(vs), "current avg: %d\n", v); in dumpState()
[all …]
/system/core/libpixelflinger/codeflinger/
Dblending.cpp477 int vs = v.size(); in mul_factor() local
479 int ms = vs+fs; in mul_factor()
494 if (vs<16) { in mul_factor()
506 } else if (GGL_BETWEEN(vs, 24, 31)) { in mul_factor()
522 vshift = vs - 15; in mul_factor()
527 vshift = vs - 15; in mul_factor()
539 ALOGE_IF(ms>=32, "mul_factor overflow vs=%d, fs=%d", vs, fs); in mul_factor()
572 int vs = v.size(); in mul_factor_add() local
575 int ms = vs+fs; in mul_factor_add()
577 ALOGE_IF(ms>=32, "mul_factor_add overflow vs=%d, fs=%d, as=%d", vs, fs, as); in mul_factor_add()
[all …]