/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | sync.h | 66 struct timeval now; in wait() local 68 gettimeofday(&now,NULL); in wait() 70 abstime.tv_sec += now.tv_sec; in wait() 71 …if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 … in wait() 74 abstime.tv_nsec += now.tv_usec * 1000; in wait() 79 abstime.tv_nsec += now.tv_usec * 1000; in wait()
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | tm1637.js | 36 var now = new Date(); variable 37 console.log("System time: " + now.getHours() + ":" + ("0" + now.getMinutes()).slice(-2)); 42 now = new Date(); 43 var time = now.getHours().toString() + ("0" + now.getMinutes().toString()).slice(-2);
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | TM1637Sample.java | 53 LocalDateTime now; in main() local 55 now = LocalDateTime.now(); in main() 56 int hour = now.getHour(); in main() 57 int min = now.getMinute(); in main() 58 int sec = now.getSecond(); in main()
|
/hardware/ril/librilutils/ |
D | librilutils.c | 21 struct timespec now; in ril_nano_time() local 22 clock_gettime(CLOCK_MONOTONIC, &now); in ril_nano_time() 23 return now.tv_sec * 1000000000LL + now.tv_nsec; in ril_nano_time()
|
/hardware/bsp/intel/peripheral/libupm/src/wheelencoder/ |
D | wheelencoder.cxx | 54 struct timeval elapsed, now; in getMillis() local 58 gettimeofday(&now, NULL); in getMillis() 61 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis() 64 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis() 68 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
|
/hardware/bsp/intel/peripheral/libupm/src/ta12200/ |
D | ta12200.cxx | 58 struct timeval elapsed, now; in getMillis() local 62 gettimeofday(&now, NULL); in getMillis() 65 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis() 68 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis() 72 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
|
/hardware/ril/libril/ |
D | ril_event.cpp | 162 struct timeval now; in processTimeouts() local 166 getNow(&now); in processTimeouts() 169 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in processTimeouts() 170 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts() 218 struct timeval now; in calcNextTimeout() local 220 getNow(&now); in calcNextTimeout() 228 dlog("~~~~ now = %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in calcNextTimeout() 231 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout() 232 timersub(&tev->timeout, &now, tv); in calcNextTimeout() 297 struct timeval now; in ril_timer_add() local [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/groveehr/ |
D | groveehr.cxx | 61 struct timeval elapsed, now; in getMillis() local 65 gettimeofday(&now, NULL); in getMillis() 68 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis() 71 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis() 75 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
|
/hardware/bsp/intel/peripheral/libupm/src/grovewfs/ |
D | grovewfs.cxx | 65 struct timeval elapsed, now; in getMillis() local 69 gettimeofday(&now, NULL); in getMillis() 72 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis() 75 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis() 79 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/ |
D | CHANGES | 4 simulator now. 5 * New feature: Google Test now implements a protocol to allow 9 * New feature: Test::RecordProperty() can now be used outside of the 12 * New feature (potentially breaking): --gtest_list_tests now prints 14 * Improvement: char pointers and char arrays are now escaped properly 16 * Improvement: failure summary in XML reports now includes file and 18 * Improvement: the <testsuites> XML element now has a timestamp attribute. 19 * Improvement: When --gtest_filter is specified, XML report now doesn't 23 * Potentially breaking change: RUN_ALL_TESTS() is now implemented as a 35 the XML report now. [all …]
|
/hardware/bsp/intel/peripheral/libmraa/docs/ |
D | changelog.md | 5 versions. The API is now fairly stable but when new calls/features are added 48 * Uart now uses binary arrays and has optional 'Str' functions in C++/SWIG 54 * Uart module now contains read/write interactions and configuration 68 * Node.js ISR now supported 100 * edison i2c bus now defaults to a sensible value 115 * ADC is now 10bits by default on all platforms but can be changed 128 * SPI Mode function now functional, API Change in SPI 131 * Galileo Gen 2: I2C setup now specific to Gen 2. 138 * Intel Galileo Gen 2, I2C gpio pins now go hiz input when I2C initialised. 143 * python & nodejs modules can now take binary strings for Spi & I2c [all …]
|
/hardware/libhardware/tests/input/evdev/ |
D | InputDevice_test.cpp | 103 auto now = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local 107 InputEvent event = { now + s2ns(60), EV_KEY, KEY_HOME, 1 }; in TEST_F() 109 device->processInput(event, now); in TEST_F() 111 EXPECT_NEAR(now, event.when, ms2ns(TIMING_TOLERANCE_MS)); in TEST_F() 119 auto now = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local 122 InputEvent event = { now, EV_KEY, KEY_HOME, 1 }; in TEST_F() 126 device->processInput(event, now - s2ns(11)); in TEST_F() 128 EXPECT_NEAR(now, event.when, ms2ns(TIMING_TOLERANCE_MS)); in TEST_F()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/ |
D | SoftVsyncObserver.cpp | 122 const nsecs_t now = systemTime(CLOCK_MONOTONIC); in threadLoop() local 124 nsecs_t sleep = next_vsync - now; in threadLoop() 127 sleep = (period - ((now - next_vsync) % period)); in threadLoop() 128 next_vsync = now + sleep; in threadLoop()
|
/hardware/intel/img/hwcomposer/merrifield/common/observers/ |
D | SoftVsyncObserver.cpp | 126 const nsecs_t now = systemTime(CLOCK_MONOTONIC); in threadLoop() local 128 nsecs_t sleep = next_vsync - now; in threadLoop() 131 sleep = (period - ((now - next_vsync) % period)); in threadLoop() 132 next_vsync = now + sleep; in threadLoop()
|
/hardware/bsp/intel/peripheral/libupm/src/grovemd/ |
D | grovemd.cxx | 189 struct timeval elapsed, now; in getMillis() local 193 gettimeofday(&now, NULL); in getMillis() 196 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis() 199 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis() 203 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
|
/hardware/bsp/intel/peripheral/libupm/src/uln200xa/ |
D | uln200xa.cxx | 91 struct timeval elapsed, now; in getMillis() local 95 gettimeofday(&now, NULL); in getMillis() 98 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 ) in getMillis() 101 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1; in getMillis() 105 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec; in getMillis()
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocTimer.cpp | 361 struct timespec now; in expire() local 363 clock_gettime(CLOCK_BOOTTIME, &now); in expire() 364 LocTimerDelegate timerOfNow(now); in expire() 647 struct timespec now; in getNow() local 648 clock_gettime(CLOCK_BOOTTIME, &now); in getNow() 649 return now; in getNow() 656 struct timespec now; in getTimerWrapper() local 657 clock_gettime(CLOCK_BOOTTIME, &now); in getTimerWrapper() 658 now.tv_sec += timeout; in getTimerWrapper() 659 return now; in getTimerWrapper() [all …]
|
D | loc_log.cpp | 173 struct timeval now; /* sec and usec */ in loc_get_time() local 177 gettimeofday(&now, NULL); in loc_get_time() 178 localtime_r(&now.tv_sec, &now_tm); in loc_get_time() 181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocTimer.cpp | 361 struct timespec now; in expire() local 363 clock_gettime(CLOCK_BOOTTIME, &now); in expire() 364 LocTimerDelegate timerOfNow(now); in expire() 647 struct timespec now; in getNow() local 648 clock_gettime(CLOCK_BOOTTIME, &now); in getNow() 649 return now; in getNow() 656 struct timespec now; in getTimerWrapper() local 657 clock_gettime(CLOCK_BOOTTIME, &now); in getTimerWrapper() 658 now.tv_sec += timeout; in getTimerWrapper() 659 return now; in getTimerWrapper() [all …]
|
D | loc_log.cpp | 173 struct timeval now; /* sec and usec */ in loc_get_time() local 177 gettimeofday(&now, NULL); in loc_get_time() 178 localtime_r(&now.tv_sec, &now_tm); in loc_get_time() 181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
|
/hardware/qcom/gps/msm8084/utils/ |
D | loc_log.cpp | 171 struct timeval now; /* sec and usec */ in loc_get_time() local 175 gettimeofday(&now, NULL); in loc_get_time() 176 localtime_r(&now.tv_sec, &now_tm); in loc_get_time() 179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
|
/hardware/qcom/gps/utils/ |
D | loc_log.cpp | 172 struct timeval now; /* sec and usec */ in loc_get_time() local 176 gettimeofday(&now, NULL); in loc_get_time() 177 localtime_r(&now.tv_sec, &now_tm); in loc_get_time() 180 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
|
/hardware/qcom/gps/msm8994/utils/ |
D | loc_log.cpp | 172 struct timeval now; /* sec and usec */ in loc_get_time() local 176 gettimeofday(&now, NULL); in loc_get_time() 177 localtime_r(&now.tv_sec, &now_tm); in loc_get_time() 180 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_log.cpp | 171 struct timeval now; /* sec and usec */ in loc_get_time() local 175 gettimeofday(&now, NULL); in loc_get_time() 176 localtime_r(&now.tv_sec, &now_tm); in loc_get_time() 179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
|
/hardware/libhardware/modules/local_time/ |
D | local_time_hw.c | 38 uint64_t now; in ltdev_get_local_time() local 48 now = (((uint64_t)ts.tv_sec) * 1000000000ull) + in ltdev_get_local_time() 51 return (int64_t)now; in ltdev_get_local_time()
|