Home
last modified time | relevance | path

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

/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp421 HalResult<int32_t> currentAverage) { in IsBatteryCurrentSimilar() argument
434 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() local
562 currentAverage = {result, value}; in TEST_P()
564 return IsBatteryCurrentSignCorrect(status, currentAverage, in TEST_P()
[all …]