Searched refs:currentAvg (Results 1 – 1 of 1) sorted by relevance
388 int32_t currentAvg = strtol(buf, nullptr, strlen); in ReadCurrentAverageSysfs() local389 if (currentAvg < NUM_ZERO) { in ReadCurrentAverageSysfs()390 BATTERY_HILOGE(LABEL_TEST, "read system file currentAvg is %{public}d", currentAvg); in ReadCurrentAverageSysfs()392 BATTERY_HILOGE(LABEL_TEST, "read system file currentAvg is %{public}d", currentAvg); in ReadCurrentAverageSysfs()394 return currentAvg; in ReadCurrentAverageSysfs()1108 int32_t currentAvg = HDF_FAILURE; variable1110 giver_->ParseCurrentAverage(¤tAvg);1114 ASSERT_TRUE(currentAvg == sysfsCurrentAvg);1117 giver_->ParseCurrentAverage(¤tAvg);1118 BATTERY_HILOGI(LABEL_TEST, "HdiService024::currentAvg=%{public}d.", currentAvg);[all …]