Home
last modified time | relevance | path

Searched refs:time_left (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/
Dipconfig_unittest.cc282 uint32_t time_left = 0; in TEST_F() local
286 EXPECT_FALSE(ipconfig_->TimeToLeaseExpiry(&time_left)); in TEST_F()
287 EXPECT_EQ(0, time_left); in TEST_F()
293 uint32_t time_left = 0; in TEST_F() local
301 EXPECT_FALSE(ipconfig_->TimeToLeaseExpiry(&time_left)); in TEST_F()
302 EXPECT_EQ(0, time_left); in TEST_F()
308 uint32_t time_left; in TEST_F() local
315 EXPECT_TRUE(ipconfig_->TimeToLeaseExpiry(&time_left)); in TEST_F()
316 EXPECT_EQ(expected_time_to_expiry, time_left); in TEST_F()
Dipconfig.cc161 bool IPConfig::TimeToLeaseExpiry(uint32_t* time_left) { in TimeToLeaseExpiry() argument
172 *time_left = current_lease_expiration_time_.tv_sec - now.tv_sec; in TimeToLeaseExpiry()
Dipconfig.h200 bool TimeToLeaseExpiry(uint32_t* time_left);