Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 25 of 26) sorted by relevance

12

/hardware/st/secure_element/ese-spi-driver/
DSpiLayerDriver.cc111 struct timeval currentTime; in SpiLayerDriver_read() local
112 gettimeofday(&currentTime, 0); in SpiLayerDriver_read()
113 STLOG_HAL_V(" Now: %ld,%ld", currentTime.tv_sec, currentTime.tv_usec); in SpiLayerDriver_read()
115 int elapsedTimeUs = Utils_getElapsedTimeInUs(lastRxTxTime, currentTime); in SpiLayerDriver_read()
121 gettimeofday(&currentTime, 0); in SpiLayerDriver_read()
122 STLOG_HAL_V("Start RX: %ld,%ld", currentTime.tv_sec, currentTime.tv_usec); in SpiLayerDriver_read()
180 struct timeval currentTime; in SpiLayerDriver_write() local
181 gettimeofday(&currentTime, 0); in SpiLayerDriver_write()
183 int elapsedTimeUs = Utils_getElapsedTimeInUs(lastRxTxTime, currentTime); in SpiLayerDriver_write()
189 gettimeofday(&currentTime, 0); in SpiLayerDriver_write()
[all …]
DSpiLayerComm.cc67 struct timeval currentTime; in SpiLayerComm_waitForAtpLength() local
74 gettimeofday(&currentTime, 0); in SpiLayerComm_waitForAtpLength()
75 elapsedTimeInMs = Utils_getElapsedTimeInMs(startTime, currentTime); in SpiLayerComm_waitForAtpLength()
236 struct timeval currentTime; in SpiLayerComm_waitForResponse() local
270 gettimeofday(&currentTime, 0); in SpiLayerComm_waitForResponse()
272 Utils_getElapsedTimeInMs(startTime, currentTime); in SpiLayerComm_waitForResponse()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DUtils.cc91 struct timeval currentTime; in Utils_printCurrentTime() local
92 gettimeofday(&currentTime, 0); in Utils_printCurrentTime()
93 STLOG_HAL_V("SpiTiming: %s: %ld,%ld", prefix, currentTime.tv_sec, in Utils_printCurrentTime()
94 currentTime.tv_usec); in Utils_printCurrentTime()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/src/
DGeneratorHub.cpp96 long currentTime = elapsedRealtimeNano(); in run() local
98 curEvent.val.timestamp > currentTime ? curEvent.val.timestamp - currentTime : 0; in run()
/hardware/qcom/sm7150/gps/android/2.0/location_api/
DLocationUtil.cpp84 bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos) in getCurrentTime() argument
97 if (clock_gettime(CLOCK_REALTIME, &currentTime) != 0) { in getCurrentTime()
127 struct timespec currentTime; in convertGnssLocation() local
130 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in convertGnssLocation()
131 int64_t currentTimeNanos = currentTime.tv_sec*1000000000 + currentTime.tv_nsec; in convertGnssLocation()
DLocationUtil.h52 bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
DMeasurementAPIClient.cpp421 struct timespec currentTime; in convertGnssData_2_0() local
424 if (getCurrentTime(currentTime, sinceBootTimeNanos) && in convertGnssData_2_0()
429 int64_t currentTimeNanos = currentTime.tv_sec * 1000000000 + currentTime.tv_nsec; in convertGnssData_2_0()
/hardware/libhardware/modules/input/evdev/
DInputDevice.cpp228 void EvdevDevice::processInput(InputEvent& event, nsecs_t currentTime) { in processInput() argument
255 if (event.when >= currentTime + s2ns(10)) { in processInput()
263 mDeviceNode->getPath().c_str(), event.when, time, currentTime); in processInput()
268 ", call time %" PRId64 ".", event.when, time, currentTime); in processInput()
DInputDevice.h45 virtual void processInput(InputEvent& event, nsecs_t currentTime) = 0;
61 virtual void processInput(InputEvent& event, nsecs_t currentTime) override;
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DPendingRequestPool.cpp108 int64_t currentTime = elapsedRealtimeNano(); in addRequests() local
109 int64_t timeoutTimestamp = currentTime + mTimeoutInNano; in addRequests()
173 int64_t currentTime = elapsedRealtimeNano(); in checkTimeout() local
180 if (it->timeoutTimestamp >= currentTime) { in checkTimeout()
/hardware/qcom/sm8150p/gps/android/2.0/location_api/
DLocationUtil.cpp90 struct timespec currentTime; in convertGnssLocation() local
92 0 == clock_gettime(CLOCK_REALTIME,&currentTime)) { in convertGnssLocation()
95 int64_t currentTimeNanos = currentTime.tv_sec*1000000000 + currentTime.tv_nsec; in convertGnssLocation()
/hardware/nxp/nfc/snxxx/halimpl/power-tracker/src/
DphNxpNciHal_PowerTracker.cc224 struct timespec currentTime = {.tv_sec = 0, .tv_nsec = 0}; in phNxpNciHal_syncPowerTrackerData() local
241 if (clock_gettime(CLOCK_MONOTONIC, &currentTime) == -1) { in phNxpNciHal_syncPowerTrackerData()
251 uint64_t totalTimeMs = TIME_MS(currentTime) - TIME_MS(gContext.lastSyncTime); in phNxpNciHal_syncPowerTrackerData()
269 gContext.lastSyncTime = currentTime; in phNxpNciHal_syncPowerTrackerData()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DAndroidHealthMonitor.cpp117 struct timeval currentTime; in main() local
118 gettimeofday(&currentTime, 0); in main()
122 currentTime.tv_sec * 1000000LL + currentTime.tv_usec + in main()
/hardware/qcom/sm7250/gps/core/
DLocApiBase.cpp952 struct timespec currentTime; in open() local
954 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in open()
959 int64_t currentTimeNanos = (int64_t)currentTime.tv_sec*1000000000 + currentTime.tv_nsec; in open()
993 struct timespec currentTime; in getElapsedRealtimeQtimer() local
997 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in getElapsedRealtimeQtimer()
1032 struct timespec& currentTime, int64_t& sinceBootTimeNanos) in getCurrentTime() argument
1045 if (clock_gettime(CLOCK_REALTIME, &currentTime) != 0) { in getCurrentTime()
DLocApiBase.h368 static bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
/hardware/qcom/sm8150/gps/core/
DLocApiBase.cpp952 struct timespec currentTime; in open() local
954 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in open()
959 int64_t currentTimeNanos = (int64_t)currentTime.tv_sec*1000000000 + currentTime.tv_nsec; in open()
993 struct timespec currentTime; in getElapsedRealtimeQtimer() local
997 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in getElapsedRealtimeQtimer()
1032 struct timespec& currentTime, int64_t& sinceBootTimeNanos) in getCurrentTime() argument
1045 if (clock_gettime(CLOCK_REALTIME, &currentTime) != 0) { in getCurrentTime()
DLocApiBase.h368 static bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/test/
DFakeVehicleHalValueGeneratorsTest.cpp275 int64_t currentTime = elapsedRealtimeNano(); in TEST_F() local
312 int64_t lastEventTime = currentTime; in TEST_F()
331 int64_t currentTime = elapsedRealtimeNano(); in TEST_F() local
373 int64_t lastEventTime = currentTime; in TEST_F()
/hardware/google/pixel/usb/
DCommonUtils.cpp203 void BuildVendorUsbDataSessionEvent(bool is_host, boot_clock::time_point currentTime, in BuildVendorUsbDataSessionEvent() argument
225 std::chrono::duration_cast<std::chrono::milliseconds>(currentTime - startTime).count()); in BuildVendorUsbDataSessionEvent()
/hardware/google/pixel/usb/include/pixelusb/
DCommonUtils.h77 void BuildVendorUsbDataSessionEvent(bool is_host, boot_clock::time_point currentTime,
/hardware/google/gfxstream/common/opengl/include/EGL/
DPlatform.h260 OP(currentTime, CurrentTime) \
/hardware/google/graphics/common/libhwc2.1/libdevice/
DBrightnessController.cpp1012 auto currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in checkSysfsStatus() local
1014 auto remainTimeNs = timeoutNs - (currentTime - startTime); in checkSysfsStatus()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h1904 auto currentTime = toMicroSec(currentTS.tv_sec, currentTS.tv_nsec); in TEST_P() local
1906 ASSERT_PRED2([](auto c, auto m) { return c - m < 1e+6; }, currentTime, measureTime); in TEST_P()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DDefaultVehicleHalTest.cpp1784 int64_t currentTime = uptimeMillis(); in TEST_F() local
1798 ASSERT_GE(gotValue.value.int64Values[0], currentTime) in TEST_F()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp1275 uint64_t currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in getVsyncAppliedTime() local
1276 *actualChangeTime = currentTime + in getVsyncAppliedTime()

12