Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/cros/
Dretry.py199 remaining_time = timeout_min * 60
213 while remaining_time > 0:
224 remaining_time)
238 remaining_time = int(timeout_min * 60 -
241 if remaining_time > 0 and callback:
243 remaining_time = int(timeout_min * 60 -
Darc_util.py173 remaining_time = end_time - time.time()
174 if remaining_time <= 0:
176 rlist, _, _ = select.select([pipe], [], [], remaining_time)
/external/autotest/client/site_tests/power_BatteryCharge/
Dpower_BatteryCharge.py51 self.remaining_time = self.max_run_time = max_run_time
88 while self.remaining_time and current_charge < target_charge:
89 if time_to_sleep > self.remaining_time:
90 time_to_sleep = self.remaining_time
91 self.remaining_time -= time_to_sleep
119 keyvals['s_time_taken'] = self.max_run_time - self.remaining_time
/external/dnsmasq/src/
Dhelper.c39 unsigned int remaining_time; member
216 sprintf(daemon->dhcp_buff2, "%u ", data.remaining_time); in create_helper()
315 buf->remaining_time = (unsigned int) difftime(lease->expires, now); in queue_script()
/external/iputils/
Drdisc.c1303 int remaining_time; member
1350 tp->remaining_time -= time; in age_table()
1351 if (tp->remaining_time <= 0) { in age_table()
1418 tp->remaining_time = ttl; in record_router()
1429 tp->remaining_time = ttl; in record_router()
/external/autotest/client/cros/power/
Dpower_status.py364 self.remaining_time = 0
366 self.remaining_time = self.energy / self.energy_rate