Searched refs:currentAverage (Results 1 – 1 of 1) sorted by relevance
421 HalResult<int32_t> currentAverage) { in IsBatteryCurrentSimilar() argument434 if (currentAverage.result != Result::SUCCESS || currentAverage.value == 0) { in IsBatteryCurrentSimilar()436 << toString(currentAverage.result) << " with value " in IsBatteryCurrentSimilar()437 << currentAverage.value << ", skipping"; in IsBatteryCurrentSimilar()443 TEST_AND_RETURN(IsValueSimilar(currentNow.value, currentAverage.value, gCurrentCompareFactor) in IsBatteryCurrentSimilar()445 TEST_AND_RETURN(IsValueSimilar(currentAverage.value, currentNow.value, gCurrentCompareFactor) in IsBatteryCurrentSimilar()448 << " and currentAverage = " << currentAverage.value in IsBatteryCurrentSimilar()560 HalResult<int32_t> currentAverage; in TEST_P() local562 currentAverage = {result, value}; in TEST_P()564 return IsBatteryCurrentSignCorrect(status, currentAverage, in TEST_P()[all …]