Searched refs:timeNs (Results 1 – 11 of 11) 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/chre/chpp/services/ |
D | timesync.c | 54 response->timeNs = chppGetCurrentTimeNs(); in chppTimesyncGetTime() 57 responseLen, response->timeNs / CHPP_NSEC_PER_MSEC); in chppTimesyncGetTime()
|
/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 | 1245 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/ |
D | timesync.h | 37 uint64_t timeNs; member
|
/system/chre/host/common/ |
D | log_message_parser_base.cc | 104 uint64_t timeNs = le64toh(message->timestampNanos); in log() local 105 emitLogMessage(message->logLevel, timeNs / kOneMillisecondInNanoseconds, in log()
|
/system/chre/platform/shared/ |
D | log_buffer_manager.cc | 112 uint64_t timeNs = SystemTime::getMonotonicTime().toRawNanoseconds(); in logVa() local 114 static_cast<uint32_t>(timeNs / kOneMillisecondInNanoseconds); in logVa()
|
/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/pal/util/ |
D | wifi_scan_cache.c | 82 uint64_t timeNs = gWifiCacheState.event.referenceTime; in paramsMatchScanCache() local 84 (timeNs >= gSystemApi->getCurrentTime() - in paramsMatchScanCache()
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 104 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/ |
D | timesync.c | 113 (int64_t)(response->timeNs - in chppDispatchTimesyncServiceResponse()
|