Searched refs:currentNow (Results 1 – 1 of 1) sorted by relevance
420 HalResult<int32_t> currentNow, in IsBatteryCurrentSimilar() argument429 if (currentNow.result != Result::SUCCESS || currentNow.value == 0) { in IsBatteryCurrentSimilar()430 return AssertionSuccess() << "getCurrentNow returned " << toString(currentNow.result) in IsBatteryCurrentSimilar()431 << " with value " << currentNow.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()447 return AssertionSuccess() << "currentNow = " << currentNow.value in IsBatteryCurrentSimilar()538 HalResult<int32_t> currentNow; in TEST_P() local543 currentNow = {result, value}; in TEST_P()546 return IsBatteryCurrentSignCorrect(status, currentNow, in TEST_P()[all …]