Home
last modified time | relevance | path

Searched refs:timeNs (Results 1 – 5 of 5) 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()
86 mFirstTimestamp = {frames, timeNs}; in add()
91 const FrameTime timestamp{frames, timeNs}; in add()
115 mTimestampEstimator.add({(double)timeNs * 1e-9, (double)frames}); in add()
129 const F newFrames = mTimestampEstimator.getYFromX((double)timeNs * 1e-9); in add()
/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.cpp1270 EXPECT_LE(invokeResults[0].timeNs, invokeResults[0].callerBlockedNs); in TEST_F()
1274 EXPECT_LE(invokeResults[1].timeNs, invokeResults[1].callerBlockedNs); in TEST_F()
1280 EXPECT_LE(invokeResults[2].timeNs, DELAY_NS + TOLERANCE_NS); in TEST_F()
/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/platform/slpi/see/
Dsee_helper.cc99 uint64_t timeNs; member
877 header->baseTimestamp = data->timeNs; in populateEventSample()
880 uint64_t delta = data->timeNs - data->prevTimeNs; in populateEventSample()
884 data->prevTimeNs, data->timeNs); in populateEventSample()
889 data->prevTimeNs = data->timeNs; in populateEventSample()
1056 hasMatrix, matrix.val, accuracy, info->data->timeNs); in decodeSnsCalEvent()
1239 uint64_t *timeNs) { in decodeMsgIdAndTime() argument
1248 *timeNs = getNanosecondsFromQTimerTicks(event.timestamp); in decodeMsgIdAndTime()
1262 bool success = decodeMsgIdAndTime(stream, &info->msgId, &info->data->timeNs); in decodeSnsClientEventMsg()