/hardware/st/secure_element/ese-spi-driver/ |
D | SpiLayerDriver.cc | 111 struct timeval currentTime; in SpiLayerDriver_read() local 112 gettimeofday(¤tTime, 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(¤tTime, 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(¤tTime, 0); in SpiLayerDriver_write() 183 int elapsedTimeUs = Utils_getElapsedTimeInUs(lastRxTxTime, currentTime); in SpiLayerDriver_write() 189 gettimeofday(¤tTime, 0); in SpiLayerDriver_write() [all …]
|
D | SpiLayerComm.cc | 67 struct timeval currentTime; in SpiLayerComm_waitForAtpLength() local 74 gettimeofday(¤tTime, 0); in SpiLayerComm_waitForAtpLength() 75 elapsedTimeInMs = Utils_getElapsedTimeInMs(startTime, currentTime); in SpiLayerComm_waitForAtpLength() 236 struct timeval currentTime; in SpiLayerComm_waitForResponse() local 270 gettimeofday(¤tTime, 0); in SpiLayerComm_waitForResponse() 272 Utils_getElapsedTimeInMs(startTime, currentTime); in SpiLayerComm_waitForResponse()
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | Utils.cc | 91 struct timeval currentTime; in Utils_printCurrentTime() local 92 gettimeofday(¤tTime, 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/ |
D | GeneratorHub.cpp | 96 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/ |
D | LocationUtil.cpp | 84 bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos) in getCurrentTime() argument 97 if (clock_gettime(CLOCK_REALTIME, ¤tTime) != 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()
|
D | LocationUtil.h | 52 bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
|
D | MeasurementAPIClient.cpp | 421 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/ |
D | InputDevice.cpp | 228 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()
|
D | InputDevice.h | 45 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/ |
D | PendingRequestPool.cpp | 108 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/ |
D | LocationUtil.cpp | 90 struct timespec currentTime; in convertGnssLocation() local 92 0 == clock_gettime(CLOCK_REALTIME,¤tTime)) { in convertGnssLocation() 95 int64_t currentTimeNanos = currentTime.tv_sec*1000000000 + currentTime.tv_nsec; in convertGnssLocation()
|
/hardware/nxp/nfc/snxxx/halimpl/power-tracker/src/ |
D | phNxpNciHal_PowerTracker.cc | 224 struct timespec currentTime = {.tv_sec = 0, .tv_nsec = 0}; in phNxpNciHal_syncPowerTrackerData() local 241 if (clock_gettime(CLOCK_MONOTONIC, ¤tTime) == -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/ |
D | AndroidHealthMonitor.cpp | 117 struct timeval currentTime; in main() local 118 gettimeofday(¤tTime, 0); in main() 122 currentTime.tv_sec * 1000000LL + currentTime.tv_usec + in main()
|
/hardware/qcom/sm7250/gps/core/ |
D | LocApiBase.cpp | 952 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, ¤tTime) != 0) { in getCurrentTime()
|
D | LocApiBase.h | 368 static bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
|
/hardware/qcom/sm8150/gps/core/ |
D | LocApiBase.cpp | 952 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, ¤tTime) != 0) { in getCurrentTime()
|
D | LocApiBase.h | 368 static bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/test/ |
D | FakeVehicleHalValueGeneratorsTest.cpp | 275 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/ |
D | CommonUtils.cpp | 203 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/ |
D | CommonUtils.h | 77 void BuildVendorUsbDataSessionEvent(bool is_host, boot_clock::time_point currentTime,
|
/hardware/google/gfxstream/common/opengl/include/EGL/ |
D | Platform.h | 260 OP(currentTime, CurrentTime) \
|
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | BrightnessController.cpp | 1012 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/ |
D | AudioPrimaryHidlHalTest.h | 1904 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/ |
D | DefaultVehicleHalTest.cpp | 1784 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/ |
D | ExynosDisplayDrmInterface.cpp | 1275 uint64_t currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in getVsyncAppliedTime() local 1276 *actualChangeTime = currentTime + in getVsyncAppliedTime()
|