Searched refs:offsetNs (Results 1 – 3 of 3) sorted by relevance
85 context->timesyncClientContext->timesyncResult.offsetNs = 0; in chppTimesyncClientReset()112 int64_t offsetNs = in chppDispatchTimesyncServiceResponse() local116 offsetNs - context->timesyncClientContext->timesyncResult.offsetNs; in chppDispatchTimesyncServiceResponse()119 if (context->timesyncClientContext->timesyncResult.offsetNs != 0) { in chppDispatchTimesyncServiceResponse()126 context->timesyncClientContext->timesyncResult.offsetNs += in chppDispatchTimesyncServiceResponse()147 offsetNs / (int64_t)CHPP_NSEC_PER_MSEC, in chppDispatchTimesyncServiceResponse()190 (context->timesyncClientContext->timesyncResult.offsetNs == 0); in chppTimesyncGetOffset()201 context->timesyncClientContext->timesyncResult.offsetNs / in chppTimesyncGetOffset()205 return context->timesyncClientContext->timesyncResult.offsetNs; in chppTimesyncGetOffset()
156 EXPECT_LT(chppTimesyncGetResult(&mClientAppContext)->offsetNs, kMaxOffset); in TEST_F()157 EXPECT_GT(chppTimesyncGetResult(&mClientAppContext)->offsetNs, -kMaxOffset); in TEST_F()158 EXPECT_NE(chppTimesyncGetResult(&mClientAppContext)->offsetNs, 0); in TEST_F()
52 int64_t offsetNs; // Time offset of service (service - client) member