/kernel/linux/linux-5.10/lib/ |
H A D | interval_tree_test.c | 66 cycles_t time1, time2, time; in interval_tree_test_init() local 94 time = time2 - time1; in interval_tree_test_init() 96 time = div_u64(time, perf_loops); in interval_tree_test_init() 97 printk(" -> %llu cycles\n", (unsigned long long)time); in interval_tree_test_init() 116 time = time2 - time1; in interval_tree_test_init() 118 time = div_u64(time, search_loops); in interval_tree_test_init() 121 (unsigned long long)time, results); in interval_tree_test_init()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-meson-vrtc.c | 23 struct timespec64 time; in meson_vrtc_read_time() local 26 ktime_get_real_ts64(&time); in meson_vrtc_read_time() 27 rtc_time64_to_tm(time.tv_sec, tm); in meson_vrtc_read_time() 33 unsigned long time) in meson_vrtc_set_wakeup_time() 35 writel_relaxed(time, vrtc->io_alarm); in meson_vrtc_set_wakeup_time() 44 vrtc->alarm_time = rtc_tm_to_time64(&alarm->time); in meson_vrtc_set_alarm() 97 struct timespec64 time; in meson_vrtc_suspend() local 99 ktime_get_real_ts64(&time); in meson_vrtc_suspend() 100 local_time = time.tv_sec; in meson_vrtc_suspend() 110 dev_err(dev, "alarm time alread in meson_vrtc_suspend() 32 meson_vrtc_set_wakeup_time(struct meson_vrtc_data *vrtc, unsigned long time) meson_vrtc_set_wakeup_time() argument [all...] |
H A D | rtc-ds3232.c | 74 "time unreliable\n"); in ds3232_check_rtc_status() 97 static int ds3232_read_time(struct device *dev, struct rtc_time *time) in ds3232_read_time() argument 126 time->tm_sec = bcd2bin(second); in ds3232_read_time() 127 time->tm_min = bcd2bin(minute); in ds3232_read_time() 131 time->tm_hour = bcd2bin(hour & 0x1F) + 12; in ds3232_read_time() 133 time->tm_hour = bcd2bin(hour & 0x1F); in ds3232_read_time() 135 time->tm_hour = bcd2bin(hour); in ds3232_read_time() 139 time->tm_wday = bcd2bin(week) - 1; in ds3232_read_time() 140 time->tm_mday = bcd2bin(day); in ds3232_read_time() 142 time in ds3232_read_time() 151 ds3232_set_time(struct device *dev, struct rtc_time *time) ds3232_set_time() argument [all...] |
H A D | rtc-cmos.c | 236 dev_err_ratelimited(dev, "unable to read current time\n"); in cmos_read_time() 254 struct rtc_time *time; member 263 struct rtc_time *time = p->time; in cmos_read_alarm_callback() local 265 time->tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in cmos_read_alarm_callback() 266 time->tm_min = CMOS_READ(RTC_MINUTES_ALARM); in cmos_read_alarm_callback() 267 time->tm_hour = CMOS_READ(RTC_HOURS_ALARM); in cmos_read_alarm_callback() 271 time->tm_mday = CMOS_READ(p->cmos->day_alrm) & 0x3f; in cmos_read_alarm_callback() 272 if (!time->tm_mday) in cmos_read_alarm_callback() 273 time in cmos_read_alarm_callback() [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | hwt.c | 44 * u_long time) ; 48 * time - The time in units of 16us to load the timer with. 55 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() argument 59 if (time > HWT_MAX) in hwt_start() 60 time = HWT_MAX ; in hwt_start() 62 smc->hw.t_start = time ; in hwt_start() 65 cnt = (u_short)time ; in hwt_start() 67 * if time < 16 us in hwt_start() 68 * time in hwt_start() 194 u_long time ; hwt_quick_read() local 199 outpd(ADDR(B2_TI_INI),time) ; hwt_quick_read() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | interval_tree_test.c | 66 cycles_t time1, time2, time; in interval_tree_test_init() local 94 time = time2 - time1; in interval_tree_test_init() 96 time = div_u64(time, perf_loops); in interval_tree_test_init() 97 printk(" -> %llu cycles\n", (unsigned long long)time); in interval_tree_test_init() 116 time = time2 - time1; in interval_tree_test_init() 118 time = div_u64(time, search_loops); in interval_tree_test_init() 121 (unsigned long long)time, results); in interval_tree_test_init()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
H A D | pthread_mutex_test_019.cpp | 70 struct timespec time; in ThreadFuncTest1() local 75 if(timeVal.tv_usec + 100000 >= 1000000) { // 100000us, delay time; 1000000us, compare in ThreadFuncTest1() 76 time.tv_sec = timeVal.tv_sec + 1; in ThreadFuncTest1() 77 time.tv_nsec = (timeVal.tv_usec + 100000 - 1000000) * 1000; // 100000, delaytime; 1000, us to ns; 1000000us=1s; in ThreadFuncTest1() 79 time.tv_sec = timeVal.tv_sec + 0; in ThreadFuncTest1() 80 time.tv_nsec = (timeVal.tv_usec + 100000) * 1000; // 1000, 100000us to ns in ThreadFuncTest1() 83 ret = pthread_mutex_timedlock(&g_muxLock001, &time); in ThreadFuncTest1() 111 struct timeval time = { 0 }; in Testcase() local 149 gettimeofday(&time, nullptr); in Testcase() 150 if ((time in Testcase() [all...] |
/third_party/libinput/src/ |
H A D | filter-private.h | 36 void *data, uint64_t time); 40 void *data, uint64_t time); 44 void *data, uint64_t time); 47 uint64_t time); 62 uint64_t time; /* us */ member 101 uint64_t time); 105 uint64_t time); 111 trackers_velocity(struct pointer_trackers *trackers, uint64_t time); 119 uint64_t time);
|
H A D | libinput.c | 169 uint64_t time; member 177 uint64_t time; member 192 uint64_t time; member 200 uint64_t time; member 214 uint64_t time; member 226 uint64_t time; member 249 uint64_t time; member 484 return us2ms(event->time); in libinput_event_keyboard_get_time() 495 return event->time; in libinput_event_keyboard_get_time_usec() 546 return us2ms(event->time); in libinput_event_pointer_get_time() 2225 libinput_device_add_event_listener(struct libinput_device *device, struct libinput_event_listener *listener, void (*notify_func)( uint64_t time, struct libinput_event *event, void *notify_func_data), void *notify_func_data) libinput_device_add_event_listener() argument 2306 post_device_event(struct libinput_device *device, uint64_t time, enum libinput_event_type type, struct libinput_event *event) post_device_event() argument 2410 keyboard_notify_key(struct libinput_device *device, uint64_t time, uint32_t key, enum libinput_key_state state) keyboard_notify_key() argument 2438 pointer_notify_motion(struct libinput_device *device, uint64_t time, const struct normalized_coords *delta, const struct device_float_coords *raw) pointer_notify_motion() argument 2462 pointer_notify_motion_absolute(struct libinput_device *device, uint64_t time, const struct device_coords *point) pointer_notify_motion_absolute() argument 2484 pointer_notify_button(struct libinput_device *device, uint64_t time, int32_t button, enum libinput_button_state state) pointer_notify_button() argument 2514 pointer_notify_axis_finger(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta) pointer_notify_axis_finger() argument 2548 pointer_notify_axis_continuous(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta) pointer_notify_axis_continuous() argument 2582 pointer_notify_axis_legacy_wheel(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta, const struct discrete_coords *discrete) pointer_notify_axis_legacy_wheel() argument 2611 pointer_notify_axis_wheel(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta, const struct wheel_v120 *v120) pointer_notify_axis_wheel() argument 2642 touch_notify_touch_down(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot, const struct device_coords *point) touch_notify_touch_down() argument 2668 touch_notify_touch_motion(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot, const struct device_coords *point) touch_notify_touch_motion() argument 2694 touch_notify_touch_up(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot) touch_notify_touch_up() argument 2718 touch_notify_touch_cancel(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot) touch_notify_touch_cancel() argument 2742 touch_notify_frame(struct libinput_device *device, uint64_t time) touch_notify_frame() argument 2762 tablet_notify_axis(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_tip_state tip_state, unsigned char *changed_axes, const struct tablet_axes *axes) tablet_notify_axis() argument 2792 tablet_notify_proximity(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_proximity_state proximity_state, unsigned char *changed_axes, const struct tablet_axes *axes) tablet_notify_proximity() argument 2821 tablet_notify_tip(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_tip_state tip_state, unsigned char *changed_axes, const struct tablet_axes *axes) tablet_notify_tip() argument 2850 tablet_notify_button(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_tip_state tip_state, const struct tablet_axes *axes, int32_t button, enum libinput_button_state state) tablet_notify_button() argument 2885 tablet_pad_notify_button(struct libinput_device *device, uint64_t time, int32_t button, enum libinput_button_state state, struct libinput_tablet_pad_mode_group *group) tablet_pad_notify_button() argument 2913 tablet_pad_notify_ring(struct libinput_device *device, uint64_t time, unsigned int number, double value, enum libinput_tablet_pad_ring_axis_source source, struct libinput_tablet_pad_mode_group *group) tablet_pad_notify_ring() argument 2943 tablet_pad_notify_strip(struct libinput_device *device, uint64_t time, unsigned int number, double value, enum libinput_tablet_pad_strip_axis_source source, struct libinput_tablet_pad_mode_group *group) tablet_pad_notify_strip() argument 2973 tablet_pad_notify_key(struct libinput_device *device, uint64_t time, int32_t key, enum libinput_key_state state) tablet_pad_notify_key() argument 2995 gesture_notify(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, bool cancelled, const struct normalized_coords *delta, const struct normalized_coords *unaccel, double scale, double angle) gesture_notify() argument 3027 gesture_notify_swipe(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, const struct normalized_coords *delta, const struct normalized_coords *unaccel) gesture_notify_swipe() argument 3039 gesture_notify_swipe_end(struct libinput_device *device, uint64_t time, int finger_count, bool cancelled) gesture_notify_swipe_end() argument 3051 gesture_notify_pinch(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, const struct normalized_coords *delta, const struct normalized_coords *unaccel, double scale, double angle) gesture_notify_pinch() argument 3065 gesture_notify_pinch_end(struct libinput_device *device, uint64_t time, int finger_count, double scale, bool cancelled) gesture_notify_pinch_end() argument 3078 gesture_notify_hold(struct libinput_device *device, uint64_t time, int finger_count) gesture_notify_hold() argument 3089 gesture_notify_hold_end(struct libinput_device *device, uint64_t time, int finger_count, bool cancelled) gesture_notify_hold_end() argument 3101 switch_notify_toggle(struct libinput_device *device, uint64_t time, enum libinput_switch sw, enum libinput_switch_state state) switch_notify_toggle() argument [all...] |
H A D | filter-mouse.c | 69 * @param time Current time in µs 77 uint64_t time) in calculate_acceleration_factor() 88 trackers_feed(&accel->trackers, &unaccel, time); in calculate_acceleration_factor() 89 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor() 96 time); in calculate_acceleration_factor() 105 void *data, uint64_t time) in accelerator_filter_linear() 116 time); in accelerator_filter_linear() 131 * @param time Current time i 74 calculate_acceleration_factor(struct pointer_accelerator *accel, const struct normalized_coords *unaccelerated, void *data, uint64_t time) calculate_acceleration_factor() argument 103 accelerator_filter_linear(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) accelerator_filter_linear() argument 137 accelerator_filter_noop(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) accelerator_filter_noop() argument 148 accelerator_restart(struct motion_filter *filter, void *data, uint64_t time) accelerator_restart() argument 197 pointer_accel_profile_linear(struct motion_filter *filter, void *data, double speed_in, uint64_t time) pointer_accel_profile_linear() argument [all...] |
H A D | filter-low-dpi.c | 77 uint64_t time) in pointer_accel_profile_linear_low_dpi() 110 uint64_t time) in calculate_acceleration_factor() 115 trackers_feed(&accel->trackers, unaccelerated, time); in calculate_acceleration_factor() 116 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor() 122 time); in calculate_acceleration_factor() 131 void *data, uint64_t time) in accelerator_filter_low_dpi() 140 time); in accelerator_filter_low_dpi() 151 void *data, uint64_t time) in accelerator_filter_noop() 163 uint64_t time) in accelerator_restart() 168 trackers_reset(&accel->trackers, time); in accelerator_restart() 74 pointer_accel_profile_linear_low_dpi(struct motion_filter *filter, void *data, double speed_in, uint64_t time) pointer_accel_profile_linear_low_dpi() argument 107 calculate_acceleration_factor(struct pointer_accelerator_low_dpi *accel, const struct device_float_coords *unaccelerated, void *data, uint64_t time) calculate_acceleration_factor() argument 129 accelerator_filter_low_dpi(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) accelerator_filter_low_dpi() argument 149 accelerator_filter_noop(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) accelerator_filter_noop() argument 161 accelerator_restart(struct motion_filter *filter, void *data, uint64_t time) accelerator_restart() argument [all...] |
H A D | filter-touchpad.c | 67 * @param time Current time in µs 75 uint64_t time) in calculate_acceleration_factor() 80 trackers_feed(&accel->trackers, unaccelerated, time); in calculate_acceleration_factor() 81 velocity = trackers_velocity(&accel->trackers, time); in calculate_acceleration_factor() 87 time); in calculate_acceleration_factor() 96 void *data, uint64_t time) in accelerator_filter_touchpad() 105 time); in accelerator_filter_touchpad() 146 void *data, uint64_t time) in touchpad_constant_filter() 171 uint64_t time) in touchpad_accelerator_restart() 72 calculate_acceleration_factor(struct touchpad_accelerator *accel, const struct device_float_coords *unaccelerated, void *data, uint64_t time) calculate_acceleration_factor() argument 94 accelerator_filter_touchpad(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) accelerator_filter_touchpad() argument 144 touchpad_constant_filter(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) touchpad_constant_filter() argument 169 touchpad_accelerator_restart(struct motion_filter *filter, void *data, uint64_t time) touchpad_accelerator_restart() argument 190 touchpad_accel_profile_linear(struct motion_filter *filter, void *data, double speed_in, uint64_t time) touchpad_accel_profile_linear() argument [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/gerrit-stats/ |
H A D | main.go | 24 "time" 53 var after, before time.Time 60 before, err = time.Parse(yyyymmdd, *beforeFlag) 65 before = time.Now() 68 after, err = time.Parse(yyyymmdd, *afterFlag) 73 after = before.Add(-time.Hour * time.Duration(24**daysFlag)) 146 func today() time.Time { 147 return time.Now() 150 func date(t time [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/snippets/ |
H A D | main.go | 23 "time" 50 var after, before time.Time 57 before, err = time.Parse(yyyymmdd, *beforeFlag) 62 before = time.Now() 65 after, err = time.Parse(yyyymmdd, *afterFlag) 70 after = before.Add(-time.Hour * time.Duration(24**daysFlag)) 106 func today() time.Time { 107 return time.Now() 110 func date(t time [all...] |
/third_party/skia/experimental/docs/ |
H A D | animationCommon.js | 10 this.time = 0; 32 animationState.start = now - animationState.time; 34 animationState.time = now - animationState.start; 38 if (animation.time > animationState.time) { 42 if (animation.time + animation.duration < animationState.time) { 156 if (!('start' in action) || action.start < animation.time) { 170 action.start = animation.time; 175 var value = Math.min(1, (animationState.time [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds3232.c | 74 "time unreliable\n"); in ds3232_check_rtc_status() 97 static int ds3232_read_time(struct device *dev, struct rtc_time *time) in ds3232_read_time() argument 126 time->tm_sec = bcd2bin(second); in ds3232_read_time() 127 time->tm_min = bcd2bin(minute); in ds3232_read_time() 131 time->tm_hour = bcd2bin(hour & 0x1F) + 12; in ds3232_read_time() 133 time->tm_hour = bcd2bin(hour & 0x1F); in ds3232_read_time() 135 time->tm_hour = bcd2bin(hour); in ds3232_read_time() 139 time->tm_wday = bcd2bin(week) - 1; in ds3232_read_time() 140 time->tm_mday = bcd2bin(day); in ds3232_read_time() 142 time in ds3232_read_time() 151 ds3232_set_time(struct device *dev, struct rtc_time *time) ds3232_set_time() argument [all...] |
H A D | rtc-mrst.c | 74 * driver chose to use 1972 (1970 is UNIX time start point) as the base, 75 * and does the translation at read/write time. 81 * year will be parsed as 1960 which is not a valid UNIX time and will 84 static int mrst_read_time(struct device *dev, struct rtc_time *time) in mrst_read_time() argument 92 time->tm_sec = vrtc_cmos_read(RTC_SECONDS); in mrst_read_time() 93 time->tm_min = vrtc_cmos_read(RTC_MINUTES); in mrst_read_time() 94 time->tm_hour = vrtc_cmos_read(RTC_HOURS); in mrst_read_time() 95 time->tm_mday = vrtc_cmos_read(RTC_DAY_OF_MONTH); in mrst_read_time() 96 time->tm_mon = vrtc_cmos_read(RTC_MONTH); in mrst_read_time() 97 time in mrst_read_time() 106 mrst_set_time(struct device *dev, struct rtc_time *time) mrst_set_time() argument [all...] |
H A D | rtc-bd70528.c | 28 struct bd70528_rtc_day time; member 36 struct bd70528_rtc_day time; member 99 * going to restart the elapsed-time counting? If counting is restarted in bd70528_set_elapsed_tmr() 100 * the timeout should be decreased by the amount of time that has in bd70528_set_elapsed_tmr() 199 r->time.hour &= ~(BD70528_MASK_RTC_HOUR_PM | BD70528_MASK_RTC_HOUR_24H); in tm2rtc() 201 tmday2rtc(t, &r->time); in tm2rtc() 203 * We do always set time in 24H mode. in tm2rtc() 205 r->time.hour |= BD70528_MASK_RTC_HOUR_24H; in tm2rtc() 214 t->tm_sec = bcd2bin(r->time.sec & BD70528_MASK_RTC_SEC); in rtc2tm() 215 t->tm_min = bcd2bin(r->time in rtc2tm() [all...] |
H A D | rtc-cmos.c | 236 dev_err_ratelimited(dev, "unable to read current time\n"); in cmos_read_time() 254 struct rtc_time *time; member 263 struct rtc_time *time = p->time; in cmos_read_alarm_callback() local 265 time->tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in cmos_read_alarm_callback() 266 time->tm_min = CMOS_READ(RTC_MINUTES_ALARM); in cmos_read_alarm_callback() 267 time->tm_hour = CMOS_READ(RTC_HOURS_ALARM); in cmos_read_alarm_callback() 271 time->tm_mday = CMOS_READ(p->cmos->day_alrm) & 0x3f; in cmos_read_alarm_callback() 272 if (!time->tm_mday) in cmos_read_alarm_callback() 273 time in cmos_read_alarm_callback() [all...] |
/base/sensors/miscdevice/utils/haptic_decoder/he_json/src/ |
H A D | he_vibrator_decoder.cpp | 105 int32_t time = cJSON_IsNumber(timeJSON) ? timeJSON->valueint : -1; in ParsePatternList() local 106 if (time <= previousPattternTime) { in ParsePatternList() 107 MISC_HILOGE("The value of absolute time %{public}d is invalid!", time); in ParsePatternList() 110 previousPattternTime = time; in ParsePatternList() 114 pattern.startTime = time; in ParsePatternList() 142 if (event.time < previousEventTime) { in ParsePattern() 143 MISC_HILOGE("The value of absolute time %{public}d is invalid!", event.time); in ParsePattern() 146 previousEventTime = event.time; in ParsePattern() [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | property_animation.cpp | 58 LOGE("normalized time check failed. normalized: %{public}f", normalized); in OnNormalizedTimestampChanged() 101 void PropertyAnimation::TriggerFrame(const RefPtr<Animatable>& start, const RefPtr<Animatable>& end, float time) in TriggerFrame() argument 121 Next<Dimension>(start, end, time); in TriggerFrame() 129 Next<Color>(start, end, time); in TriggerFrame() 144 Next<float>(start, end, time); in TriggerFrame() 148 Next<BackgroundImageSize>(start, end, time); in TriggerFrame() 152 Next<BackgroundImagePosition>(start, end, time); in TriggerFrame() 156 Next<Shadow>(start, end, time); in TriggerFrame() 163 Next<BorderStyle>(start, end, time); in TriggerFrame() 172 void PropertyAnimation::Next(const RefPtr<Animatable>& start, const RefPtr<Animatable>& end, float time) in Next() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | netdev-times.py | 1 # Display a process of packets and processed time. 27 net_rx_dic = {}; # key is cpu and value include time of NET_RX softirq-entry 59 # Calculate a time interval(msec) from src(nsec) to dst(nsec) 116 (diff_msec(base_t, irq_event['time']), 179 # order all events in time 308 (name, context, cpu, time, pid, comm, irq, irq_name) = event_info 311 irq_record = {'irq':irq, 'name':irq_name, 'cpu':cpu, 'irq_ent_t':time} 315 (name, context, cpu, time, pid, comm, irq, ret) = event_info 321 irq_record.update({'irq_ext_t':time}) 327 (name, context, cpu, time, pi [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | netdev-times.py | 1 # Display a process of packets and processed time. 27 net_rx_dic = {}; # key is cpu and value include time of NET_RX softirq-entry 59 # Calculate a time interval(msec) from src(nsec) to dst(nsec) 116 (diff_msec(base_t, irq_event['time']), 179 # order all events in time 308 (name, context, cpu, time, pid, comm, irq, irq_name) = event_info 311 irq_record = {'irq':irq, 'name':irq_name, 'cpu':cpu, 'irq_ent_t':time} 315 (name, context, cpu, time, pid, comm, irq, ret) = event_info 321 irq_record.update({'irq_ext_t':time}) 327 (name, context, cpu, time, pi [all...] |
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_local_live_view_content_test.cpp | 81 NotificationTime time; in HWTEST_F() local 82 time.SetInitialTime(1); in HWTEST_F() 83 liveViewContent->SetTime(time); in HWTEST_F() 99 nlohmann::json jsonObject = nlohmann::json{"typeCode", "capsule", "button", "progress", "time"}; in HWTEST_F() 116 {"progress", ""}, {"text", ""}, {"time", ""}, {"title", ""}, {"typeCode", 1}}; in HWTEST_F() 194 NotificationTime time; in HWTEST_F() local 195 time.SetInitialTime(1); in HWTEST_F() 196 liveViewContent->SetTime(time); in HWTEST_F() 227 NotificationTime time; in HWTEST_F() local 228 time in HWTEST_F() 258 NotificationTime time; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | timeout_recognizer.cpp | 161 start_ = event.time; in HandleTouchDownEvent() 167 if (!CheckTimeout(event.time)) { in HandleTouchDownEvent() 174 if (!CheckTimeout(event.time)) { in HandleTouchUpEvent() 183 if (!CheckTimeout(event.time)) { in HandleTouchMoveEvent() 192 if (!CheckTimeout(event.time)) { in HandleTouchCancelEvent() 202 start_ = event.time; in HandleTouchDownEvent() 208 if (!CheckTimeout(event.time)) { in HandleTouchDownEvent() 215 if (!CheckTimeout(event.time)) { in HandleTouchUpEvent() 224 if (!CheckTimeout(event.time)) { in HandleTouchMoveEvent() 233 if (!CheckTimeout(event.time)) { in HandleTouchCancelEvent() 240 CheckTimeout(TimeStamp time) CheckTimeout() argument [all...] |