/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/ |
D | NxpTimer.cpp | 33 struct timespec tm; in startTimer() local 34 clock_gettime(CLOCK_MONOTONIC, &tm); in startTimer() 35 start_ts = tm.tv_nsec * 1e-3 + tm.tv_sec * 1e+6; in startTimer() 42 struct timespec tm; in stopTimer() local 43 clock_gettime(CLOCK_MONOTONIC, &tm); in stopTimer() 44 end_ts = tm.tv_nsec * 1e-3 + tm.tv_sec * 1e+6; in stopTimer()
|
/hardware/knowles/athletico/sound_trigger_hal/ |
D | tunnel.c | 84 struct tunlMsg tm; in ia_enable_tunneling_source() local 93 tm.tunlSrc = src_id; in ia_enable_tunneling_source() 94 tm.tunlMode = tnl_mode; in ia_enable_tunneling_source() 95 tm.tunlEncode = tnl_encode; in ia_enable_tunneling_source() 96 err = ioctl(thdl->tunnel_dev, TUNNEL_SETUP, &tm); in ia_enable_tunneling_source() 111 struct tunlMsg tm; in ia_disable_tunneling_source() local 120 tm.tunlSrc = src_id; in ia_disable_tunneling_source() 121 tm.tunlMode = tunl_mode; in ia_disable_tunneling_source() 122 tm.tunlEncode = tunl_encode; in ia_disable_tunneling_source() 123 err = ioctl(thdl->tunnel_dev, TUNNEL_TERMINATE, &tm); in ia_disable_tunneling_source()
|
/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | tunnel_test_sensor.c | 90 struct tunlMsg tm; in main() local 112 tm.tunlSrc = VSYNC_SENSOR_SOURCE_ID; in main() 113 tm.tunlMode = VSYNC_SENSOR_MODE; in main() 114 tm.tunlEncode = VSYNC_SENSOR_ENCODE; in main() 115 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_SETUP, &tm); in main() 121 tm.tunlSrc = SENSOR_TUNNEL_SOURCE_ID; in main() 122 tm.tunlMode = SENSOR_TUNNEL_MODE; in main() 123 tm.tunlEncode = SENSOR_TUNNEL_ENCODE; in main() 124 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_SETUP, &tm); in main() 304 tm.tunlSrc = SENSOR_TUNNEL_SOURCE_ID; in main() [all …]
|
D | crash_event_logger.c | 245 struct tm *tm; in dump_crash_log() local 265 tm = localtime(&t); in dump_crash_log() 266 strftime(curr_time, 64, "%F_%H_%M_%S", tm); in dump_crash_log() 311 struct tm *tm; in dump_reg_access_hist_log() local 331 tm = localtime(&t); in dump_reg_access_hist_log() 332 strftime(curr_time, 64, "%F_%H_%M_%S", tm); in dump_reg_access_hist_log() 546 struct tm *tm = NULL; in ssr_dump_log() local 554 tm = localtime(&t); in ssr_dump_log() 557 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, in ssr_dump_log() 558 tm->tm_hour, tm->tm_min, tm->tm_sec); in ssr_dump_log() [all …]
|
/hardware/interfaces/gnss/common/utils/default/ |
D | NmeaFixInfo.cpp | 101 struct tm tm; in nmeaPartsToTimestamp() local 103 tm.tm_mday = std::stoi(dateStr.substr(0, 2).c_str()); in nmeaPartsToTimestamp() 104 tm.tm_mon = std::stoi(dateStr.substr(2, 2).c_str()) - 1; in nmeaPartsToTimestamp() 105 tm.tm_year = std::stoi(dateStr.substr(4, 2).c_str()) + unixYearOffset; in nmeaPartsToTimestamp() 106 tm.tm_hour = std::stoi(timeStr.substr(0, 2).c_str()); in nmeaPartsToTimestamp() 107 tm.tm_min = std::stoi(timeStr.substr(2, 2).c_str()); in nmeaPartsToTimestamp() 108 tm.tm_sec = std::stoi(timeStr.substr(4, 2).c_str()); in nmeaPartsToTimestamp() 109 return static_cast<int64_t>(mktime(&tm) - timezone); in nmeaPartsToTimestamp()
|
/hardware/interfaces/identity/aidl/vts/ |
D | Util.cpp | 294 struct tm tm; in parseAsn1Time() local 296 memset(&tm, '\0', sizeof(tm)); in parseAsn1Time() 300 tm.tm_year = parseDigits(&s, 2); in parseAsn1Time() 301 if (tm.tm_year < 70) { in parseAsn1Time() 302 tm.tm_year += 100; in parseAsn1Time() 305 tm.tm_year = parseDigits(&s, 4) - 1900; in parseAsn1Time() 306 tm.tm_year -= 1900; in parseAsn1Time() 311 tm.tm_mon = parseDigits(&s, 2) - 1; in parseAsn1Time() 312 tm.tm_mday = parseDigits(&s, 2); in parseAsn1Time() 313 tm.tm_hour = parseDigits(&s, 2); in parseAsn1Time() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | os_time.h | 67 static inline struct tm * 68 os_localtime(const time_t *timer, struct tm *buf) in os_localtime()
|
/hardware/st/nfc/1.0/hal/ |
D | halcore.c | 408 struct timespec tm; in HalGetTimestamp() local 409 clock_gettime(CLOCK_REALTIME, &tm); in HalGetTimestamp() 410 return tm; in HalGetTimestamp() 894 struct timespec tm; in HalSemWait() local 897 clock_gettime(CLOCK_REALTIME, &tm); in HalSemWait() 900 tm.tv_sec += (timeout / 1000); in HalSemWait() 901 tm.tv_nsec += ((timeout % 1000) * 1000000); in HalSemWait() 904 if (tm.tv_nsec >= oneSecInNs) { in HalSemWait() 905 tm.tv_sec++; in HalSemWait() 906 tm.tv_nsec -= oneSecInNs; in HalSemWait() [all …]
|
/hardware/st/nfc/st21nfc/hal/ |
D | halcore.cc | 441 struct timespec tm; in HalGetTimestamp() local 442 clock_gettime(CLOCK_REALTIME, &tm); in HalGetTimestamp() 443 return tm; in HalGetTimestamp() 912 struct timespec tm; in HalSemWait() local 915 clock_gettime(CLOCK_REALTIME, &tm); in HalSemWait() 918 tm.tv_sec += (timeout / 1000); in HalSemWait() 919 tm.tv_nsec += ((timeout % 1000) * 1000000); in HalSemWait() 922 if (tm.tv_nsec >= oneSecInNs) { in HalSemWait() 923 tm.tv_sec++; in HalSemWait() 924 tm.tv_nsec -= oneSecInNs; in HalSemWait() [all …]
|
/hardware/libhardware/modules/camera/3_4/arc/ |
D | exif_utils.h | 62 bool SetDateTime(const struct tm& t); 82 bool SetGpsTimestamp(const struct tm& t);
|
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/ |
D | ExifUtils.h | 81 virtual bool SetDateTime(const struct tm& t) = 0; 143 virtual bool SetGpsTimestamp(const struct tm& t) = 0;
|
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | ExynosDevice.cpp | 423 struct tm* localTime = (struct tm*)localtime((time_t*)&updateTimeInfo.lastUeventTime.tv_sec); in dump() 428 localTime = (struct tm*)localtime((time_t*)&updateTimeInfo.lastEnableVsyncTime.tv_sec); in dump() 433 localTime = (struct tm*)localtime((time_t*)&updateTimeInfo.lastDisableVsyncTime.tv_sec); in dump() 438 localTime = (struct tm*)localtime((time_t*)&updateTimeInfo.lastValidateTime.tv_sec); in dump() 443 localTime = (struct tm*)localtime((time_t*)&updateTimeInfo.lastPresentTime.tv_sec); in dump() 1206 struct tm *tm = localtime(&curTime); in captureScreenWithReadback() local 1209 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, in captureScreenWithReadback() 1210 tm->tm_hour, tm->tm_min, tm->tm_sec); in captureScreenWithReadback()
|
/hardware/interfaces/camera/common/default/include/ |
D | Exif.h | 85 virtual bool setDateTime(const struct tm& t) = 0; 147 virtual bool setGpsTimestamp(const struct tm& t) = 0;
|
/hardware/google/gfxstream/host/apigen-codec-common/X11/ |
D | Xos_r.h | 864 struct tm buf; 865 struct tm *result; 911 typedef struct tm _Xgtimeparams; 912 typedef struct tm _Xltimeparams; 933 typedef struct tm _Xgtimeparams; 934 typedef struct tm _Xltimeparams; 954 typedef struct tm _Xgtimeparams; 955 typedef struct tm _Xltimeparams;
|
/hardware/interfaces/identity/support/src/ |
D | IdentityCredentialSupport.cpp | 326 struct tm tm; in parseAsn1Time() local 328 memset(&tm, '\0', sizeof(tm)); in parseAsn1Time() 332 tm.tm_year = parseDigits(&s, 2); in parseAsn1Time() 333 if (tm.tm_year < 70) { in parseAsn1Time() 334 tm.tm_year += 100; in parseAsn1Time() 337 tm.tm_year = parseDigits(&s, 4) - 1900; in parseAsn1Time() 338 tm.tm_year -= 1900; in parseAsn1Time() 343 tm.tm_mon = parseDigits(&s, 2) - 1; in parseAsn1Time() 344 tm.tm_mday = parseDigits(&s, 2); in parseAsn1Time() 345 tm.tm_hour = parseDigits(&s, 2); in parseAsn1Time() [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/utils/ |
D | phNxpEventLogger.cc | 44 struct tm* timeinfo; in GetCurrentTimestamp()
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
D | hw_ar3k.c | 387 struct timespec tm = { 0, 500000}; in set_cntrlr_baud() local 410 nanosleep(&tm, NULL); in set_cntrlr_baud() 1052 struct timespec tm = { 0, 500000}; in ath3k_init() local 1130 nanosleep(&tm, NULL); in ath3k_init() 1230 struct timespec tm = { 0, 50000}; in ath3k_post() local 1256 nanosleep(&tm, NULL); in ath3k_post()
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
D | hw_ar3k.c | 391 struct timespec tm = { 0, 500000}; in set_cntrlr_baud() local 414 nanosleep(&tm, NULL); in set_cntrlr_baud() 1058 struct timespec tm = { 0, 500000}; in ath3k_init() local 1136 nanosleep(&tm, NULL); in ath3k_init() 1236 struct timespec tm = { 0, 50000}; in ath3k_post() local 1262 nanosleep(&tm, NULL); in ath3k_post()
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hw_ar3k.c | 387 struct timespec tm = { 0, 500000}; in set_cntrlr_baud() local 410 nanosleep(&tm, NULL); in set_cntrlr_baud() 1052 struct timespec tm = { 0, 500000}; in ath3k_init() local 1130 nanosleep(&tm, NULL); in ath3k_init() 1230 struct timespec tm = { 0, 50000}; in ath3k_post() local 1256 nanosleep(&tm, NULL); in ath3k_post()
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | hw_ar3k.c | 393 struct timespec tm = { 0, 500000}; in set_cntrlr_baud() local 416 nanosleep(&tm, NULL); in set_cntrlr_baud() 1060 struct timespec tm = { 0, 500000}; in ath3k_init() local 1138 nanosleep(&tm, NULL); in ath3k_init() 1238 struct timespec tm = { 0, 50000}; in ath3k_post() local 1264 nanosleep(&tm, NULL); in ath3k_post()
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
D | hw_ar3k.c | 389 struct timespec tm = { 0, 500000}; in set_cntrlr_baud() local 412 nanosleep(&tm, NULL); in set_cntrlr_baud() 1056 struct timespec tm = { 0, 500000}; in ath3k_init() local 1134 nanosleep(&tm, NULL); in ath3k_init() 1234 struct timespec tm = { 0, 50000}; in ath3k_post() local 1260 nanosleep(&tm, NULL); in ath3k_post()
|
/hardware/qcom/gps/msm8084/utils/ |
D | loc_log.cpp | 173 struct tm now_tm; /* broken-down time */ in loc_get_time()
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_log.cpp | 173 struct tm now_tm; /* broken-down time */ in loc_get_time()
|
/hardware/qcom/gps/msm8994/utils/ |
D | loc_log.cpp | 174 struct tm now_tm; /* broken-down time */ in loc_get_time()
|
/hardware/qcom/gps/utils/ |
D | loc_log.cpp | 174 struct tm now_tm; /* broken-down time */ in loc_get_time()
|