Home
last modified time | relevance | path

Searched refs:time_to_expire (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/shill/
Dconnection_info_reader_unittest.cc193 int64_t time_to_expire = 0; in TEST_F() local
195 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("", &time_to_expire)); in TEST_F()
196 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("a", &time_to_expire)); in TEST_F()
197 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("-1", &time_to_expire)); in TEST_F()
199 EXPECT_TRUE(reader_.ParseTimeToExpireSeconds("100", &time_to_expire)); in TEST_F()
200 EXPECT_EQ(100, time_to_expire); in TEST_F()
/system/bt/osi/src/
Dalarm.c547 struct itimerspec time_to_expire; in reschedule_root_alarm() local
548 timer_gettime(timer, &time_to_expire); in reschedule_root_alarm()
549 if (time_to_expire.it_value.tv_sec == 0 && in reschedule_root_alarm()
550 time_to_expire.it_value.tv_nsec == 0) { in reschedule_root_alarm()