Home
last modified time | relevance | path

Searched refs:responseTimeNs (Results 1 – 6 of 6) sorted by relevance

/system/chre/chpp/
Dservices.c155 if (rRState->responseTimeNs == CHPP_TIME_NONE && in chppServiceTimestampRequest()
161 rRState->responseTimeNs = CHPP_TIME_NONE; in chppServiceTimestampRequest()
167 uint64_t previousResponseTime = rRState->responseTimeNs; in chppServiceTimestampResponse()
168 rRState->responseTimeNs = chppGetCurrentTimeNs(); in chppServiceTimestampResponse()
179 rRState->responseTimeNs / CHPP_NSEC_PER_MSEC); in chppSendTimestampedResponseOrFail()
183 rRState->responseTimeNs / CHPP_NSEC_PER_MSEC, in chppSendTimestampedResponseOrFail()
189 rRState->responseTimeNs / CHPP_NSEC_PER_MSEC, in chppSendTimestampedResponseOrFail()
191 (rRState->responseTimeNs - rRState->requestTimeNs) / in chppSendTimestampedResponseOrFail()
Dclients.c319 rRState->responseTimeNs = CHPP_TIME_MAX; in chppClientTimestampRequest()
328 rRState->responseTimeNs = CHPP_TIME_MAX; in chppClientTimestampRequest()
331 rRState->responseTimeNs = timeoutNs + rRState->requestTimeNs; in chppClientTimestampRequest()
334 clientState->appContext->nextRequestTimeoutNs, rRState->responseTimeNs); in chppClientTimestampRequest()
340 rRState->responseTimeNs / CHPP_NSEC_PER_MSEC, in chppClientTimestampRequest()
379 rRState->requestState = (responseTime > rRState->responseTimeNs) in chppClientTimestampResponse()
389 rRState->responseTimeNs / CHPP_NSEC_PER_MSEC, in chppClientTimestampResponse()
391 (responseTime > rRState->responseTimeNs) ? "yes" : "no"); in chppClientTimestampResponse()
402 if (rRState->responseTimeNs == in chppClientTimestampResponse()
407 rRState->responseTimeNs = responseTime; in chppClientTimestampResponse()
[all …]
Dtransport.c1301 rRState->responseTimeNs != CHPP_TIME_NONE && in chppTransportGetClientRequestTimeoutResponse()
1302 rRState->responseTimeNs < lowestTimeout) { in chppTransportGetClientRequestTimeoutResponse()
1303 lowestTimeout = rRState->responseTimeNs; in chppTransportGetClientRequestTimeoutResponse()
/system/chre/chpp/clients/
Dtimesync.c109 state->timesyncResult.rttNs = state->measureOffset.responseTimeNs - in chppDispatchTimesyncServiceResponse()
112 (int64_t)(response->timeNs - state->measureOffset.responseTimeNs); in chppDispatchTimesyncServiceResponse()
129 state->measureOffset.responseTimeNs / CHPP_NSEC_PER_MSEC); in chppDispatchTimesyncServiceResponse()
132 state->measureOffset.responseTimeNs; in chppDispatchTimesyncServiceResponse()
Dloopback.c101 result->rttNs = state->runLoopbackTest.responseTimeNs - in chppDispatchLoopbackServiceResponse()
169 state->runLoopbackTest.responseTimeNs = CHPP_TIME_NONE; in chppRunLoopbackTest()
/system/chre/chpp/include/chpp/
Dapp.h344 responseTimeNs; // If requestState is CHPP_REQUEST_STATE_REQUEST_SENT, member