Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dvariables.cpp110 auto ret_val = fastboot_hal->getVariant([&](std::string device_variant, Result result) { in GetVariant() local
114 if (!ret_val.isOk() || ret.status != Status::SUCCESS) { in GetVariant()
132 auto ret_val = health_hal->getHealthInfo([&](Result result, HealthInfo info) { in GetBatteryVoltageHelper() local
136 if (!ret_val.isOk() || (ret != Result::SUCCESS)) { in GetBatteryVoltageHelper()
158 auto ret_val = fastboot_hal->getBatteryVoltageFlashingThreshold( in GetBatterySoCOk() local
164 if (!ret_val.isOk() || ret.status != Status::SUCCESS) { in GetBatterySoCOk()
181 auto ret_val = in GetOffModeChargeState() local
186 if (!ret_val.isOk() || (ret.status != Status::SUCCESS)) { in GetOffModeChargeState()
348 auto ret_val = in GetPartitionType() local
353 if (!ret_val.isOk() || (ret.status != Status::SUCCESS)) { in GetPartitionType()
Dcommands.cpp186 auto ret_val = fastboot_hal->doOemSpecificErase([&](Result result) { ret = result; }); in OemPostWipeData() local
187 if (!ret_val.isOk()) { in OemPostWipeData()
249 auto ret_val = fastboot_hal->doOemCommand(args[0], [&](Result result) { ret = result; }); in OemCmdHandler() local
250 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)