Searched refs:level_conf_num (Results 1 – 2 of 2) sorted by relevance
1037 int level_conf_num = 0; in test_charge() local1052 if (level_conf_pos >= level_conf_num) { in test_charge()1053 LOGE("Too many level confs!(%d >= %d)", level_conf_pos, level_conf_num); in test_charge()1072 if (level_conf_num) { in test_charge()1075 level_conf_num = atoi(arg + strlen(OPT_CHARGE_ANIM_LEVELS)); in test_charge()1076 if (!level_conf_num) { in test_charge()1080 (anim_level_conf *)malloc(level_conf_num * sizeof(anim_level_conf)); in test_charge()1081 LOGD("Found levels:%d", level_conf_num); in test_charge()1088 if (level_conf_pos != level_conf_num || !level_conf_num) { in test_charge()1094 for (i = 0; i < level_conf_num; i++) { in test_charge()[all …]