Home
last modified time | relevance | path

Searched refs:chppGetCurrentTimeNs (Results 1 – 10 of 10) sorted by relevance

/system/chre/chpp/test/
Dapp_timeout_test.cpp378 const uint64_t timeNs = chppGetCurrentTimeNs(); in TEST_P()
403 const uint64_t time1Ns = chppGetCurrentTimeNs(); in TEST_P()
408 const uint64_t time2Ns = chppGetCurrentTimeNs(); in TEST_P()
413 const uint64_t time3Ns = chppGetCurrentTimeNs(); in TEST_P()
424 const uint64_t time4Ns = chppGetCurrentTimeNs(); in TEST_P()
453 const uint64_t kShouldTimeout1AtNs = chppGetCurrentTimeNs() + kTimeout1Ns; in TEST_P()
459 const uint64_t kShouldTimeout2AtNs = chppGetCurrentTimeNs() + kTimeout2Ns; in TEST_P()
464 std::chrono::nanoseconds(kShouldTimeout1AtNs - chppGetCurrentTimeNs()) + in TEST_P()
467 EXPECT_GT(GetNextRequestTimeoutNs(), chppGetCurrentTimeNs()); in TEST_P()
470 std::chrono::nanoseconds(kShouldTimeout2AtNs - chppGetCurrentTimeNs()) + in TEST_P()
[all …]
/system/chre/chpp/include/chpp/
Dtime.h37 static uint64_t chppGetCurrentTimeNs(void);
/system/chre/chpp/clients/
Dtimesync.c151 chppGetCurrentTimeNs() / CHPP_NSEC_PER_MSEC); in chppTimesyncMeasureOffset()
187 chppGetCurrentTimeNs() - state->timesyncResult.measurementTimeNs > in chppTimesyncGetOffset()
194 chppGetCurrentTimeNs() / CHPP_NSEC_PER_MSEC, in chppTimesyncGetOffset()
Dwifi.c644 uint64_t currentTime = chppGetCurrentTimeNs(); in chppWifiScanEventNotification()
/system/chre/chpp/platform/linux/include/chpp/platform/
Dplatform_time.h31 static inline uint64_t chppGetCurrentTimeNs(void) { in chppGetCurrentTimeNs() function
Dplatform_log.h43 uint64_t ms = chppGetCurrentTimeNs() / 1000000; \
/system/chre/chpp/services/
Dtimesync.c49 response->timeNs = chppGetCurrentTimeNs(); in chppTimesyncGetTime()
/system/chre/chpp/platform/
Dpal_api.c36 return chppGetCurrentTimeNs(); in palSystemApiGetCurrentTime()
/system/chre/chpp/
Dtransport.c180 context->rxStatus.packetStartTimeNs = chppGetCurrentTimeNs(); in chppConsumePreamble()
590 uint64_t now = chppGetCurrentTimeNs(); in chppProcessRxPacket()
1218 context->txStatus.lastTxTimeNs = chppGetCurrentTimeNs(); in chppSendPendingPacket()
1324 if (*getNextRequestTimeoutNs(appState, type) <= chppGetCurrentTimeNs()) { in chppTransportGetRequestTimeoutResponse()
1473 chppGetCurrentTimeNs() > in chppRxDataCb()
1482 uint64_t now = chppGetCurrentTimeNs(); in chppRxDataCb()
1589 uint64_t currentTime = chppGetCurrentTimeNs(); in chppTransportGetTimeUntilNextDoWorkNs()
1688 const uint64_t currentTimeNs = chppGetCurrentTimeNs(); in chppWorkHandleTimeout()
1857 context->resetTimeNs = chppGetCurrentTimeNs(); in chppTransportSendReset()
Dapp.c872 inReqState->requestTimeNs = chppGetCurrentTimeNs(); in chppTimestampIncomingRequest()
906 outReqState->requestTimeNs = chppGetCurrentTimeNs(); in chppTimestampOutgoingRequest()
947 uint64_t responseTime = chppGetCurrentTimeNs(); in chppTimestampIncomingResponse()
1021 inReqState->responseTimeNs = chppGetCurrentTimeNs(); in chppTimestampOutgoingResponse()