Home
last modified time | relevance | path

Searched refs:CHPP_NSEC_PER_MSEC (Results 1 – 11 of 11) sorted by relevance

/system/chre/chpp/clients/
Dtimesync.c127 offsetChangeNs / (int64_t)CHPP_NSEC_PER_MSEC, in chppDispatchTimesyncServiceResponse()
128 clippedOffsetChangeNs / (int64_t)CHPP_NSEC_PER_MSEC, in chppDispatchTimesyncServiceResponse()
129 state->measureOffset.responseTimeNs / CHPP_NSEC_PER_MSEC); in chppDispatchTimesyncServiceResponse()
139 state->timesyncResult.rttNs / CHPP_NSEC_PER_MSEC, in chppDispatchTimesyncServiceResponse()
140 clippedOffsetChangeNs / (int64_t)CHPP_NSEC_PER_MSEC, in chppDispatchTimesyncServiceResponse()
141 offsetNs / (int64_t)CHPP_NSEC_PER_MSEC, in chppDispatchTimesyncServiceResponse()
142 state->timesyncResult.measurementTimeNs / CHPP_NSEC_PER_MSEC); in chppDispatchTimesyncServiceResponse()
151 chppGetCurrentTimeNs() / CHPP_NSEC_PER_MSEC); in chppTimesyncMeasureOffset()
194 chppGetCurrentTimeNs() / CHPP_NSEC_PER_MSEC, in chppTimesyncGetOffset()
195 state->timesyncResult.offsetNs / (int64_t)CHPP_NSEC_PER_MSEC); in chppTimesyncGetOffset()
Dwifi.c647 correctedTime / CHPP_NSEC_PER_MSEC, in chppWifiScanEventNotification()
648 currentTime / CHPP_NSEC_PER_MSEC); in chppWifiScanEventNotification()
652 chre->referenceTime / CHPP_NSEC_PER_MSEC, in chppWifiScanEventNotification()
653 correctedTime / CHPP_NSEC_PER_MSEC); in chppWifiScanEventNotification()
695 results[i].timestamp / CHPP_NSEC_PER_MSEC, in chppWifiRangingEventNotification()
696 correctedTime / CHPP_NSEC_PER_MSEC); in chppWifiRangingEventNotification()
Ddiscovery.c270 timeoutMs * CHPP_NSEC_PER_MSEC); in chppWaitForDiscoveryComplete()
/system/chre/chpp/
Dapp.c870 inReqState->requestTimeNs / CHPP_NSEC_PER_MSEC); in chppTimestampIncomingRequest()
899 outReqState->requestTimeNs / CHPP_NSEC_PER_MSEC); in chppTimestampOutgoingRequest()
928 outReqState->requestTimeNs / CHPP_NSEC_PER_MSEC, in chppTimestampOutgoingRequest()
929 outReqState->responseTimeNs / CHPP_NSEC_PER_MSEC, in chppTimestampOutgoingRequest()
930 timeoutNs / CHPP_NSEC_PER_MSEC, in chppTimestampOutgoingRequest()
931 *nextRequestTimeoutNs / CHPP_NSEC_PER_MSEC); in chppTimestampOutgoingRequest()
952 responseTime / CHPP_NSEC_PER_MSEC); in chppTimestampIncomingResponse()
958 responseTime / CHPP_NSEC_PER_MSEC, in chppTimestampIncomingResponse()
959 outReqState->requestTimeNs / CHPP_NSEC_PER_MSEC); in chppTimestampIncomingResponse()
965 responseTime / CHPP_NSEC_PER_MSEC, in chppTimestampIncomingResponse()
[all …]
Dtransport.c591 context->rxStatus.lastGoodPacketTimeMs = (uint32_t)(now / CHPP_NSEC_PER_MSEC); in chppProcessRxPacket()
1352 *getNextRequestTimeoutNs(appState, type) / CHPP_NSEC_PER_MSEC); in chppTransportGetRequestTimeoutResponse()
1460 timeoutMs * CHPP_NSEC_PER_MSEC); in chppTransportWaitForResetComplete()
1483 context->rxStatus.lastDataTimeMs = (uint32_t)(now / CHPP_NSEC_PER_MSEC); in chppRxDataCb()
1608 currentTime / CHPP_NSEC_PER_MSEC); in chppTransportGetTimeUntilNextDoWorkNs()
1613 nextDoWorkTime / CHPP_NSEC_PER_MSEC, in chppTransportGetTimeUntilNextDoWorkNs()
1614 currentTime / CHPP_NSEC_PER_MSEC, in chppTransportGetTimeUntilNextDoWorkNs()
1616 (int64_t)CHPP_NSEC_PER_MSEC); in chppTransportGetTimeUntilNextDoWorkNs()
1695 context->txStatus.lastTxTimeNs / CHPP_NSEC_PER_MSEC); in chppWorkHandleTimeout()
/system/chre/chpp/test/
Dapp_timeout_test.cpp120 constexpr uint64_t kJitterNs = 10 * CHPP_NSEC_PER_MSEC; in validateTimeout()
379 constexpr uint64_t kTimeoutNs = 1000 * CHPP_NSEC_PER_MSEC; in TEST_P()
404 constexpr uint64_t kTimeout1Ns = 2000 * CHPP_NSEC_PER_MSEC; in TEST_P()
409 constexpr uint64_t kTimeout2Ns = 4000 * CHPP_NSEC_PER_MSEC; in TEST_P()
414 constexpr uint64_t kTimeout3Ns = 3000 * CHPP_NSEC_PER_MSEC; in TEST_P()
425 constexpr uint64_t kTimeout4Ns = 1000 * CHPP_NSEC_PER_MSEC; in TEST_P()
452 constexpr uint64_t kTimeout1Ns = 20 * CHPP_NSEC_PER_MSEC; in TEST_P()
458 constexpr uint64_t kTimeout2Ns = 400 * CHPP_NSEC_PER_MSEC; in TEST_P()
495 constexpr uint64_t kTimeout1Ns = 200 * CHPP_NSEC_PER_MSEC; in TEST_P()
513 constexpr uint64_t kTimeout2Ns = 200 * CHPP_NSEC_PER_MSEC; in TEST_P()
Dapp_test.cpp146 constexpr uint64_t kMaxRttNs = 20 * CHPP_NSEC_PER_MSEC; in TEST_F()
/system/chre/chpp/include/chpp/
Dtransport.h46 (UINT64_C(1500) * CHPP_NSEC_PER_MSEC) // 1500 ms
54 (UINT64_C(100) * CHPP_NSEC_PER_MSEC) // 100 ms
62 (UINT64_C(80) * CHPP_NSEC_PER_MSEC) // 80 ms
Dmacros.h118 #define CHPP_NSEC_PER_MSEC (CHPP_NSEC_PER_USEC * CHPP_USEC_PER_MSEC) macro
/system/chre/chpp/include/chpp/clients/
Dtimesync.h37 #define CHPP_CLIENT_TIMESYNC_MAX_CHANGE_NS (100 * CHPP_NSEC_PER_MSEC)
/system/chre/chpp/services/
Dtimesync.c52 responseLen, response->timeNs / CHPP_NSEC_PER_MSEC); in chppTimesyncGetTime()