Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dvariables.cpp104 auto ret_val = fastboot_hal->getVariant([&](std::string device_variant, Result result) { in GetVariant() local
108 if (!ret_val.isOk() || ret.status != Status::SUCCESS) { in GetVariant()
126 auto ret_val = health_hal->getHealthInfo([&](Result result, HealthInfo info) { in GetBatteryVoltageHelper() local
130 if (!ret_val.isOk() || (ret != Result::SUCCESS)) { in GetBatteryVoltageHelper()
152 auto ret_val = fastboot_hal->getBatteryVoltageFlashingThreshold( in GetBatterySoCOk() local
158 if (!ret_val.isOk() || ret.status != Status::SUCCESS) { in GetBatterySoCOk()
175 auto ret_val = in GetOffModeChargeState() local
180 if (!ret_val.isOk() || (ret.status != Status::SUCCESS)) { in GetOffModeChargeState()
342 auto ret_val = in GetPartitionType() local
347 if (!ret_val.isOk() || (ret.status != Status::SUCCESS)) { in GetPartitionType()
Dcommands.cpp199 auto ret_val = fastboot_hal->doOemCommand(args[0], [&](Result result) { ret = result; }); in OemCmdHandler() local
200 if (!ret_val.isOk()) { in OemCmdHandler()
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.cpp38 binder::Status retOk(const T& value, T* ret_val) { in retOk() argument
39 *ret_val = value; in retOk()
/system/update_engine/scripts/update_payload/
Dchecker_unittest.py247 ret_val, ret_subreport = checker.PayloadChecker._CheckElem(*args,
249 self.assertEqual(val if is_present else None, ret_val)
280 ret_val = tested_func(*args, **kwargs)
281 self.assertEqual(val if is_present else None, ret_val)
304 ret_val, ret_subreport = tested_func(*args)
305 self.assertEqual(val if is_present else None, ret_val)