Searched refs:weight_total (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h82 extern int do_update_progress, progress, weight_total, control_socket_fd;
H A Dutils.cpp1181 int weight_total = WEIGHT_TOTAL; variable
1193 if (progress > weight_total) {
1194 int new_total = weight_total * 1.2;
1195 MYLOGD("Adjusting total weight from %d to %d\n", weight_total, new_total);
1196 weight_total = new_total;
1198 snprintf(value, sizeof(value), "%d", weight_total);
1211 MYLOGD("Setting progress (%s): %s/%d\n", key, value, weight_total);
1215 fprintf(stderr, "Setting progress (%s): %s/%d\n", key, value, weight_total);
1219 dprintf(control_socket_fd, "PROGRESS:%d/%d\n", progress, weight_total);
H A Ddumpstate.cpp1219 getpid(), progress, weight_total, WEIGHT_TOTAL);
1735 "--ei", "android.intent.extra.MAX", std::to_string(weight_total),
1758 MYLOGD("Final progress: %d/%d (originally %d)\n", progress, weight_total, WEIGHT_TOTAL);

Completed in 130 milliseconds