Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/power_BatteryCharge/
Dpower_BatteryCharge.py50 self.remaining_time = self.max_run_time = max_run_time
87 while self.remaining_time and current_charge < target_charge:
88 if time_to_sleep > self.remaining_time:
89 time_to_sleep = self.remaining_time
90 self.remaining_time -= time_to_sleep
118 keyvals['s_time_taken'] = self.max_run_time - self.remaining_time
/external/autotest/client/common_lib/cros/
Dretry.py195 remaining_time = timeout_min * 60
208 while remaining_time > 0:
218 remaining_time)
232 remaining_time = int(timeout_min * 60 -
235 if remaining_time > 0 and callback:
237 remaining_time = int(timeout_min * 60 -
Darc_util.py115 remaining_time = end_time - time.time()
116 if remaining_time <= 0:
118 rlist, _, _ = select.select([pipe], [], [], remaining_time)
/external/dnsmasq/src/
Dhelper.c40 unsigned int remaining_time; member
249 sprintf(daemon->dhcp_buff2, "%u ", data.remaining_time); in create_helper()
368 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/site_tests/power_Idle/
Dpower_Idle.py86 keyvals['h_remaining_time'] = self.status.battery[0].remaining_time
/external/autotest/client/cros/
Dpower_status.py341 self.remaining_time = 0
343 self.remaining_time = self.energy / self.energy_rate