Home
last modified time | relevance | path

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

/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h46 constexpr TimestampVerifier(const F (&frames)[N], const T (&timeNs)[N], uint32_t sampleRate) { in TimestampVerifier()
48 add(frames[i], timeNs[i], sampleRate); in TimestampVerifier()
60 constexpr void add(F frames, T timeNs, uint32_t sampleRate) { in add() argument
63 if (timeNs < 0) { in add()
69 if (mLastTimestamp.mFrames == frames && mLastTimestamp.mTimeNs == timeNs in add()
93 mFirstTimestamp = {frames, timeNs}; in add()
99 const FrameTime timestamp{frames, timeNs}; in add()
124 mTimestampEstimator.add({(double)timeNs * 1e-9, (double)frames}); in add()
138 const F newFrames = mTimestampEstimator.getYFromX((double)timeNs * 1e-9); in add()
/system/chre/chpp/services/
Dtimesync.c54 response->timeNs = chppGetCurrentTimeNs(); in chppTimesyncGetTime()
57 responseLen, response->timeNs / CHPP_NSEC_PER_MSEC); in chppTimesyncGetTime()
/system/tools/hidl/test/hidl_test/
DFooCallback.cpp25 invokeInfo[i].timeNs = NOT_REPORTED;
38 invokeInfo[0].timeNs = end - start; in heyItsYou()
54 invokeInfo[1].timeNs = end - start; in heyItsYouIsntIt()
70 invokeInfo[2].timeNs = end - start; in heyItsTheMeaningOfLife()
Dhidl_test_client.cpp1245 EXPECT_LE(invokeResults[0].timeNs, invokeResults[0].callerBlockedNs); in TEST_F()
1249 EXPECT_LE(invokeResults[1].timeNs, invokeResults[1].callerBlockedNs); in TEST_F()
1255 EXPECT_LE(invokeResults[2].timeNs, DELAY_NS + TOLERANCE_NS); in TEST_F()
/system/chre/chpp/include/chpp/common/
Dtimesync.h37 uint64_t timeNs; member
/system/chre/host/common/
Dlog_message_parser_base.cc104 uint64_t timeNs = le64toh(message->timestampNanos); in log() local
105 emitLogMessage(message->logLevel, timeNs / kOneMillisecondInNanoseconds, in log()
/system/chre/platform/shared/
Dlog_buffer_manager.cc112 uint64_t timeNs = SystemTime::getMonotonicTime().toRawNanoseconds(); in logVa() local
114 static_cast<uint32_t>(timeNs / kOneMillisecondInNanoseconds); in logVa()
/system/media/audio_utils/tests/
Dtimestampverifier_tests.cpp64 constexpr int64_t timeNs[] { 0, 1000000000 }; in TEST() local
65 constexpr android::TimestampVerifier<int64_t, int64_t> tv2(frames, timeNs, 48000); in TEST()
/system/chre/pal/util/
Dwifi_scan_cache.c82 uint64_t timeNs = gWifiCacheState.event.referenceTime; in paramsMatchScanCache() local
84 (timeNs >= gSystemApi->getCurrentTime() - in paramsMatchScanCache()
/system/chre/platform/slpi/see/
Dsee_helper.cc104 uint64_t timeNs; member
897 header->baseTimestamp = data->timeNs; in populateEventSample()
900 uint64_t delta = data->timeNs - data->prevTimeNs; in populateEventSample()
905 data->timeNs); in populateEventSample()
910 data->prevTimeNs = data->timeNs; in populateEventSample()
1078 info->data->timeNs); in decodeSnsCalEvent()
1297 uint64_t *timeNs) { in decodeMsgIdAndTime() argument
1306 *timeNs = getNanosecondsFromQTimerTicks(event.timestamp); in decodeMsgIdAndTime()
1320 bool success = decodeMsgIdAndTime(stream, &info->msgId, &info->data->timeNs); in decodeSnsClientEventMsg()
/system/chre/chpp/clients/
Dtimesync.c113 (int64_t)(response->timeNs - in chppDispatchTimesyncServiceResponse()