Searched refs:timeNs (Results 1 – 5 of 5) sorted by relevance
/system/media/audio_utils/include/audio_utils/ |
D | TimestampVerifier.h | 46 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/tools/hidl/test/hidl_test/ |
D | FooCallback.cpp | 25 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()
|
D | hidl_test_client.cpp | 1257 EXPECT_LE(invokeResults[0].timeNs, invokeResults[0].callerBlockedNs); in TEST_F() 1261 EXPECT_LE(invokeResults[1].timeNs, invokeResults[1].callerBlockedNs); in TEST_F() 1267 EXPECT_LE(invokeResults[2].timeNs, DELAY_NS + TOLERANCE_NS); in TEST_F()
|
/system/media/audio_utils/tests/ |
D | timestampverifier_tests.cpp | 64 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/ |
D | see_helper.cc | 103 uint64_t timeNs; member 881 header->baseTimestamp = data->timeNs; in populateEventSample() 884 uint64_t delta = data->timeNs - data->prevTimeNs; in populateEventSample() 888 data->prevTimeNs, data->timeNs); in populateEventSample() 893 data->prevTimeNs = data->timeNs; in populateEventSample() 1060 hasMatrix, matrix.val, accuracy, info->data->timeNs); in decodeSnsCalEvent() 1278 uint64_t *timeNs) { in decodeMsgIdAndTime() argument 1287 *timeNs = getNanosecondsFromQTimerTicks(event.timestamp); in decodeMsgIdAndTime() 1301 bool success = decodeMsgIdAndTime(stream, &info->msgId, &info->data->timeNs); in decodeSnsClientEventMsg()
|