Home
last modified time | relevance | path

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

/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp489 HalResult<HealthInfo> healthInfo; in TEST_P() local
491 healthInfo = {result, value}; in TEST_P()
495 {healthInfo.result, healthInfo.value.legacy.batteryStatus}, in TEST_P()
496 {healthInfo.result, healthInfo.value.legacy.batteryCurrent}, in TEST_P()
505 HalResult<HealthInfo> healthInfo; in TEST_P() local
507 healthInfo = {result, value}; in TEST_P()
510 {healthInfo.result, healthInfo.value.legacy.batteryStatus}, in TEST_P()
511 {healthInfo.result, healthInfo.value.batteryCurrentAverage}, in TEST_P()
521 HalResult<HealthInfo> healthInfo; in TEST_P() local
523 healthInfo = {result, value}; in TEST_P()
[all …]
/hardware/interfaces/health/2.0/default/
DHealth.cpp184 void Health::notifyListeners(HealthInfo* healthInfo) { in notifyListeners() argument
199 healthInfo->batteryCurrentAverage = currentAvg; in notifyListeners()
200 healthInfo->diskStats = stats; in notifyListeners()
201 healthInfo->storageInfos = info; in notifyListeners()
205 auto ret = (*it)->healthInfoChanged(*healthInfo); in notifyListeners()
262 HealthInfo healthInfo = battery_monitor_->getHealthInfo_2_0(); in getHealthInfo() local
278 healthInfo.batteryCurrentAverage = currentAvg; in getHealthInfo()
279 healthInfo.diskStats = stats; in getHealthInfo()
280 healthInfo.storageInfos = info; in getHealthInfo()
282 _hidl_cb(Result::SUCCESS, healthInfo); in getHealthInfo()